Scott James Remnant | 4c29231 | 2015-05-12 13:58:49 -0700 | [diff] [blame] | 1 | source_set("btcore") { |
| 2 | sources = [ |
| 3 | "src/bdaddr.c", |
| 4 | "src/counter.c", |
| 5 | "src/device_class.c", |
| 6 | "src/module.c", |
| 7 | "src/property.c", |
| 8 | "src/uuid.c", |
| 9 | ] |
| 10 | |
| 11 | include_dirs = [ |
| 12 | "include", |
| 13 | "//osi/include", |
| 14 | "//", |
| 15 | ] |
| 16 | } |
| 17 | |
| 18 | executable("net_test_btcore") { |
| 19 | sources = [ |
| 20 | "test/bdaddr_test.cpp", |
| 21 | "test/counter_test.cpp", |
| 22 | "test/device_class_test.cpp", |
| 23 | "test/property_test.cpp", |
| 24 | "test/uuid_test.cpp", |
| 25 | "//osi/test/AllocationTestHarness.cpp", |
| 26 | ] |
| 27 | |
| 28 | include_dirs = [ |
| 29 | "include", |
| 30 | "//", |
| 31 | ] |
| 32 | |
| 33 | deps = [ |
| 34 | "//btcore", |
| 35 | "//osi", |
| 36 | ] |
| 37 | |
| 38 | libs = [ "-lpthread", "-lrt", "-ldl" ] |
| 39 | } |