| // Copyright (C) 2020 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| package { |
| default_team: "trendy_team_fwk_nfc", |
| default_applicable_licenses: ["Android-Apache-2.0"], |
| } |
| |
| android_test { |
| name: "CtsNfcTestCases", |
| defaults: ["cts_defaults"], |
| platform_apis: true, |
| static_libs: [ |
| "android.nfc.flags-aconfig-java", |
| "ctstestrunner-axt", |
| "compatibility-device-util-axt", |
| "flag-junit", |
| "platform-test-annotations", |
| "testng", |
| "androidx.appcompat_appcompat", |
| ], |
| srcs: [ |
| "src/android/nfc/cts/*.java", |
| "src/android/nfc/tech/cts/*.java", |
| // TODO(b/263565193): Temp hack until NFC APK can link against module_current. |
| ":framework-nfc-updatable-sources", |
| ], |
| // was: sdk_version: "current", |
| libs: [ |
| "android.test.runner", |
| "android.test.base", |
| "framework-nfc.impl", |
| "unsupportedappusage", |
| ], |
| // Tag this module as a cts test artifact |
| test_suites: [ |
| "cts", |
| "general-tests", |
| ], |
| } |
| |
| android_test { |
| name: "CtsNfcInteractiveTestCases", |
| defaults: ["cts_defaults"], |
| static_libs: [ |
| "ActivityContext", |
| "Interactive", |
| "ctstestrunner-axt", |
| "com.google.android.material_material", |
| "androidx.appcompat_appcompat", |
| ], |
| srcs: [ |
| "src/android/nfc/cts/interactive/*.java", |
| "src/android/nfc/tech/cts/interactive/*.java", |
| ], |
| libs: [ |
| "android.test.runner", |
| "android.test.base", |
| "framework-nfc.impl", |
| ], |
| test_suites: [ |
| "cts-interactive", |
| "general-tests", |
| ], |
| test_config: "InteractiveAndroidTest.xml", |
| } |