1//
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_test {
18    name: "VtsHalGraphicsComposerV2_2TargetTest",
19    defaults: ["VtsHalTargetTestDefaults"],
20    srcs: [
21        "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
22        "VtsHalGraphicsComposerV2_2TargetTest.cpp",
23    ],
24
25    // TODO(b/64437680): Assume these libs are always available on the device.
26    shared_libs: [
27        "libfmq",
28        "libhidlbase",
29        "libsync",
30    ],
31    static_libs: [
32        "android.hardware.graphics.allocator@2.0",
33        "android.hardware.graphics.allocator@3.0",
34        "android.hardware.graphics.common@1.1",
35        "android.hardware.graphics.composer@2.1",
36        "android.hardware.graphics.composer@2.1-vts",
37        "android.hardware.graphics.composer@2.2",
38        "android.hardware.graphics.composer@2.2-vts",
39        "android.hardware.graphics.mapper@2.0",
40        "android.hardware.graphics.mapper@2.0-vts",
41        "android.hardware.graphics.mapper@2.1",
42        "android.hardware.graphics.mapper@2.1-vts",
43        "android.hardware.graphics.mapper@3.0",
44        "android.hardware.graphics.mapper@3.0-vts",
45    ],
46    header_libs: [
47        "android.hardware.graphics.composer@2.1-command-buffer",
48        "android.hardware.graphics.composer@2.2-command-buffer",
49    ],
50    test_suites: ["general-tests"],
51}
52