1*060f4407SAndroid Build Coastguard Worker// 2*060f4407SAndroid Build Coastguard Worker// Copyright (C) 2017 The Android Open Source Project 3*060f4407SAndroid Build Coastguard Worker// 4*060f4407SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 5*060f4407SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 6*060f4407SAndroid Build Coastguard Worker// You may obtain a copy of the License at 7*060f4407SAndroid Build Coastguard Worker// 8*060f4407SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 9*060f4407SAndroid Build Coastguard Worker// 10*060f4407SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 11*060f4407SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 12*060f4407SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*060f4407SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 14*060f4407SAndroid Build Coastguard Worker// limitations under the License. 15*060f4407SAndroid Build Coastguard Worker// 16*060f4407SAndroid Build Coastguard Worker 17*060f4407SAndroid Build Coastguard Workerpackage { 18*060f4407SAndroid Build Coastguard Worker // See: http://go/android-license-faq 19*060f4407SAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 20*060f4407SAndroid Build Coastguard Worker // all of the 'license_kinds' from "external_ims_rcs_presencepolling_license" 21*060f4407SAndroid Build Coastguard Worker // to get the below license kinds: 22*060f4407SAndroid Build Coastguard Worker // SPDX-license-identifier-Apache-2.0 23*060f4407SAndroid Build Coastguard Worker default_applicable_licenses: ["external_ims_rcs_presencepolling_license"], 24*060f4407SAndroid Build Coastguard Worker} 25*060f4407SAndroid Build Coastguard Worker 26*060f4407SAndroid Build Coastguard Workerandroid_test { 27*060f4407SAndroid Build Coastguard Worker name: "PresencePollingTests", 28*060f4407SAndroid Build Coastguard Worker srcs: ["src/**/*.java"], 29*060f4407SAndroid Build Coastguard Worker libs: [ 30*060f4407SAndroid Build Coastguard Worker "mockito-target", 31*060f4407SAndroid Build Coastguard Worker "android.test.base.stubs.system", 32*060f4407SAndroid Build Coastguard Worker "android.test.runner.stubs.system", 33*060f4407SAndroid Build Coastguard Worker ], 34*060f4407SAndroid Build Coastguard Worker static_libs: [ 35*060f4407SAndroid Build Coastguard Worker "androidx.test.rules", 36*060f4407SAndroid Build Coastguard Worker "mockito-target-minus-junit4", 37*060f4407SAndroid Build Coastguard Worker ], 38*060f4407SAndroid Build Coastguard Worker platform_apis: true, 39*060f4407SAndroid Build Coastguard Worker instrumentation_for: "PresencePollingTestHelper", 40*060f4407SAndroid Build Coastguard Worker certificate: "platform", 41*060f4407SAndroid Build Coastguard Worker test_suites: ["device-tests"], 42*060f4407SAndroid Build Coastguard Worker 43*060f4407SAndroid Build Coastguard Worker data: [ 44*060f4407SAndroid Build Coastguard Worker ":PresencePolling", 45*060f4407SAndroid Build Coastguard Worker ], 46*060f4407SAndroid Build Coastguard Worker} 47