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", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame^] | 9 | "libbufferhubqueue", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 10 | "libcutils", |
| 11 | "libgui", |
| 12 | "liblog", |
| 13 | "libhardware", |
| 14 | "libui", |
| 15 | "libutils", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 16 | "libnativewindow", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame^] | 17 | "libpdx_default_transport", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 18 | ] |
| 19 | |
| 20 | static_libraries = [ |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 21 | "libchrome", |
| 22 | "libdvrcommon", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 23 | "libperformance", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 24 | ] |
| 25 | |
| 26 | cc_test { |
| 27 | srcs: ["buffer_hub_queue-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 28 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 29 | static_libs: static_libraries, |
| 30 | shared_libs: shared_libraries, |
| 31 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 32 | "-DLOG_TAG=\"buffer_hub_queue-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 33 | "-DTRACE=0", |
| 34 | "-O0", |
| 35 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 36 | "-Wall", |
| 37 | "-Werror", |
| 38 | "-Wno-error=sign-compare", // to fix later |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 39 | ], |
| 40 | name: "buffer_hub_queue-test", |
| 41 | tags: ["optional"], |
| 42 | } |
| 43 | |
| 44 | cc_test { |
| 45 | srcs: ["buffer_hub_queue_producer-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 46 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 47 | static_libs: static_libraries, |
| 48 | shared_libs: shared_libraries, |
| 49 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 50 | "-DLOG_TAG=\"buffer_hub_queue_producer-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 51 | "-DTRACE=0", |
| 52 | "-O0", |
| 53 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 54 | "-Wall", |
| 55 | "-Werror", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 56 | ], |
| 57 | name: "buffer_hub_queue_producer-test", |
| 58 | tags: ["optional"], |
| 59 | } |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 60 | |
Jiwen 'Steve' Cai | 2f1ead9 | 2017-10-26 16:14:51 -0700 | [diff] [blame] | 61 | cc_benchmark { |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 62 | srcs: ["buffer_transport_benchmark.cpp"], |
| 63 | static_libs: static_libraries, |
| 64 | shared_libs: shared_libraries, |
| 65 | header_libs: header_libraries, |
| 66 | cflags: [ |
| 67 | "-DLOG_TAG=\"buffer_transport_benchmark\"", |
| 68 | "-DTRACE=0", |
| 69 | "-O2", |
Chih-Hung Hsieh | 30a2d05 | 2017-12-05 10:53:48 -0800 | [diff] [blame] | 70 | "-Wall", |
| 71 | "-Werror", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 72 | ], |
| 73 | name: "buffer_transport_benchmark", |
| 74 | tags: ["optional"], |
| 75 | } |