Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "incident_helper_defaults", |
| 3 | |
| 4 | cflags: [ |
| 5 | "-Wall", |
| 6 | "-Werror", |
| 7 | "-g", |
| 8 | "-O0" |
| 9 | ], |
| 10 | |
| 11 | srcs: [ |
| 12 | "IncidentHelper.cpp", |
Yi Jin | b44f7d4 | 2017-07-21 12:12:59 -0700 | [diff] [blame] | 13 | "ih_util.cpp", |
Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 14 | ], |
| 15 | |
| 16 | shared_libs: [ |
| 17 | "libbase", |
| 18 | "liblog", |
| 19 | "libprotobuf-cpp-full", |
| 20 | "libutils", |
| 21 | ], |
| 22 | |
| 23 | static_libs: [ |
| 24 | "libplatformprotos", |
| 25 | ], |
| 26 | } |
| 27 | |
| 28 | cc_binary { |
| 29 | name: "incident_helper", |
| 30 | defaults: ["incident_helper_defaults"], |
| 31 | srcs: ["main.cpp"], |
| 32 | } |
| 33 | |
| 34 | |
| 35 | cc_test { |
| 36 | name: "incident_helper_test", |
| 37 | defaults: ["incident_helper_defaults"], |
| 38 | |
| 39 | srcs: [ |
| 40 | "tests/IncidentHelper_test.cpp", |
Yi Jin | b44f7d4 | 2017-07-21 12:12:59 -0700 | [diff] [blame] | 41 | "tests/ih_util_test.cpp", |
Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 42 | ], |
| 43 | |
| 44 | data: [ |
| 45 | "testdata/*", |
| 46 | ], |
| 47 | |
| 48 | static_libs: [ |
| 49 | "libgmock", |
| 50 | ], |
| 51 | } |