Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +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 | 8cc5a15 | 2017-02-24 14:34:02 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "libVtsHalGraphicsComposerTestUtils", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 19 | defaults: ["hidl_defaults"], |
Chia-I Wu | 8cc5a15 | 2017-02-24 14:34:02 -0800 | [diff] [blame] | 20 | srcs: ["VtsHalGraphicsComposerTestUtils.cpp"], |
| 21 | shared_libs: ["android.hardware.graphics.composer@2.1"], |
| 22 | static_libs: [ |
| 23 | "VtsHalHidlTargetBaseTest", |
| 24 | ], |
| 25 | cflags: [ |
| 26 | "-Wall", |
| 27 | "-Wextra", |
| 28 | "-Werror", |
| 29 | "-O0", |
| 30 | "-g", |
| 31 | ], |
| 32 | export_include_dirs: ["."], |
| 33 | } |
| 34 | |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 35 | cc_test { |
Zhuoyao Zhang | 8422f6a | 2017-02-17 18:20:58 -0800 | [diff] [blame] | 36 | name: "VtsHalGraphicsComposerV2_1TargetTest", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 37 | defaults: ["hidl_defaults"], |
Zhuoyao Zhang | 8422f6a | 2017-02-17 18:20:58 -0800 | [diff] [blame] | 38 | srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 39 | shared_libs: [ |
| 40 | "android.hardware.graphics.allocator@2.0", |
| 41 | "android.hardware.graphics.composer@2.1", |
| 42 | "android.hardware.graphics.mapper@2.0", |
| 43 | "libbase", |
| 44 | "libcutils", |
| 45 | "libfmq", |
| 46 | "libhidlbase", |
| 47 | "libhidltransport", |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 48 | "liblog", |
| 49 | "libnativehelper", |
| 50 | "libsync", |
| 51 | "libutils", |
| 52 | ], |
Chia-I Wu | 8cc5a15 | 2017-02-24 14:34:02 -0800 | [diff] [blame] | 53 | static_libs: [ |
| 54 | "libhwcomposer-command-buffer", |
| 55 | "libVtsHalGraphicsAllocatorTestUtils", |
| 56 | "libVtsHalGraphicsComposerTestUtils", |
| 57 | "libVtsHalGraphicsMapperTestUtils", |
| 58 | "VtsHalHidlTargetBaseTest", |
| 59 | ], |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 60 | cflags: [ |
Chia-I Wu | 8cc5a15 | 2017-02-24 14:34:02 -0800 | [diff] [blame] | 61 | "-Wall", |
| 62 | "-Wextra", |
| 63 | "-Werror", |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 64 | "-O0", |
| 65 | "-g", |
Ryan Campbell | 2caf0a6 | 2017-02-14 16:50:34 -0800 | [diff] [blame] | 66 | ] |
Chia-I Wu | fed07e8 | 2017-01-09 12:31:56 +0800 | [diff] [blame] | 67 | } |