• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "com.android.permission.flags-aconfig-java-export",
34        "compatibility-device-util-axt",
35        "ctstestrunner-axt",
36        "Harrier",
37        "bedstead-multiuser",
38        "flag-junit",
39        "platform-test-annotations",
40        "platform-test-rules",
41        "truth",
42        "uiautomator-helpers",
43    ],
44
45    test_suites: [
46        "cts",
47        "general-tests",
48        "mts-permission",
49        "mcts-permission",
50    ],
51
52    data: [
53        ":CtsDefaultNotesApp",
54        ":CtsRoleTestApp",
55        ":CtsRoleTestApp28",
56        ":CtsRoleTestApp33WithoutInCallService",
57        ":CtsRoleTestAppClone",
58    ],
59}
60
61filegroup {
62    name: "CtsRoleTestUtils",
63    srcs: [
64        "src/android/app/role/cts/RoleManagerUtil.kt",
65    ],
66}
67