Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 1 | |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame^] | 2 | package { |
| 3 | // See: http://go/android-license-faq |
| 4 | // A large-scale-change added 'default_applicable_licenses' to import |
| 5 | // all of the 'license_kinds' from "frameworks_native_license" |
| 6 | // to get the below license kinds: |
| 7 | // SPDX-license-identifier-Apache-2.0 |
| 8 | default_applicable_licenses: ["frameworks_native_license"], |
| 9 | } |
| 10 | |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 11 | header_libraries = [ |
| 12 | "libdvr_headers", |
| 13 | ] |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 14 | |
| 15 | shared_libraries = [ |
| 16 | "libbase", |
| 17 | "libbinder", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 18 | "libbufferhubqueue", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 19 | "libcutils", |
| 20 | "libgui", |
| 21 | "liblog", |
| 22 | "libhardware", |
| 23 | "libui", |
| 24 | "libutils", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 25 | "libnativewindow", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 26 | "libpdx_default_transport", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 27 | ] |
| 28 | |
| 29 | static_libraries = [ |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 30 | "libchrome", |
| 31 | "libdvrcommon", |
Jiwen 'Steve' Cai | 9665d91 | 2017-09-01 10:19:47 -0700 | [diff] [blame] | 32 | "libperformance", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 33 | ] |
| 34 | |
| 35 | cc_test { |
| 36 | srcs: ["buffer_hub_queue-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 37 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 38 | static_libs: static_libraries, |
| 39 | shared_libs: shared_libraries, |
| 40 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 41 | "-DLOG_TAG=\"buffer_hub_queue-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 42 | "-DTRACE=0", |
| 43 | "-O0", |
| 44 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 45 | "-Wall", |
| 46 | "-Werror", |
| 47 | "-Wno-error=sign-compare", // to fix later |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 48 | ], |
| 49 | name: "buffer_hub_queue-test", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | cc_test { |
| 53 | srcs: ["buffer_hub_queue_producer-test.cpp"], |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 54 | header_libs: header_libraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 55 | static_libs: static_libraries, |
| 56 | shared_libs: shared_libraries, |
| 57 | cflags: [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 58 | "-DLOG_TAG=\"buffer_hub_queue_producer-test\"", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 59 | "-DTRACE=0", |
| 60 | "-O0", |
| 61 | "-g", |
Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 62 | "-Wall", |
| 63 | "-Werror", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 64 | ], |
| 65 | name: "buffer_hub_queue_producer-test", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 66 | } |