• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2021, 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
17package {
18    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "hardware_interfaces_license"
21    // to get the below license kinds:
22    // SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
26cc_test {
27    name: "VtsHalGraphicsComposer3_TargetTest",
28    defaults: [
29        "VtsHalTargetTestDefaults",
30        "use_libaidlvintf_gtest_helper_static",
31        "librenderengine_deps",
32        "android.hardware.graphics.common-ndk_static",
33        "android.hardware.graphics.composer3-ndk_static",
34    ],
35    srcs: [
36        "VtsHalGraphicsComposer3_TargetTest.cpp",
37        "VtsHalGraphicsComposer3_ReadbackTest.cpp",
38        "GraphicsComposerCallback.cpp",
39        "ReadbackVts.cpp",
40        "RenderEngineVts.cpp",
41        "VtsComposerClient.cpp",
42    ],
43
44    shared_libs: [
45        "libEGL",
46        "libGLESv1_CM",
47        "libGLESv2",
48        "libbinder_ndk",
49        "libbinder",
50        "libfmq",
51        "libbase",
52        "libsync",
53        "libui",
54        "libgui",
55        "libhidlbase",
56        "libprocessgroup",
57        "android.hardware.graphics.mapper@2.0",
58        "android.hardware.graphics.mapper@2.1",
59        "android.hardware.graphics.mapper@3.0",
60        "android.hardware.graphics.mapper@4.0",
61        "android.hardware.graphics.allocator@2.0",
62        "android.hardware.graphics.allocator@3.0",
63        "android.hardware.graphics.allocator@4.0",
64        "libvndksupport",
65    ],
66    header_libs: [
67        "android.hardware.graphics.composer3-command-buffer",
68    ],
69    static_libs: [
70        "android.hardware.graphics.common@1.2",
71        "android.hardware.common-V2-ndk",
72        "android.hardware.common.fmq-V1-ndk",
73        "android.hardware.graphics.allocator@2.0",
74        "android.hardware.graphics.allocator@3.0",
75        "android.hardware.graphics.allocator@4.0",
76        "android.hardware.graphics.mapper@2.0-vts",
77        "android.hardware.graphics.mapper@2.1-vts",
78        "android.hardware.graphics.mapper@3.0-vts",
79        "android.hardware.graphics.mapper@4.0-vts",
80        "libaidlcommonsupport",
81        "libarect",
82        "libbase",
83        "libfmq",
84        "libgtest",
85        "libmath",
86        "librenderengine",
87        "libshaders",
88        "libsync",
89        "libtonemap",
90    ],
91    cflags: [
92        "-Wconversion",
93    ],
94    test_suites: [
95        "general-tests",
96        "vts",
97    ],
98}
99