xref: /aosp_15_r20/cts/tests/tests/content/MockLauncherApp/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// 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_team: "trendy_team_framework_android_packages",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_defaults {
21    name: "launcher_defaults",
22    defaults: ["cts_defaults"],
23    static_libs: [
24        "androidx.appcompat_appcompat",
25    ],
26}
27
28android_test_helper_app {
29    name: "CtsContentMockLauncherTestApp",
30    defaults: ["launcher_defaults"],
31    manifest: "AndroidManifest.xml",
32    srcs: ["src/**/*.java"],
33    sdk_version: "current",
34    // tag this module as a cts test artifact
35    test_suites: [
36        "cts",
37        "general-tests",
38    ],
39}
40
41android_test_helper_app {
42    name: "CtsContentMockLauncherActivityLabelTestApp",
43    defaults: ["launcher_defaults"],
44    manifest: "AndroidManifestActivityLabel.xml",
45    srcs: ["src/**/*.java"],
46    sdk_version: "current",
47    // tag this module as a cts test artifact
48    test_suites: [
49        "cts",
50        "general-tests",
51    ],
52}
53
54android_test_helper_app {
55    name: "CtsContentMockLauncherApplicationLabelTestApp",
56    defaults: ["launcher_defaults"],
57    manifest: "AndroidManifestApplicationLabel.xml",
58    srcs: ["src/**/*.java"],
59    sdk_version: "current",
60    // tag this module as a cts test artifact
61    test_suites: [
62        "cts",
63        "general-tests",
64    ],
65}
66
67android_test_helper_app {
68    name: "CtsContentMockLauncherInvisibleLabelsTestApp",
69    defaults: ["launcher_defaults"],
70    manifest: "AndroidManifestInvisibleLabels.xml",
71    srcs: ["src/**/*.java"],
72    sdk_version: "current",
73    // tag this module as a cts test artifact
74    test_suites: [
75        "cts",
76        "general-tests",
77    ],
78}
79