1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "CtsBiometricsTestCases", 21 defaults: ["cts_defaults"], 22 // Tag this module as a cts test artifact 23 test_suites: [ 24 "cts", 25 "vts10", 26 "general-tests", 27 ], 28 compile_multilib: "both", 29 libs: [ 30 "android.test.runner", 31 "android.test.base", 32 ], 33 static_libs: [ 34 "androidx.annotation_annotation", 35 "androidx.test.ext.junit", 36 "compatibility-device-util-axt", 37 "cts-input-lib", 38 "cts-wm-util", 39 "ctstestrunner-axt", 40 "mockito-target-minus-junit4", 41 "platform-test-annotations", 42 "platformprotosnano", 43 "ub-uiautomator", 44 ], 45 srcs: ["src/**/*.java"], 46 sdk_version: "test_current", 47} 48 49java_test_helper_library { 50 name: "cts-biometric-util", 51 52 static_libs: [ 53 "androidx.annotation_annotation", 54 "cts-wm-util", 55 ], 56 57 srcs: [ 58 "src/android/server/biometrics/BiometricCallbackHelper.java", 59 "src/android/server/biometrics/fingerprint/FingerprintCallbackHelper.java", 60 ], 61} 62