Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2016 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
Chia-I Wu | 89d09dd | 2017-02-24 10:41:35 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "libVtsHalGraphicsMapperTestUtils", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 19 | defaults: ["hidl_defaults"], |
Chia-I Wu | 89d09dd | 2017-02-24 10:41:35 -0800 | [diff] [blame] | 20 | srcs: ["VtsHalGraphicsMapperTestUtils.cpp"], |
| 21 | shared_libs: [ |
| 22 | "android.hardware.graphics.allocator@2.0", |
| 23 | "android.hardware.graphics.mapper@2.0", |
| 24 | ], |
| 25 | static_libs: [ |
| 26 | "VtsHalHidlTargetBaseTest", |
| 27 | "libVtsHalGraphicsAllocatorTestUtils", |
| 28 | ], |
| 29 | cflags: [ |
| 30 | "-Wall", |
| 31 | "-Wextra", |
| 32 | "-Werror", |
| 33 | "-O0", |
| 34 | "-g", |
| 35 | ], |
| 36 | export_include_dirs: ["."], |
| 37 | } |
| 38 | |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 39 | cc_test { |
Zhuoyao Zhang | 8422f6a | 2017-02-17 18:20:58 -0800 | [diff] [blame] | 40 | name: "VtsHalGraphicsMapperV2_0TargetTest", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 41 | defaults: ["hidl_defaults"], |
Zhuoyao Zhang | 8422f6a | 2017-02-17 18:20:58 -0800 | [diff] [blame] | 42 | srcs: ["VtsHalGraphicsMapperV2_0TargetTest.cpp"], |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 43 | shared_libs: [ |
| 44 | "libbase", |
| 45 | "liblog", |
| 46 | "libcutils", |
| 47 | "libhidlbase", |
| 48 | "libhidltransport", |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 49 | "libnativehelper", |
| 50 | "libsync", |
| 51 | "libutils", |
| 52 | "android.hardware.graphics.allocator@2.0", |
| 53 | "android.hardware.graphics.mapper@2.0", |
Yifan Hong | d0461a4 | 2017-01-09 15:27:33 -0800 | [diff] [blame] | 54 | "android.hardware.graphics.common@1.0", |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 55 | ], |
Chia-I Wu | 89d09dd | 2017-02-24 10:41:35 -0800 | [diff] [blame] | 56 | static_libs: [ |
| 57 | "libVtsHalGraphicsAllocatorTestUtils", |
| 58 | "libVtsHalGraphicsMapperTestUtils", |
| 59 | "VtsHalHidlTargetBaseTest", |
| 60 | ], |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 61 | cflags: [ |
Chia-I Wu | 89d09dd | 2017-02-24 10:41:35 -0800 | [diff] [blame] | 62 | "-Wall", |
| 63 | "-Wextra", |
| 64 | "-Werror", |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 65 | "-O0", |
| 66 | "-g", |
Ryan Campbell | 2caf0a6 | 2017-02-14 16:50:34 -0800 | [diff] [blame] | 67 | ] |
Chia-I Wu | 98f99cf | 2016-11-03 14:33:55 +0800 | [diff] [blame] | 68 | } |