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_test { 11 name: "bt_headless", 12 test_suites: ["device-tests"], 13 defaults: ["fluoride_defaults"], 14 srcs: [ 15 "connect/connect.cc", 16 "get_options.cc", 17 "headless.cc", 18 "main.cc", 19 "pairing/pairing.cc", 20 "dumpsys/dumpsys.cc", 21 "sdp/sdp.cc", 22 "sdp/sdp_db.cc", 23 "nop/nop.cc", 24 "read/read.cc", 25 "read/name.cc", 26 ], 27 include_dirs: [ 28 "system/bt", 29 "system/bt/gd", 30 "system/bt/stack/include", 31 ], 32 whole_static_libs: [ 33 "libbtcore", 34 ], 35 static_libs: [ 36 "libFraunhoferAAC", 37 "libbluetooth_gd", 38 "libbt-bta", 39 "libbt-common", 40 "libbt-hci", 41 "libbt-protos-lite", 42 "libbt-sbc-decoder", 43 "libbt-sbc-encoder", 44 "libbt-stack", 45 "libbt-utils", 46 "libbtdevice", 47 "libbte", 48 "libbtif", 49 "libflatbuffers-cpp", 50 "libg722codec", 51 "libosi", 52 "libprotobuf-cpp-lite", 53 "libudrv-uipc", 54 "libz", 55 "libbluetooth_rust_interop", 56 ], 57 shared_libs: [ 58 "android.hardware.bluetooth.a2dp@1.0", 59 "android.hardware.bluetooth.audio@2.0", 60 "android.hardware.bluetooth.audio@2.1", 61 "android.hardware.bluetooth@1.0", 62 "android.hardware.bluetooth@1.1", 63 "android.system.suspend.control-V1-ndk", 64 "android.system.suspend@1.0", 65 "libaaudio", 66 "libbase", 67 "libbinder_ndk", 68 "libcrypto", 69 "libcutils", // property_get_bool 70 "libfmq", 71 "libhidlbase", 72 "libjsoncpp", 73 "liblog", // __android_log_print 74 "libprocessgroup", 75 "libtinyxml2", 76 "libutils", 77 ], 78 ldflags: ["-rdynamic"], 79 sanitize: { 80 cfi: false, 81 }, 82} 83