summaryrefslogtreecommitdiff
path: root/system/gd/crypto_toolbox/Android.bp
blob: 6bce24f00cab5794dfbcba6a55b7841c2bd9043f (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
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
    //   SPDX-license-identifier-BSD
    default_applicable_licenses: ["system_bt_license"],
}

cc_library {
    name: "libbluetooth_crypto_toolbox",
    defaults: ["fluoride_defaults"],
    host_supported: true,
    apex_available: ["com.android.bt"],
    min_sdk_version: "29",
    include_dirs: [
        "packages/modules/Bluetooth/system/gd",
    ],
    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
    ],
    static_libs: [
        "libbluetooth_log",
    ],
    srcs: [
        "aes.cc",
        "aes_cmac.cc",
        "crypto_toolbox.cc",
    ],
}