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