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_defaults {
11    name: "libbt-stack_fuzz_defaults",
12    defaults: [
13        "fluoride_defaults",
14        "latest_android_hardware_audio_common_ndk_static",
15        "latest_android_hardware_bluetooth_audio_ndk_static",
16        "latest_android_media_audio_common_types_ndk_static",
17    ],
18    cflags: [
19        // Fuzzers are hopeless..
20        "-Wno-missing-prototypes",
21    ],
22    include_dirs: [
23        "packages/modules/Bluetooth/system/",
24        "packages/modules/Bluetooth/system/gd/",
25        "packages/modules/Bluetooth/system/include/",
26        "packages/modules/Bluetooth/system/stack/include",
27        "packages/modules/Bluetooth/system/stack/test",
28    ],
29    static_libs: [
30        "[email protected]",
31        "[email protected]",
32        "[email protected]",
33        "[email protected]",
34        "[email protected]",
35        "android.hardware.common-V2-ndk",
36        "android.hardware.common.fmq-V1-ndk",
37        "android.system.suspend-V1-ndk",
38        "android.system.suspend.control-V1-ndk",
39        "bluetooth_flags_c_lib",
40        "libFraunhoferAAC",
41        "libbluetooth-types",
42        "libbluetooth_core_rs",
43        "libbluetooth_crypto_toolbox",
44        "libbluetooth_gd",
45        "libbluetooth_log",
46        "libbt-audio-hal-interface",
47        "libbt-bta",
48        "libbt-bta-core",
49        "libbt-btu-main-thread",
50        "libbt-common",
51        "libbt-hci",
52        "libbt-jni-thread",
53        "libbt-sbc-decoder",
54        "libbt-sbc-encoder",
55        "libbt-stack",
56        "libbt-stack-core",
57        "libbtcore",
58        "libbtdevice",
59        "libbte",
60        "libbtif",
61        "libbtif-core",
62        "libcom.android.sysprop.bluetooth.wrapped",
63        "libexpresslog",
64        "libflags_rust_cpp_bridge",
65        "libg722codec",
66        "liblc3",
67        "libopus",
68        "libosi",
69        "libstatslog_bt",
70        "libstatslog_express",
71        "libtextclassifier_hash_static",
72        "libudrv-uipc",
73    ],
74    shared_libs: [
75        "libPlatformProperties",
76        "libaaudio",
77        "libaconfig_storage_read_api_cc",
78        "libbase",
79        "libbinder",
80        "libbinder_ndk",
81        "libcrypto",
82        "libcutils",
83        "libevent",
84        "libfmq",
85        "libhidlbase",
86        "liblog",
87        "libprotobuf-cpp-lite",
88        "libstatssocket",
89        "libutils",
90        "server_configurable_flags",
91    ],
92}
93