1// Copyright (C) 2025 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19cc_defaults { 20 name: "hwc_deps", 21 defaults: [ 22 "VtsHalTargetTestDefaults", 23 "android.hardware.graphics.common-ndk_static", 24 "android.hardware.graphics.composer3-ndk_static", 25 "librenderengine_deps", 26 "use_libaidlvintf_gtest_helper_static", 27 ], 28 shared_libs: [ 29 "libandroid", 30 "libbinder", 31 "libbinder_ndk", 32 "libc++", 33 "liblog", 34 "libnativehelper", 35 "libui", 36 ], 37 static_libs: [ 38 "android.hardware.common-V2-ndk", 39 "android.hardware.common.fmq-V1-ndk", 40 "android.hardware.graphics.common@1.2", 41 "libaidlcommonsupport", 42 "libarect", 43 "libbase", 44 "libbase_ndk", 45 "libfmq", 46 "libgtest", 47 "libgtest_main", 48 "libhwc_aidl_test", 49 "librenderengine", 50 "libsync", 51 ], 52 header_libs: [ 53 "android.hardware.graphics.composer3-command-buffer", 54 ], 55} 56 57cc_library_static { 58 name: "hwc_tester", 59 defaults: ["hwc_deps"], 60 srcs: [ 61 "hwc_tester.cpp", 62 ], 63 export_include_dirs: [ 64 ".", 65 ], 66} 67 68cc_library_static { 69 name: "vkms_tester", 70 srcs: [ 71 "vkms_tester.cpp", 72 "edid_helper.cpp", 73 ], 74 export_include_dirs: [ 75 ".", 76 ], 77 shared_libs: [ 78 "libbase", 79 "libcutils", 80 "liblog", 81 ], 82} 83