1//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_lse_app_compat",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22java_library_static {
23    name: "pre_install_override_lib",
24    sdk_version: "current",
25    srcs: ["src/**/*.java"],
26}
27
28android_test_helper_app {
29    name: "appcompat_preinstall_override_versioncode1_debuggable",
30    defaults: ["cts_defaults"],
31    sdk_version: "current",
32    static_libs: ["pre_install_override_lib"],
33    manifest: "AndroidManifest_versioncode1_debuggable.xml",
34    // Tag this module as a cts test artifact
35    test_suites: [
36        "cts",
37        "vts10",
38        "general-tests",
39    ],
40}
41
42android_test_helper_app {
43    name: "appcompat_preinstall_override_versioncode2_debuggable",
44    defaults: ["cts_defaults"],
45    sdk_version: "current",
46    static_libs: ["pre_install_override_lib"],
47    manifest: "AndroidManifest_versioncode2_debuggable.xml",
48    // Tag this module as a cts test artifact
49    test_suites: [
50        "cts",
51        "vts10",
52        "general-tests",
53    ],
54}
55
56android_test_helper_app {
57    name: "appcompat_preinstall_override_versioncode1_release",
58    defaults: ["cts_defaults"],
59    sdk_version: "current",
60    static_libs: ["pre_install_override_lib"],
61    manifest: "AndroidManifest_versioncode1_release.xml",
62    // Tag this module as a cts test artifact
63    test_suites: [
64        "cts",
65        "vts10",
66        "general-tests",
67    ],
68}
69
70android_test_helper_app {
71    name: "appcompat_preinstall_override_versioncode2_release",
72    defaults: ["cts_defaults"],
73    sdk_version: "current",
74    static_libs: ["pre_install_override_lib"],
75    manifest: "AndroidManifest_versioncode2_release.xml",
76    // Tag this module as a cts test artifact
77    test_suites: [
78        "cts",
79        "vts10",
80        "general-tests",
81    ],
82}
83
84android_test_helper_app {
85    name: "appcompat_preinstall_override2_versioncode1_release",
86    defaults: ["cts_defaults"],
87    sdk_version: "current",
88    static_libs: ["pre_install_override_lib"],
89    manifest: "AndroidManifest_2_versioncode1_release.xml",
90    // Tag this module as a cts test artifact
91    test_suites: [
92        "cts",
93        "vts10",
94        "general-tests",
95    ],
96}
97