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", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 15 | "libnativewindow", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 16 | ] |
| 17 | |
| 18 | static_libraries = [ |
| 19 | "libbufferhubqueue", |
| 20 | "libbufferhub", |
| 21 | "libchrome", |
| 22 | "libdvrcommon", |
| 23 | "libpdx_default_transport", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 24 | "libperformance", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 25 | ] |
| 26 | |
| 27 | cc_test { |
| 28 | srcs: ["buffer_hub_queue-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 29 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 30 | static_libs: static_libraries, |
| 31 | shared_libs: shared_libraries, |
| 32 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 33 | "-DLOG_TAG=\"buffer_hub_queue-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 34 | "-DTRACE=0", |
| 35 | "-O0", |
| 36 | "-g", |
| 37 | ], |
| 38 | name: "buffer_hub_queue-test", |
| 39 | tags: ["optional"], |
| 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", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 52 | ], |
| 53 | name: "buffer_hub_queue_producer-test", |
| 54 | tags: ["optional"], |
| 55 | } |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 56 | |
| 57 | cc_test { |
| 58 | srcs: ["buffer_transport_benchmark.cpp"], |
| 59 | static_libs: static_libraries, |
| 60 | shared_libs: shared_libraries, |
| 61 | header_libs: header_libraries, |
| 62 | cflags: [ |
| 63 | "-DLOG_TAG=\"buffer_transport_benchmark\"", |
| 64 | "-DTRACE=0", |
| 65 | "-O2", |
| 66 | ], |
| 67 | name: "buffer_transport_benchmark", |
| 68 | tags: ["optional"], |
| 69 | } |