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