blob: 15a680db0f4b75de86817e29a21098008c2fa90d [file] [log] [blame]
Makoto Onukifc007922021-08-16 12:02:39 -07001// Copyright (C) 2021 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_library {
20 name: "ComponentAliasTestsCommon",
21 srcs: [
22 "common/**/*.java",
23 ],
24 plugins: [
25 "staledataclass-annotation-processor",
26 ],
27 platform_apis: true, // We use hidden APIs in the test.
28}
29
30android_test {
31 name: "ComponentAliasTests",
32 static_libs: [
33 "androidx.test.rules",
34 "compatibility-device-util-axt",
35 "mockito-target-extended-minus-junit4",
36 "truth-prebuilt",
37 "ub-uiautomator",
38 "ComponentAliasTestsCommon",
39 ],
40 libs: ["android.test.base"],
41 srcs: [
42 "src/**/*.java",
43 ],
44 test_suites: [
45 "general-tests",
46 ],
47 platform_apis: true, // We use hidden APIs in the test.
48}