50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
// 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_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
android_test {
|
|
name: "CtsAndroidTestBase29ApiSignatureTestCases",
|
|
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",
|
|
],
|
|
min_sdk_version: "29",
|
|
|
|
// Prevent android.test.runner and android.test.mock classes being available at runtime by
|
|
// excluding them from the list of libraries that are implicitly added to the manifest.
|
|
// Otherwise, the test would break as it is not expecting those classes to be available.
|
|
exclude_uses_libs: [
|
|
"android.test.mock",
|
|
"android.test.runner",
|
|
],
|
|
|
|
use_embedded_native_libs: false,
|
|
test_suites: [
|
|
"cts",
|
|
"general-tests",
|
|
],
|
|
}
|