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_binary { 20 name: "setup_vkms_connectors_for_atest", 21 defaults: ["atester_cmds_defaults"], 22 srcs: [ 23 "setup_vkms_connectors_for_atest.cpp", 24 ], 25} 26 27cc_binary { 28 name: "teardown_vkms", 29 defaults: ["atester_cmds_defaults"], 30 srcs: [ 31 "teardown_vkms.cpp", 32 ], 33} 34 35cc_defaults { 36 name: "atester_cmds_defaults", 37 static_libs: [ 38 "vkms_tester", 39 ], 40 shared_libs: [ 41 "libbase", 42 "libcutils", 43 "liblog", 44 ], 45 compile_multilib: "both", 46 multilib: { 47 lib32: { 48 suffix: "32", 49 }, 50 lib64: { 51 suffix: "", 52 }, 53 }, 54} 55 56cc_defaults { 57 name: "atester_wrapper_defaults", 58 data_bins: [ 59 "//platform_testing/tests/display/hcct/atest_wrapper:setup_vkms_connectors_for_atest", 60 "//platform_testing/tests/display/hcct/atest_wrapper:teardown_vkms", 61 ], 62 compile_multilib: "both", 63 multilib: { 64 lib32: { 65 suffix: "32", 66 }, 67 lib64: { 68 suffix: "", 69 }, 70 }, 71} 72