Chris Manton | a402061 | 2020-01-14 16:34:08 -0800 | [diff] [blame] | 1 | cc_test { |
| 2 | name: "bt_headless", |
| 3 | test_suites: ["device-tests"], |
| 4 | defaults: ["fluoride_defaults"], |
| 5 | srcs: [ |
| 6 | "get_options.cc", |
| 7 | "headless.cc", |
Chris Manton | 25cc828 | 2020-02-18 07:56:15 -0800 | [diff] [blame] | 8 | "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 Manton | a402061 | 2020-01-14 16:34:08 -0800 | [diff] [blame] | 15 | ], |
| 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 | } |