George Chang | dbc36e5 | 2021-10-20 11:13:18 +0800 | [diff] [blame] | 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 | |
| 17 | package { |
Aditya Choudhary | c5c6c62 | 2024-01-31 11:06:17 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_fwk_nfc", |
George Chang | dbc36e5 | 2021-10-20 11:13:18 +0800 | [diff] [blame] | 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 | |
| 27 | cc_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: [ |
ziyiw | dad5092 | 2024-07-02 18:06:25 +0000 | [diff] [blame] | 41 | "android.hardware.nfc-V2-ndk", |
George Chang | dbc36e5 | 2021-10-20 11:13:18 +0800 | [diff] [blame] | 42 | ], |
| 43 | test_suites: [ |
| 44 | "general-tests", |
| 45 | "vts", |
| 46 | ], |
| 47 | } |
Steve Pomeroy | bb7f928 | 2024-03-06 16:15:35 +0000 | [diff] [blame] | 48 | |
| 49 | cc_test { |
| 50 | name: "VtsNfcBehaviorChangesTest", |
| 51 | defaults: [ |
Ted Bauer | 922c032 | 2024-08-15 13:39:17 +0000 | [diff] [blame] | 52 | "aconfig_lib_cc_shared_link.defaults", |
Steve Pomeroy | bb7f928 | 2024-03-06 16:15:35 +0000 | [diff] [blame] | 53 | "VtsHalTargetTestDefaults", |
| 54 | "use_libaidlvintf_gtest_helper_static", |
| 55 | ], |
| 56 | srcs: [ |
| 57 | "VtsNfcBehaviorChangesTest.cpp", |
| 58 | "CondVar.cpp", |
| 59 | ], |
| 60 | include_dirs: [ |
My Name | c465455 | 2024-12-19 23:43:31 -0800 | [diff] [blame] | 61 | "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 Pomeroy | bb7f928 | 2024-03-06 16:15:35 +0000 | [diff] [blame] | 67 | ], |
| 68 | shared_libs: [ |
Ted Bauer | 922c032 | 2024-08-15 13:39:17 +0000 | [diff] [blame] | 69 | "liblog", |
Steve Pomeroy | bb7f928 | 2024-03-06 16:15:35 +0000 | [diff] [blame] | 70 | "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 Pomeroy | b38108f | 2024-03-22 18:51:37 +0000 | [diff] [blame] | 88 | test_options: { |
| 89 | vsr_min_shipping_api_level: 202404, // 2024Q2 |
| 90 | }, |
Steve Pomeroy | bb7f928 | 2024-03-06 16:15:35 +0000 | [diff] [blame] | 91 | test_suites: [ |
| 92 | "vts", |
| 93 | ], |
| 94 | } |