• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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: "VtsHalGraphicsComposerV2_2TargetTest",
29    defaults: [
30        "VtsHalTargetTestDefaults",
31        "android.hardware.graphics.composer3-ndk_static",
32        "librenderengine_deps",
33    ],
34    tidy_timeout_srcs: [
35        "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
36        "VtsHalGraphicsComposerV2_2TargetTest.cpp",
37    ],
38    srcs: [
39        "VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
40        "VtsHalGraphicsComposerV2_2TargetTest.cpp",
41    ],
42
43    // TODO(b/64437680): Assume these libs are always available on the device.
44    shared_libs: [
45        "libEGL",
46        "libGLESv1_CM",
47        "libGLESv2",
48        "libbase",
49        "libbinder_ndk",
50        "libfmq",
51        "libgui",
52        "libhidlbase",
53        "libprocessgroup",
54        "libsync",
55        "libui",
56        "android.hardware.common-V2-ndk",
57        "server_configurable_flags",
58        "libtracing_perfetto",
59    ],
60    static_libs: [
61        "android.hardware.graphics.common@1.1",
62        "android.hardware.graphics.composer@2.1",
63        "android.hardware.graphics.composer@2.1-vts",
64        "android.hardware.graphics.composer@2.2",
65        "android.hardware.graphics.composer@2.2-vts",
66        "libaidlcommonsupport",
67        "libgtest",
68        "librenderengine",
69        "libshaders",
70        "libtonemap",
71        "libsurfaceflinger_common",
72    ],
73    header_libs: [
74        "android.hardware.graphics.composer@2.1-command-buffer",
75        "android.hardware.graphics.composer@2.2-command-buffer",
76    ],
77    disable_framework: true,
78    test_suites: [
79        "general-tests",
80        "vts",
81    ],
82}
83