1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-BSD
8    default_applicable_licenses: ["system_bt_license"],
9}
10
11filegroup {
12    name: "BluetoothCryptoToolboxTestSources",
13    srcs: [
14        "crypto_toolbox_test.cc",
15    ],
16}
17
18cc_library {
19    name: "libbluetooth_crypto_toolbox",
20    defaults: ["fluoride_defaults"],
21    host_supported: true,
22    apex_available: ["com.android.btservices"],
23    min_sdk_version: "29",
24    include_dirs: [
25        "packages/modules/Bluetooth/system/gd",
26    ],
27    shared_libs: [
28        "libbase",
29        "libcutils",
30        "liblog",
31    ],
32    static_libs: [
33        "libbluetooth_log",
34    ],
35    srcs: [
36        "aes.cc",
37        "aes_cmac.cc",
38        "crypto_toolbox.cc",
39    ],
40}
41