// Copyright (C) 2017 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { default_team: "trendy_team_mainline_modularization", default_applicable_licenses: ["Android-Apache-2.0"], } android_test { name: "CtsAndroidTestRunnerCurrentApiSignatureTestCases", defaults: [ "signature-api-check-defaults", ], // Ensure that any android.test and junit classes embedded within this test do not conflict with // the classes provided by the android.test.base or android.test.runner shared libraries. jarjar_rules: ":cts-android-test-jarjar-rules", java_resources: [ ":cts-android-test-base-current-api-gz", ":cts-android-test-mock-current-api-gz", ":cts-android-test-runner-current-api-gz", ], // Prevent android.test.base and android.test.mock libraries from being implicitly added to // the manifest. Their classes should still be available at runtime as a dependency on // android.test.runner should automatically add a dependency on android.test.base and // android.test.mock. exclude_uses_libs: [ "android.test.base", "android.test.mock", ], use_embedded_native_libs: false, test_suites: [ "cts", "general-tests", ], }