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// Copyright (C) 2018 The Android Open Source Project
15//
16// Licensed under the Apache License, Version 2.0 (the "License");
17// you may not use this file except in compliance with the License.
18// You may obtain a copy of the License at
19//
20//      http://www.apache.org/licenses/LICENSE-2.0
21//
22// Unless required by applicable law or agreed to in writing, software
23// distributed under the License is distributed on an "AS IS" BASIS,
24// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25// See the License for the specific language governing permissions and
26// limitations under the License.
27
28package {
29    default_applicable_licenses: ["Android-Apache-2.0"],
30}
31
32java_defaults {
33    name: "cts_hostside_appbinding_defaults",
34    libs: ["android.test.base"],
35    sdk_version: "test_current",
36    static_libs: [
37        "ctstestrunner-axt",
38        "compatibility-device-util-axt",
39        "androidx.legacy_legacy-support-v4",
40        "androidx.test.rules",
41    ],
42}
43
44android_test_helper_app {
45    name: "CtsAppBindingService1",
46    defaults: [
47        "cts_hostside_appbinding_defaults",
48        "cts_defaults",
49    ],
50    srcs: ["src/**/*.java"],
51    manifest: "app1/AndroidManifest.xml",
52    test_suites: [
53        "cts",
54        "general-tests",
55    ],
56}
57
58android_test_helper_app {
59    name: "CtsAppBindingService2",
60    defaults: [
61        "cts_hostside_appbinding_defaults",
62        "cts_defaults",
63    ],
64    srcs: ["src/**/*.java"],
65    manifest: "app2/AndroidManifest.xml",
66    test_suites: [
67        "cts",
68        "general-tests",
69    ],
70}
71
72android_test_helper_app {
73    name: "CtsAppBindingService3",
74    defaults: [
75        "cts_hostside_appbinding_defaults",
76        "cts_defaults",
77    ],
78    srcs: ["src/**/*.java"],
79    manifest: "app3/AndroidManifest.xml",
80    test_suites: [
81        "cts",
82        "general-tests",
83    ],
84}
85
86android_test_helper_app {
87    name: "CtsAppBindingService4",
88    defaults: [
89        "cts_hostside_appbinding_defaults",
90        "cts_defaults",
91    ],
92    srcs: ["src/**/*.java"],
93    manifest: "app4/AndroidManifest.xml",
94    test_suites: [
95        "cts",
96        "general-tests",
97    ],
98}
99android_test_helper_app {
100    name: "CtsAppBindingService5",
101    defaults: [
102        "cts_hostside_appbinding_defaults",
103        "cts_defaults",
104    ],
105    srcs: ["src/**/*.java"],
106    manifest: "app5/AndroidManifest.xml",
107    test_suites: [
108        "cts",
109        "general-tests",
110    ],
111}
112
113android_test_helper_app {
114    name: "CtsAppBindingService6",
115    defaults: [
116        "cts_hostside_appbinding_defaults",
117        "cts_defaults",
118    ],
119    srcs: ["src/**/*.java"],
120    manifest: "app6/AndroidManifest.xml",
121    test_suites: [
122        "cts",
123        "general-tests",
124    ],
125}
126
127android_test_helper_app {
128    name: "CtsAppBindingService7",
129    defaults: [
130        "cts_hostside_appbinding_defaults",
131        "cts_defaults",
132    ],
133    srcs: ["src/**/*.java"],
134    manifest: "app7/AndroidManifest.xml",
135    test_suites: [
136        "cts",
137        "vts",
138        "general-tests",
139    ],
140}
141
142android_test_helper_app {
143    name: "CtsAppBindingServiceB",
144    defaults: [
145        "cts_hostside_appbinding_defaults",
146        "cts_defaults",
147    ],
148    srcs: ["src/**/*.java"],
149    manifest: "appb/AndroidManifest.xml",
150    // tag this module as a cts test artifact
151    test_suites: [
152        "cts",
153        "general-tests",
154    ],
155}
156