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 "GraphicsComposerCallback.cpp", 40 "ReadbackVts.cpp", 41 "RenderEngineVts.cpp", 42 "VtsComposerClient.cpp", 43 ], 44 45 shared_libs: [ 46 "libEGL", 47 "libGLESv1_CM", 48 "libGLESv2", 49 "libbinder_ndk", 50 "libbinder", 51 "libfmq", 52 "libbase", 53 "libsync", 54 "libui", 55 "libgui", 56 "libhidlbase", 57 "libprocessgroup", 58 "libvndksupport", 59 "server_configurable_flags", 60 "libtracing_perfetto", 61 ], 62 header_libs: [ 63 "android.hardware.graphics.composer3-command-buffer", 64 ], 65 static_libs: [ 66 "[email protected]", 67 "android.hardware.common-V2-ndk", 68 "android.hardware.common.fmq-V1-ndk", 69 "android.hardware.drm.common-V1-ndk", 70 "libaidlcommonsupport", 71 "libarect", 72 "libbase", 73 "libfmq", 74 "libgmock", 75 "libgtest", 76 "libmath", 77 "librenderengine", 78 "libshaders", 79 "libsync", 80 "libtonemap", 81 "libsurfaceflinger_common", 82 ], 83 cflags: [ 84 "-Wconversion", 85 ], 86 test_suites: [ 87 "general-tests", 88 "vts", 89 ], 90} 91