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    default_applicable_licenses: ["system_bt_license"],
8}
9
10cc_library_static {
11    name: "lib-bt-packets-base",
12    defaults: ["bluetooth_cflags"],
13    export_include_dirs: ["./"],
14    host_supported: true,
15    include_dirs: ["packages/modules/Bluetooth/system/include"],
16    srcs: [
17        "iterator.cc",
18        "packet.cc",
19        "packet_builder.cc",
20    ],
21    apex_available: [
22        "com.android.btservices",
23    ],
24    min_sdk_version: "30",
25    shared_libs: [
26        "libbase",
27    ],
28    static_libs: [
29        "libbluetooth_log",
30    ],
31}
32