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_fwk_nfc", 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: "VtsAidlHalNfcTargetTest", 29 defaults: [ 30 "VtsHalTargetTestDefaults", 31 "use_libaidlvintf_gtest_helper_static", 32 ], 33 srcs: [ 34 "VtsAidlHalNfcTargetTest.cpp", 35 ], 36 shared_libs: [ 37 "libbinder", 38 "libbinder_ndk", 39 ], 40 static_libs: [ 41 "android.hardware.nfc-V1-ndk", 42 ], 43 test_suites: [ 44 "general-tests", 45 "vts", 46 ], 47} 48 49cc_test { 50 name: "VtsNfcBehaviorChangesTest", 51 defaults: [ 52 "VtsHalTargetTestDefaults", 53 "use_libaidlvintf_gtest_helper_static", 54 ], 55 srcs: [ 56 "VtsNfcBehaviorChangesTest.cpp", 57 "CondVar.cpp", 58 ], 59 include_dirs: [ 60 "system/nfc/src/gki/common", 61 "system/nfc/src/gki/ulinux", 62 "system/nfc/src/include", 63 "system/nfc/src/nfa/include", 64 "system/nfc/src/nfc/include", 65 "system/nfc/utils/include", 66 ], 67 shared_libs: [ 68 "libbinder", 69 "libbinder_ndk", 70 "libnativehelper", 71 "libstatssocket", 72 ], 73 static_libs: [ 74 "android.hardware.nfc-V1-ndk", 75 "android.hardware.nfc@1.0", 76 "android.hardware.nfc@1.1", 77 "android.hardware.nfc@1.2", 78 "android_nfc_flags_aconfig_c_lib", 79 "libnfc-nci", 80 "libnfc-nci_flags", 81 "libnfcutils", 82 "libstatslog_nfc", 83 "server_configurable_flags", 84 ], 85 require_root: true, 86 test_options: { 87 vsr_min_shipping_api_level: 202404, // 2024Q2 88 }, 89 test_suites: [ 90 "vts", 91 ], 92} 93