blob: 2e87144dbb63c348169876815a52a7da6a1e4abb [file] [log] [blame]
Chia-I Wufed07e82017-01-09 12:31:56 +08001//
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 Wu8cc5a152017-02-24 14:34:02 -080017cc_library_static {
18 name: "libVtsHalGraphicsComposerTestUtils",
Steven Moreland48c52242017-03-08 16:11:32 -080019 defaults: ["hidl_defaults"],
Daniel Nicoarad47f4a92017-05-30 15:38:30 -040020 srcs: [
21 "GraphicsComposerCallback.cpp",
22 "TestCommandReader.cpp",
23 "VtsHalGraphicsComposerTestUtils.cpp",
24 ],
25 shared_libs: [
26 "android.hardware.graphics.composer@2.1",
27 "libfmq",
28 "libsync",
29 ],
Chia-I Wu8cc5a152017-02-24 14:34:02 -080030 static_libs: [
Daniel Nicoarad47f4a92017-05-30 15:38:30 -040031 "libhwcomposer-command-buffer",
Yuexi Maed2bb4e2017-03-10 00:44:45 -080032 "VtsHalHidlTargetTestBase",
Chia-I Wu8cc5a152017-02-24 14:34:02 -080033 ],
34 cflags: [
35 "-Wall",
36 "-Wextra",
37 "-Werror",
38 "-O0",
39 "-g",
Daniel Nicoarad47f4a92017-05-30 15:38:30 -040040 "-DLOG_TAG=\"GraphicsComposerTestUtils\"",
Chia-I Wu8cc5a152017-02-24 14:34:02 -080041 ],
42 export_include_dirs: ["."],
43}
44
Chia-I Wufed07e82017-01-09 12:31:56 +080045cc_test {
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080046 name: "VtsHalGraphicsComposerV2_1TargetTest",
Steven Moreland48c52242017-03-08 16:11:32 -080047 defaults: ["hidl_defaults"],
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080048 srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"],
Chia-I Wufed07e82017-01-09 12:31:56 +080049 shared_libs: [
50 "android.hardware.graphics.allocator@2.0",
51 "android.hardware.graphics.composer@2.1",
52 "android.hardware.graphics.mapper@2.0",
53 "libbase",
54 "libcutils",
55 "libfmq",
56 "libhidlbase",
57 "libhidltransport",
Chia-I Wufed07e82017-01-09 12:31:56 +080058 "liblog",
59 "libnativehelper",
60 "libsync",
61 "libutils",
62 ],
Chia-I Wu8cc5a152017-02-24 14:34:02 -080063 static_libs: [
64 "libhwcomposer-command-buffer",
Chia-I Wu8cc5a152017-02-24 14:34:02 -080065 "libVtsHalGraphicsComposerTestUtils",
66 "libVtsHalGraphicsMapperTestUtils",
Yuexi Maed2bb4e2017-03-10 00:44:45 -080067 "VtsHalHidlTargetTestBase",
Chia-I Wu8cc5a152017-02-24 14:34:02 -080068 ],
Chia-I Wufed07e82017-01-09 12:31:56 +080069 cflags: [
Chia-I Wu8cc5a152017-02-24 14:34:02 -080070 "-Wall",
71 "-Wextra",
72 "-Werror",
Chia-I Wufed07e82017-01-09 12:31:56 +080073 "-O0",
74 "-g",
Ryan Campbell2caf0a62017-02-14 16:50:34 -080075 ]
Chia-I Wufed07e82017-01-09 12:31:56 +080076}