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_team: "trendy_team_mainline_modularization", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsAndroidTestBaseCurrentApiSignatureTestCases", 22 defaults: [ 23 "signature-api-check-defaults", 24 ], 25 26 // Ensure that any android.test and junit classes embedded within this test do not conflict with 27 // the classes provided by the android.test.base or android.test.runner shared libraries. 28 jarjar_rules: ":cts-android-test-jarjar-rules", 29 30 java_resources: [ 31 ":cts-android-test-base-current-api-gz", 32 ":cts-android-test-mock-current-api-gz", 33 ":cts-android-test-runner-current-api-gz", 34 ], 35 36 // Prevent android.test.base, android.test.runner and android.test.mock classes being available 37 // at runtime by excluding them from the list of libraries that are implicitly added to the 38 // manifest. Otherwise, the test would break as it is not expecting those classes to be 39 // available. 40 exclude_uses_libs: [ 41 "android.test.base", 42 "android.test.runner", 43 "android.test.mock", 44 ], 45 46 use_embedded_native_libs: false, 47 test_suites: [ 48 "cts", 49 "general-tests", 50 ], 51} 52