Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 1 | |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 2 | header_libraries = [ |
| 3 | "libdvr_headers", |
| 4 | ] |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 5 | |
| 6 | shared_libraries = [ |
| 7 | "libbase", |
| 8 | "libbinder", |
| 9 | "libcutils", |
| 10 | "libgui", |
| 11 | "liblog", |
| 12 | "libhardware", |
| 13 | "libui", |
| 14 | "libutils", |
| 15 | ] |
| 16 | |
| 17 | static_libraries = [ |
| 18 | "libbufferhubqueue", |
| 19 | "libbufferhub", |
| 20 | "libchrome", |
| 21 | "libdvrcommon", |
| 22 | "libpdx_default_transport", |
| 23 | ] |
| 24 | |
| 25 | cc_test { |
| 26 | srcs: ["buffer_hub_queue-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 27 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 28 | static_libs: static_libraries, |
| 29 | shared_libs: shared_libraries, |
| 30 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 31 | "-DLOG_TAG=\"buffer_hub_queue-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 32 | "-DTRACE=0", |
| 33 | "-O0", |
| 34 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 35 | "-Wall", |
| 36 | "-Werror", |
| 37 | "-Wno-error=sign-compare", // to fix later |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 38 | ], |
| 39 | name: "buffer_hub_queue-test", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | cc_test { |
| 43 | srcs: ["buffer_hub_queue_producer-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 44 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 45 | static_libs: static_libraries, |
| 46 | shared_libs: shared_libraries, |
| 47 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 48 | "-DLOG_TAG=\"buffer_hub_queue_producer-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 49 | "-DTRACE=0", |
| 50 | "-O0", |
| 51 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 52 | "-Wall", |
| 53 | "-Werror", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 54 | ], |
| 55 | name: "buffer_hub_queue_producer-test", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 56 | } |