blob: 17fb810c626b145ec98b94698fa5bd6dd4668ae9 [file] [log] [blame]
// Copyright 2021 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",
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
android_test {
name: "NfcManagerTests",
static_libs: [
"androidx.test.core",
"androidx.test.rules",
"androidx.test.runner",
"androidx.test.ext.junit",
"mockito-target-extended-minus-junit4",
"frameworks-base-testutils",
"truth",
"androidx.annotation_annotation",
"androidx.appcompat_appcompat",
"flag-junit",
"platform-test-annotations",
"testables",
],
libs: [
"androidx.annotation_annotation",
"unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage
"framework-permission-s.stubs.module_lib",
"framework-permission.stubs.module_lib",
"android.test.base.stubs.system",
"android.test.mock.stubs.system",
"android.test.runner.stubs.system",
"framework-nfc.impl",
],
jni_libs: [
// Required for ExtendedMockito
"libdexmakerjvmtiagent",
"libstaticjvmtiagent",
],
srcs: [
"src/**/*.java",
":framework-nfc-updatable-sources",
":framework-nfc-non-updatable-sources",
],
platform_apis: true,
certificate: "platform",
test_suites: [
"device-tests",
"mts-nfc",
],
min_sdk_version: "35", // Should be 36 later.
}