blob: 153fd44bdc75822216a625a4900487edc2088a4f [file] [log] [blame]
Alex Kershaw4343a912020-01-17 19:42:44 +00001// Copyright (C) 2020 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
Bob Badoure37c32e2021-02-12 19:42:55 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Alex Kershaw4343a912020-01-17 19:42:44 +000019android_test_helper_app {
Rubin Xu94f87582020-07-28 23:58:52 +010020 name: "TestApp1",
Alex Kershaw4343a912020-01-17 19:42:44 +000021 defaults: ["cts_defaults"],
22 platform_apis: true,
Rubin Xu94f87582020-07-28 23:58:52 +010023 srcs: ["testapp1/src/**/*.java"],
Alex Kershaw4343a912020-01-17 19:42:44 +000024 libs: [
Jiyong Parkcaaed962020-05-19 21:12:39 +090025 "android.test.runner",
26 "android.test.base",
Alex Kershaw4343a912020-01-17 19:42:44 +000027 ],
28 static_libs: [
29 "compatibility-device-util-axt",
30 "ctstestrunner-axt",
31 "ub-uiautomator",
32 "cts-security-test-support-library",
33 "androidx.legacy_legacy-support-v4",
34 ],
35 min_sdk_version: "23",
36 // tag this module as a cts test artifact
37 test_suites: [
38 "cts",
Alex Kershaw4343a912020-01-17 19:42:44 +000039 "general-tests",
40 ],
Rubin Xu94f87582020-07-28 23:58:52 +010041 manifest: "testapp1/AndroidManifest.xml",
Alex Kershaw4343a912020-01-17 19:42:44 +000042}
43
44android_test_helper_app {
Rubin Xu94f87582020-07-28 23:58:52 +010045 name: "TestApp2",
Alex Kershaw4343a912020-01-17 19:42:44 +000046 defaults: ["cts_defaults"],
47 platform_apis: true,
Rubin Xu94f87582020-07-28 23:58:52 +010048 srcs: ["testapp2/src/**/*.java"],
Alex Kershaw4343a912020-01-17 19:42:44 +000049 libs: [
Jiyong Parkcaaed962020-05-19 21:12:39 +090050 "android.test.runner",
51 "android.test.base",
Alex Kershaw4343a912020-01-17 19:42:44 +000052 ],
53 static_libs: [
54 "compatibility-device-util-axt",
55 "ctstestrunner-axt",
56 "ub-uiautomator",
57 "cts-security-test-support-library",
58 "androidx.legacy_legacy-support-v4",
59 ],
60 min_sdk_version: "23",
61 // tag this module as a cts test artifact
62 test_suites: [
63 "cts",
Alex Kershaw4343a912020-01-17 19:42:44 +000064 "general-tests",
65 ],
Rubin Xu94f87582020-07-28 23:58:52 +010066 manifest: "testapp2/AndroidManifest.xml",
Alex Kershaw4343a912020-01-17 19:42:44 +000067}
68
69android_test_helper_app {
Rubin Xu94f87582020-07-28 23:58:52 +010070 name: "TestApp3",
Alex Kershaw4343a912020-01-17 19:42:44 +000071 defaults: ["cts_defaults"],
72 platform_apis: true,
Rubin Xu94f87582020-07-28 23:58:52 +010073 srcs: ["testapp3/src/**/*.java"],
Alex Kershaw4343a912020-01-17 19:42:44 +000074 libs: [
Jiyong Parkcaaed962020-05-19 21:12:39 +090075 "android.test.runner",
76 "android.test.base",
Alex Kershaw4343a912020-01-17 19:42:44 +000077 ],
78 static_libs: [
79 "compatibility-device-util-axt",
80 "ctstestrunner-axt",
81 "ub-uiautomator",
82 "cts-security-test-support-library",
83 "androidx.legacy_legacy-support-v4",
84 ],
85 min_sdk_version: "23",
86 // tag this module as a cts test artifact
87 test_suites: [
88 "cts",
Alex Kershaw4343a912020-01-17 19:42:44 +000089 "general-tests",
90 ],
Rubin Xu94f87582020-07-28 23:58:52 +010091 manifest: "testapp3/AndroidManifest.xml",
Alex Kershaw4343a912020-01-17 19:42:44 +000092}
93
94android_test_helper_app {
Rubin Xu94f87582020-07-28 23:58:52 +010095 name: "TestApp4",
Alex Kershaw4343a912020-01-17 19:42:44 +000096 defaults: ["cts_defaults"],
97 platform_apis: true,
Rubin Xu94f87582020-07-28 23:58:52 +010098 srcs: ["testapp4/src/**/*.java"],
Alex Kershaw4343a912020-01-17 19:42:44 +000099 libs: [
Jiyong Parkcaaed962020-05-19 21:12:39 +0900100 "android.test.runner",
101 "android.test.base",
Alex Kershaw4343a912020-01-17 19:42:44 +0000102 ],
103 static_libs: [
104 "compatibility-device-util-axt",
105 "ctstestrunner-axt",
106 "ub-uiautomator",
107 "cts-security-test-support-library",
108 "androidx.legacy_legacy-support-v4",
109 ],
110 min_sdk_version: "23",
111 // tag this module as a cts test artifact
112 test_suites: [
113 "cts",
Alex Kershaw4343a912020-01-17 19:42:44 +0000114 "general-tests",
115 ],
Rubin Xu94f87582020-07-28 23:58:52 +0100116 manifest: "testapp4/AndroidManifest.xml",
Alex Kershaw4343a912020-01-17 19:42:44 +0000117}