Ajay Panicker | 0ed69e0 | 2018-03-15 10:06:36 -0700 | [diff] [blame] | 1 | cc_binary { |
| 2 | name: "sl4n", |
| 3 | header_libs: [ |
| 4 | "libbluetooth_headers", |
| 5 | ], |
| 6 | include_dirs: [ |
| 7 | "system/bt", |
| 8 | ], |
| 9 | local_include_dirs: [ |
| 10 | "rapidjson/include", |
| 11 | "facades", |
| 12 | ], |
| 13 | srcs: [ |
| 14 | "facades/bluetooth/bt_binder_facade.cpp", |
| 15 | "facades/test/test_facade.cpp", |
| 16 | "main.cpp", |
| 17 | "utils/command_receiver.cpp", |
| 18 | "utils/common_utils.cpp", |
| 19 | ], |
| 20 | shared_libs: [ |
| 21 | "libbinder", |
| 22 | "libchrome", |
| 23 | "libcutils", |
| 24 | "libutils", |
| 25 | "libwifi-system", |
| 26 | "liblog", |
| 27 | ], |
| 28 | static_libs: [ |
| 29 | "libbtcore", |
| 30 | "libosi", |
| 31 | "libnl", |
| 32 | "libbluetooth-binder-common", |
| 33 | "libbluetooth-types", |
| 34 | ], |
| 35 | cflags: [ |
| 36 | "-Wall", |
| 37 | "-Werror", |
| 38 | "-Wno-unused-parameter", |
| 39 | "-Wno-missing-field-initializers", |
Yi Kong | 79fcdb8 | 2018-12-10 11:04:00 -0800 | [diff] [blame] | 40 | "-Wno-expansion-to-defined", |
Ajay Panicker | 0ed69e0 | 2018-03-15 10:06:36 -0700 | [diff] [blame] | 41 | ], |
Yi Kong | 79fcdb8 | 2018-12-10 11:04:00 -0800 | [diff] [blame] | 42 | } |