• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2017 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
19android_test {
20    name: "CtsAndroidTestRunnerCurrentApiSignatureTestCases",
21    defaults: [
22        "signature-api-check-defaults",
23    ],
24
25    // Ensure that any android.test and junit classes embedded within this test do not conflict with
26    // the classes provided by the android.test.base or android.test.runner shared libraries.
27    jarjar_rules: ":cts-android-test-jarjar-rules",
28
29    java_resources: [
30        ":cts-android-test-base-current-api-gz",
31        ":cts-android-test-mock-current-api-gz",
32        ":cts-android-test-runner-current-api-gz",
33    ],
34
35    // Prevent android.test.base and android.test.mock libraries from being implicitly added to
36    // the manifest. Their classes should still be available at runtime as a dependency on
37    // android.test.runner should automatically add a dependency on android.test.base and
38    // android.test.mock.
39    exclude_uses_libs: [
40        "android.test.base",
41        "android.test.mock",
42    ],
43
44    use_embedded_native_libs: false,
45    test_suites: [
46        "cts",
47        "general-tests",
48    ],
49}
50