blob: fbfb2f46c49e5ac6adbdc3d7b4bdb7311b14b58a [file] [log] [blame]
Chris Mantona4020612020-01-14 16:34:08 -08001cc_test {
2 name: "bt_headless",
3 test_suites: ["device-tests"],
4 defaults: ["fluoride_defaults"],
5 srcs: [
6 "get_options.cc",
7 "headless.cc",
Chris Manton25cc8282020-02-18 07:56:15 -08008 "main.cc",
9 "pairing/pairing.cc",
10 "sdp/sdp.cc",
11 "sdp/sdp_db.cc",
12 "nop/nop.cc",
13 "read/read.cc",
14 "read/name.cc",
Chris Mantona4020612020-01-14 16:34:08 -080015 ],
16 include_dirs: [
17 "system/bt",
18 "system/bt/stack/include",
19 ],
20 whole_static_libs: [
21 "libbtcore",
22 ],
23 static_libs: [
24 "libFraunhoferAAC",
25 "libbluetooth_gd",
26 "libbt-bta",
27 "libbt-common",
28 "libbt-hci",
29 "libbt-protos-lite",
30 "libbt-sbc-decoder",
31 "libbt-sbc-encoder",
32 "libbt-stack",
33 "libbt-utils",
34 "libbtdevice",
35 "libbte",
36 "libbtif",
37 "libg722codec",
38 "libosi",
39 "libprotobuf-cpp-lite",
40 "libudrv-uipc",
41 "libz",
42 ],
43 shared_libs: [
44 "android.hardware.bluetooth.a2dp@1.0",
45 "android.hardware.bluetooth.audio@2.0",
46 "android.hardware.bluetooth@1.0",
47 "android.hardware.bluetooth@1.1",
48 "libaaudio",
49 "libbase",
50 "libcrypto",
51 "libcutils", // property_get_bool
52 "libfmq",
53 "libhidlbase",
54 "libjsoncpp",
55 "liblog", // __android_log_print
56 "libprocessgroup",
57 "libtinyxml2",
58 "libutils",
59 ],
60 ldflags: ["-rdynamic"],
61}