1// Copyright (C) 2018 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: "CtsRoleTestCases", 21 defaults: ["mts-target-sdk-version-current"], 22 sdk_version: "test_current", 23 min_sdk_version: "30", 24 25 srcs: [ 26 "src/**/*.java", 27 "src/**/*.kt", 28 ], 29 30 static_libs: [ 31 "android.permission.flags-aconfig-java-export", 32 "androidx.test.rules", 33 "compatibility-device-util-axt", 34 "ctstestrunner-axt", 35 "Harrier", 36 "platform-test-annotations", 37 "truth", 38 ], 39 40 test_suites: [ 41 "cts", 42 "general-tests", 43 "mts-permission", 44 "mcts-permission", 45 ], 46 47 data: [ 48 ":CtsRoleTestApp", 49 ":CtsRoleTestApp28", 50 ":CtsRoleTestApp33WithoutInCallService", 51 ":CtsRoleTestAppForProfile", 52 ], 53} 54