| 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", | 
|  | 40 | tags: ["optional"], | 
|  | 41 | } | 
|  | 42 |  | 
|  | 43 | cc_test { | 
|  | 44 | srcs: ["buffer_hub_queue_producer-test.cpp"], | 
| Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 45 | header_libs: header_libraries, | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 46 | static_libs: static_libraries, | 
|  | 47 | shared_libs: shared_libraries, | 
|  | 48 | cflags: [ | 
| Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 49 | "-DLOG_TAG=\"buffer_hub_queue_producer-test\"", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 50 | "-DTRACE=0", | 
|  | 51 | "-O0", | 
|  | 52 | "-g", | 
| Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 53 | "-Wall", | 
|  | 54 | "-Werror", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 55 | ], | 
|  | 56 | name: "buffer_hub_queue_producer-test", | 
|  | 57 | tags: ["optional"], | 
|  | 58 | } |