1 // 2 // Copyright (C) 2018 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 17 android_test { 18 name: "CtsInstantUpgradeApp", 19 defaults: ["cts_support_defaults"], 20 libs: [ 21 "android.test.runner.stubs", 22 "android.test.base.stubs", 23 ], 24 static_libs: [ 25 "cts-aia-util", 26 "androidx.test.rules", 27 "ctsdeviceutillegacy-axt", 28 "ctstestrunner-axt", 29 ], 30 // tag this module as a cts test artifact 31 test_suites: [ 32 "cts", 33 "vts", 34 "general-tests", 35 ], 36 srcs: ["src/**/*.java"], 37 platform_apis: true, 38 optimize: { 39 enabled: false, 40 }, 41 dex_preopt: { 42 enabled: false, 43 }, 44 min_sdk_version: "25", 45 } 46