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