xref: /aosp_15_r20/cts/hostsidetests/appbinding/app/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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.stubs.test"],
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}
99
100android_test_helper_app {
101    name: "CtsAppBindingService5",
102    defaults: [
103        "cts_hostside_appbinding_defaults",
104        "cts_defaults",
105    ],
106    srcs: ["src/**/*.java"],
107    manifest: "app5/AndroidManifest.xml",
108    test_suites: [
109        "cts",
110        "general-tests",
111    ],
112}
113
114android_test_helper_app {
115    name: "CtsAppBindingService6",
116    defaults: [
117        "cts_hostside_appbinding_defaults",
118        "cts_defaults",
119    ],
120    srcs: ["src/**/*.java"],
121    manifest: "app6/AndroidManifest.xml",
122    test_suites: [
123        "cts",
124        "general-tests",
125    ],
126}
127
128android_test_helper_app {
129    name: "CtsAppBindingService7",
130    defaults: [
131        "cts_hostside_appbinding_defaults",
132        "cts_defaults",
133    ],
134    srcs: ["src/**/*.java"],
135    manifest: "app7/AndroidManifest.xml",
136    test_suites: [
137        "cts",
138        "vts",
139        "general-tests",
140    ],
141}
142
143android_test_helper_app {
144    name: "CtsAppBindingServiceB",
145    defaults: [
146        "cts_hostside_appbinding_defaults",
147        "cts_defaults",
148    ],
149    srcs: ["src/**/*.java"],
150    manifest: "appb/AndroidManifest.xml",
151    // tag this module as a cts test artifact
152    test_suites: [
153        "cts",
154        "general-tests",
155    ],
156}
157