blob: 890cc057c13bdb220d2ae8a22249f8b517c84c52 [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"],
Chia-I Wu8cc5a152017-02-24 14:34:02 -080020 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 Wufed07e82017-01-09 12:31:56 +080035cc_test {
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080036 name: "VtsHalGraphicsComposerV2_1TargetTest",
Steven Moreland48c52242017-03-08 16:11:32 -080037 defaults: ["hidl_defaults"],
Zhuoyao Zhang8422f6a2017-02-17 18:20:58 -080038 srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"],
Chia-I Wufed07e82017-01-09 12:31:56 +080039 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 Wufed07e82017-01-09 12:31:56 +080048 "liblog",
49 "libnativehelper",
50 "libsync",
51 "libutils",
52 ],
Chia-I Wu8cc5a152017-02-24 14:34:02 -080053 static_libs: [
54 "libhwcomposer-command-buffer",
55 "libVtsHalGraphicsAllocatorTestUtils",
56 "libVtsHalGraphicsComposerTestUtils",
57 "libVtsHalGraphicsMapperTestUtils",
58 "VtsHalHidlTargetBaseTest",
59 ],
Chia-I Wufed07e82017-01-09 12:31:56 +080060 cflags: [
Chia-I Wu8cc5a152017-02-24 14:34:02 -080061 "-Wall",
62 "-Wextra",
63 "-Werror",
Chia-I Wufed07e82017-01-09 12:31:56 +080064 "-O0",
65 "-g",
Ryan Campbell2caf0a62017-02-14 16:50:34 -080066 ]
Chia-I Wufed07e82017-01-09 12:31:56 +080067}