Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 1 | // Copyright (C) 2017 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | shared_libraries = [ |
| 16 | "libbase", |
| 17 | "libbinder", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 18 | "libbufferhubqueue", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 19 | "libcutils", |
| 20 | "libgui", |
| 21 | "liblog", |
| 22 | "libhardware", |
| 23 | "libui", |
| 24 | "libutils", |
| 25 | "libnativewindow", |
Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 26 | "libpdx_default_transport", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 27 | ] |
| 28 | |
| 29 | static_libraries = [ |
Steven Thomas | 3be0aa6 | 2017-05-08 15:45:30 -0700 | [diff] [blame] | 30 | "libdvr_static", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 31 | "libchrome", |
| 32 | "libdvrcommon", |
| 33 | "libdisplay", |
John Bates | 954796e | 2017-05-11 11:00:31 -0700 | [diff] [blame] | 34 | "libbroadcastring", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 35 | ] |
| 36 | |
| 37 | cc_test { |
| 38 | srcs: [ |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 39 | "dvr_display_manager-test.cpp", |
| 40 | "dvr_named_buffer-test.cpp", |
| 41 | ], |
| 42 | |
Corey Tabaka | 52ea25c | 2017-09-13 18:02:48 -0700 | [diff] [blame] | 43 | header_libs: ["libdvr_headers"], |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 44 | static_libs: static_libraries, |
| 45 | shared_libs: shared_libraries, |
| 46 | cflags: [ |
| 47 | "-DLOG_TAG=\"dvr_api-test\"", |
| 48 | "-DTRACE=0", |
Jiwen 'Steve' Cai | 638b7f7 | 2017-09-08 11:10:29 -0700 | [diff] [blame] | 49 | "-Wno-missing-field-initializers", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 50 | "-O0", |
| 51 | "-g", |
Jiwen 'Steve' Cai | 64177e8 | 2017-05-08 17:07:52 -0700 | [diff] [blame] | 52 | ], |
| 53 | name: "dvr_api-test", |
| 54 | } |