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 // 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: "VtsHalGraphicsComposerV2_2TargetTest", 28 defaults: [ 29 "VtsHalTargetTestDefaults", 30 "android.hardware.graphics.allocator-ndk_static", 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 "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 ], 62 static_libs: [ 63 "android.hardware.graphics.allocator@2.0", 64 "android.hardware.graphics.allocator@3.0", 65 "android.hardware.graphics.allocator@4.0", 66 "android.hardware.graphics.common@1.1", 67 "android.hardware.graphics.composer@2.1", 68 "android.hardware.graphics.composer@2.1-vts", 69 "android.hardware.graphics.composer@2.2", 70 "android.hardware.graphics.composer@2.2-vts", 71 "android.hardware.graphics.mapper@2.0-vts", 72 "android.hardware.graphics.mapper@2.1-vts", 73 "android.hardware.graphics.mapper@3.0-vts", 74 "android.hardware.graphics.mapper@4.0-vts", 75 "libaidlcommonsupport", 76 "libgtest", 77 "librenderengine", 78 "libshaders", 79 "libtonemap", 80 ], 81 header_libs: [ 82 "android.hardware.graphics.composer@2.1-command-buffer", 83 "android.hardware.graphics.composer@2.2-command-buffer", 84 ], 85 disable_framework: true, 86 test_suites: [ 87 "general-tests", 88 "vts", 89 ], 90} 91