blob: 8852f6cd85904368f5d8ebc1070f86a000ba96e1 [file] [log] [blame]
George Changdbc36e52021-10-20 11:13:18 +08001//
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 {
Aditya Choudharyc5c6c622024-01-31 11:06:17 +000018 default_team: "trendy_team_fwk_nfc",
George Changdbc36e52021-10-20 11:13:18 +080019 // 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: [
ziyiwdad50922024-07-02 18:06:25 +000041 "android.hardware.nfc-V2-ndk",
George Changdbc36e52021-10-20 11:13:18 +080042 ],
43 test_suites: [
44 "general-tests",
45 "vts",
46 ],
47}
Steve Pomeroybb7f9282024-03-06 16:15:35 +000048
49cc_test {
50 name: "VtsNfcBehaviorChangesTest",
51 defaults: [
Ted Bauer922c0322024-08-15 13:39:17 +000052 "aconfig_lib_cc_shared_link.defaults",
Steve Pomeroybb7f9282024-03-06 16:15:35 +000053 "VtsHalTargetTestDefaults",
54 "use_libaidlvintf_gtest_helper_static",
55 ],
56 srcs: [
57 "VtsNfcBehaviorChangesTest.cpp",
58 "CondVar.cpp",
59 ],
60 include_dirs: [
My Name56a08862024-12-22 11:52:46 -080061 "packages/modules/Nfc/libnfc-nci/src/gki/common",
62 "packages/modules/Nfc/libnfc-nci/src/gki/ulinux",
63 "packages/modules/Nfc/libnfc-nci/src/include",
64 "packages/modules/Nfc/libnfc-nci/src/nfa/include",
65 "packages/modules/Nfc/libnfc-nci/src/nfc/include",
66 "packages/modules/Nfc/libnfc-nci/utils/include",
Steve Pomeroybb7f9282024-03-06 16:15:35 +000067 ],
68 shared_libs: [
Ted Bauer922c0322024-08-15 13:39:17 +000069 "liblog",
Steve Pomeroybb7f9282024-03-06 16:15:35 +000070 "libbinder",
71 "libbinder_ndk",
72 "libnativehelper",
73 "libstatssocket",
74 ],
75 static_libs: [
76 "android.hardware.nfc-V2-ndk",
77 "android.hardware.nfc@1.0",
78 "android.hardware.nfc@1.1",
79 "android.hardware.nfc@1.2",
80 "android_nfc_flags_aconfig_c_lib",
81 "libnfc-nci",
82 "libnfc-nci_flags",
83 "libnfcutils",
84 "libstatslog_nfc",
85 "server_configurable_flags",
86 ],
87 require_root: true,
Steve Pomeroyb38108f2024-03-22 18:51:37 +000088 test_options: {
89 vsr_min_shipping_api_level: 202404, // 2024Q2
90 },
Steve Pomeroybb7f9282024-03-06 16:15:35 +000091 test_suites: [
92 "vts",
93 ],
94}