aboutsummaryrefslogtreecommitdiff
path: root/gd/security/Android.bp
blob: 17ab2b9014834a0f1f6f9e553379175930cca9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "system_bt_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_bt_license"],
}

filegroup {
    name: "BluetoothSecuritySources",
    srcs: [
        "ecc/multprecision.cc",
        "ecc/p_256_ecc_pp.cc",
        "ecdh_keys.cc",
        "facade_configuration_api.cc",
        "l2cap_security_module_interface.cc",
        "pairing_handler_le.cc",
        "pairing_handler_le_legacy.cc",
        "pairing_handler_le_secure_connections.cc",
        "security_manager.cc",
        "internal/security_manager_impl.cc",
        "security_module.cc",
        ":BluetoothSecurityChannelSources",
        ":BluetoothSecurityPairingSources",
        ":BluetoothSecurityRecordSources",
    ],
}

filegroup {
    name: "BluetoothSecurityUnitTestSources",
    srcs: [
        "ecc/multipoint_test.cc",
        "test/ecdh_keys_test.cc",
    ],
}

filegroup {
    name: "BluetoothSecurityTestSources",
    srcs: [
        "pairing_handler_le_unittest.cc",
        "test/fake_l2cap_test.cc",
        "test/pairing_handler_le_pair_test.cc",
        ":BluetoothSecurityChannelTestSources",
        ":BluetoothSecurityPairingTestSources",
        ":BluetoothSecurityRecordTestSources",
    ],
}

filegroup {
     name: "BluetoothFacade_security_layer",
     srcs: [
         "facade.cc",
     ],
}