• 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    default_team: "trendy_team_android_core_graphics_stack",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "hardware_interfaces_license"
22    // to get the below license kinds:
23    // SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_test {
28    name: "VtsHalGraphicsComposer3_TargetTest",
29    defaults: [
30        "VtsHalTargetTestDefaults",
31        "use_libaidlvintf_gtest_helper_static",
32        "librenderengine_deps",
33        "android.hardware.graphics.common-ndk_static",
34        "android.hardware.graphics.composer3-ndk_static",
35    ],
36    srcs: [
37        "VtsHalGraphicsComposer3_TargetTest.cpp",
38        "VtsHalGraphicsComposer3_ReadbackTest.cpp",
39        "VtsHalGraphicsComposer3_ConnectedDisplays.cpp",
40    ],
41    shared_libs: [
42        "libEGL",
43        "libGLESv2",
44        "libbinder_ndk",
45        "libbinder",
46        "libbase",
47        "libsync",
48        "libui",
49        "libgui",
50        "libprocessgroup",
51        "libtracing_perfetto",
52        "server_configurable_flags",
53    ],
54    header_libs: [
55        "android.hardware.graphics.composer3-command-buffer",
56    ],
57    static_libs: [
58        "android.hardware.graphics.common@1.2",
59        "android.hardware.common-V2-ndk",
60        "android.hardware.common.fmq-V1-ndk",
61        "libaidlcommonsupport",
62        "libarect",
63        "libbase",
64        "libgmock",
65        "libgtest",
66        "libhwc_aidl_test",
67        "librenderengine",
68        "libsync",
69        "libsurfaceflinger_common",
70        "libshaders",
71        "libtonemap",
72    ],
73    cflags: [
74        "-Wconversion",
75    ],
76    test_suites: [
77        "general-tests",
78        "vts",
79    ],
80}
81