xref: /aosp_15_r20/cts/tests/tests/sharesheet/packages/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// 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
15package {
16    default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test_helper_app {
21    name: "CtsSharesheetActivityLabelTester",
22    defaults: ["cts_defaults"],
23    srcs: ["packages/src/**/*.java"],
24    // tag this module as a cts test artifact
25    test_suites: [
26        "cts",
27        "general-tests",
28    ],
29    aaptflags: [
30        "--rename-manifest-package",
31        "android.sharesheet.cts.packages.activitylabeltester",
32    ],
33    manifest: "AndroidManifest-ActivityLabelTester.xml",
34    sdk_version: "test_current",
35}
36
37android_test_helper_app {
38    name: "CtsSharesheetIntentFilterLabelTester",
39    defaults: ["cts_defaults"],
40    srcs: ["packages/src/**/*.java"],
41    // tag this module as a cts test artifact
42    test_suites: [
43        "cts",
44        "general-tests",
45    ],
46    aaptflags: [
47        "--rename-manifest-package",
48        "android.sharesheet.cts.packages.intentfilterlabeltester",
49    ],
50    manifest: "AndroidManifest-IntentFilterLabelTester.xml",
51    sdk_version: "test_current",
52}
53
54android_test_helper_app {
55    name: "CtsSharesheetExcludeTester",
56    defaults: ["cts_defaults"],
57    srcs: ["packages/src/**/*.java"],
58    // tag this module as a cts test artifact
59    test_suites: [
60        "cts",
61        "general-tests",
62    ],
63    aaptflags: [
64        "--rename-manifest-package",
65        "android.sharesheet.cts.packages.excludetester",
66    ],
67    manifest: "AndroidManifest-ExcludeTester.xml",
68    sdk_version: "test_current",
69}
70
71android_test_helper_app {
72    name: "CtsSharesheetAlternateType",
73    defaults: ["cts_defaults"],
74    srcs: ["packages/src/**/*.java"],
75    // tag this module as a cts test artifact
76    test_suites: [
77        "cts",
78        "general-tests",
79    ],
80    aaptflags: [
81        "--rename-manifest-package",
82        "android.sharesheet.cts.packages.alternatetype",
83    ],
84    manifest: "AndroidManifest-AlternateType.xml",
85    sdk_version: "test_current",
86}
87