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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19java_defaults { 20 name: "CtsSignedConfigDefaults", 21 sdk_version: "current", 22 optimize: { 23 enabled: false, 24 }, 25 dex_preopt: { 26 enabled: false, 27 }, 28 srcs: ["src/**/*.java"], 29} 30 31android_test_helper_app { 32 name: "CtsSignedConfigTestAppV1", 33 defaults: ["CtsSignedConfigDefaults"], 34 manifest: "version1_AndroidManifest.xml", 35 sdk_version: "current", 36 test_suites: [ 37 "cts", 38 "general-tests", 39 ], 40} 41 42android_test_helper_app { 43 name: "CtsSignedConfigTestAppV1_instant", 44 defaults: ["CtsSignedConfigDefaults"], 45 manifest: "version1_instant_AndroidManifest.xml", 46 test_suites: [ 47 "cts", 48 "general-tests", 49 ], 50} 51 52android_test_helper_app { 53 name: "CtsSignedConfigTestAppV2", 54 defaults: ["CtsSignedConfigDefaults"], 55 manifest: "version2_AndroidManifest.xml", 56 test_suites: [ 57 "cts", 58 "general-tests", 59 ], 60} 61 62android_test_helper_app { 63 name: "CtsSignedConfigTestAppV2_instant", 64 defaults: ["CtsSignedConfigDefaults"], 65 manifest: "version2_instant_AndroidManifest.xml", 66 test_suites: [ 67 "cts", 68 "general-tests", 69 ], 70} 71 72android_test_helper_app { 73 name: "CtsSignedConfigTestApp2V1", 74 defaults: ["CtsSignedConfigDefaults"], 75 manifest: "version1_package2_AndroidManifest.xml", 76 test_suites: [ 77 "cts", 78 "general-tests", 79 ], 80} 81 82android_test_helper_app { 83 name: "CtsSignedConfigTestApp2V2", 84 defaults: ["CtsSignedConfigDefaults"], 85 manifest: "version2_package2_AndroidManifest.xml", 86 test_suites: [ 87 "cts", 88 "general-tests", 89 ], 90} 91 92android_test_helper_app { 93 name: "CtsSignedConfigTestAppV1_badsignature", 94 defaults: ["CtsSignedConfigDefaults"], 95 manifest: "version1_badsignature_AndroidManifest.xml", 96 test_suites: [ 97 "cts", 98 "general-tests", 99 ], 100} 101 102android_test_helper_app { 103 name: "CtsSignedConfigTestAppV1_badb64_config", 104 defaults: ["CtsSignedConfigDefaults"], 105 manifest: "version1_badb64_config_AndroidManifest.xml", 106 test_suites: [ 107 "cts", 108 "general-tests", 109 ], 110} 111 112android_test_helper_app { 113 name: "CtsSignedConfigTestAppV1_badb64_signature", 114 defaults: ["CtsSignedConfigDefaults"], 115 manifest: "version1_badb64_signature_AndroidManifest.xml", 116 test_suites: [ 117 "cts", 118 "general-tests", 119 ], 120} 121 122android_test_helper_app { 123 name: "CtsSignedConfigTestAppV3_configv1", 124 defaults: ["CtsSignedConfigDefaults"], 125 manifest: "version3_configv1_AndroidManifest.xml", 126 test_suites: [ 127 "cts", 128 "general-tests", 129 ], 130} 131 132android_test_helper_app { 133 name: "CtsSignedConfigTestAppV1_debug_key", 134 defaults: ["CtsSignedConfigDefaults"], 135 manifest: "version1_debug_key_AndroidManifest.xml", 136 test_suites: [ 137 "cts", 138 "general-tests", 139 ], 140} 141