Jack He | e2eeff4 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 1 | // Bluetooth device static library for target |
| 2 | // ======================================================== |
| 3 | cc_library_static { |
| 4 | name: "libbtdevice", |
| 5 | defaults: ["fluoride_defaults"], |
| 6 | local_include_dirs: [ |
| 7 | "include", |
| 8 | ], |
| 9 | include_dirs: [ |
| 10 | "system/bt", |
| 11 | "system/bt/btcore/include", |
| 12 | "system/bt/hci/include", |
| 13 | "system/bt/include", |
| 14 | "system/bt/stack/include", |
| 15 | ], |
| 16 | srcs: [ |
| 17 | "src/controller.cc", |
Mudumba Ananth | 57f6508 | 2017-02-09 09:05:48 -0800 | [diff] [blame] | 18 | "src/esco_parameters.cc", |
Jack He | e2eeff4 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 19 | "src/interop.cc", |
| 20 | ], |
| 21 | shared_libs: [ |
| 22 | "liblog", |
| 23 | ], |
| 24 | } |
| 25 | |
| 26 | // Bluetooth device unit tests for target |
| 27 | // ======================================================== |
| 28 | cc_test { |
| 29 | name: "net_test_device", |
Dan Shi | b04b6c9 | 2017-03-31 17:12:28 -0700 | [diff] [blame] | 30 | test_suites: ["device-tests"], |
Jack He | e2eeff4 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 31 | defaults: ["fluoride_defaults"], |
| 32 | include_dirs: ["system/bt"], |
| 33 | srcs: [ |
| 34 | "test/interop_test.cc", |
| 35 | ], |
| 36 | shared_libs: [ |
| 37 | "liblog", |
| 38 | "libdl", |
| 39 | ], |
| 40 | static_libs: [ |
| 41 | "libbtdevice", |
| 42 | "libbtcore", |
| 43 | "libosi", |
| 44 | "libosi-AllocationTestHarness", |
| 45 | "libcutils", |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame^] | 46 | "libbluetooth-types", |
Jack He | e2eeff4 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 47 | ], |
| 48 | } |