blob: 78322a11333bfc1470ebb2acc2515fd2e6424950 [file] [log] [blame]
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -08001//
2// Copyright (C) 2018 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
17cc_library_static {
18 name: "libVtsHalGraphicsComposerTestUtils@2.2",
19 defaults: ["hidl_defaults"],
20 srcs: [
21 "VtsHalGraphicsComposerTestUtils.cpp",
22 ],
23 shared_libs: [
24 "android.hardware.graphics.composer@2.1",
25 "android.hardware.graphics.composer@2.2",
26 "libfmq",
27 "libsync",
28 ],
29 static_libs: [
30 "libVtsHalGraphicsComposerTestUtils",
31 "VtsHalHidlTargetTestBase",
32 ],
33 header_libs: [
34 "android.hardware.graphics.composer@2.1-command-buffer",
35 "android.hardware.graphics.composer@2.2-command-buffer",
36 ],
37 cflags: [
38 "-Wall",
39 "-Wextra",
40 "-Werror",
41 "-O0",
42 "-g",
43 "-DLOG_TAG=\"GraphicsComposerTestUtils@2.2\"",
44 ],
45 export_include_dirs: ["include"],
46}
47
48cc_test {
49 name: "VtsHalGraphicsComposerV2_2TargetTest",
50 defaults: ["VtsHalTargetTestDefaults"],
51 srcs: ["VtsHalGraphicsComposerV2_2TargetTest.cpp"],
52
53 // TODO(b/64437680): Assume these libs are always available on the device.
54 shared_libs: [
55 "libfmq",
56 "libhidltransport",
57 "libsync",
58 ],
59 static_libs: [
60 "android.hardware.graphics.allocator@2.0",
61 "android.hardware.graphics.composer@2.2",
62 "android.hardware.graphics.composer@2.1",
63 "android.hardware.graphics.mapper@2.0",
Chia-I Wu98923fc2018-01-14 21:45:18 -080064 "android.hardware.graphics.mapper@2.0-vts",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080065 "android.hardware.graphics.mapper@2.1",
66 "libVtsHalGraphicsComposerTestUtils",
67 "libVtsHalGraphicsComposerTestUtils@2.2",
Courtney Goeltzenleuchterbe92bb92018-01-11 08:50:03 -080068 "libnativehelper",
69 ],
70 header_libs: [
71 "android.hardware.graphics.composer@2.1-command-buffer",
72 "android.hardware.graphics.composer@2.2-command-buffer",
73 ],
74}