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_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21java_library_static { 22 name: "pre_install_override_lib", 23 sdk_version: "current", 24 srcs: ["src/**/*.java"], 25} 26 27android_test_helper_app { 28 name: "appcompat_preinstall_override_versioncode1_debuggable", 29 defaults: ["cts_defaults"], 30 sdk_version: "current", 31 static_libs: ["pre_install_override_lib"], 32 manifest: "AndroidManifest_versioncode1_debuggable.xml", 33 // Tag this module as a cts test artifact 34 test_suites: [ 35 "cts", 36 "vts10", 37 "general-tests", 38 ], 39} 40 41android_test_helper_app { 42 name: "appcompat_preinstall_override_versioncode2_debuggable", 43 defaults: ["cts_defaults"], 44 sdk_version: "current", 45 static_libs: ["pre_install_override_lib"], 46 manifest: "AndroidManifest_versioncode2_debuggable.xml", 47 // Tag this module as a cts test artifact 48 test_suites: [ 49 "cts", 50 "vts10", 51 "general-tests", 52 ], 53} 54 55android_test_helper_app { 56 name: "appcompat_preinstall_override_versioncode1_release", 57 defaults: ["cts_defaults"], 58 sdk_version: "current", 59 static_libs: ["pre_install_override_lib"], 60 manifest: "AndroidManifest_versioncode1_release.xml", 61 // Tag this module as a cts test artifact 62 test_suites: [ 63 "cts", 64 "vts10", 65 "general-tests", 66 ], 67} 68 69android_test_helper_app { 70 name: "appcompat_preinstall_override_versioncode2_release", 71 defaults: ["cts_defaults"], 72 sdk_version: "current", 73 static_libs: ["pre_install_override_lib"], 74 manifest: "AndroidManifest_versioncode2_release.xml", 75 // Tag this module as a cts test artifact 76 test_suites: [ 77 "cts", 78 "vts10", 79 "general-tests", 80 ], 81} 82