• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20    name: "CtsAndroidTestBaseCurrentApiSignatureTestCases",
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, android.test.runner and android.test.mock classes being available
36    // at runtime by excluding them from the list of libraries that are implicitly added to the
37    // manifest. Otherwise, the test would break as it is not expecting those classes to be
38    // available.
39    exclude_uses_libs: [
40        "android.test.base",
41        "android.test.runner",
42        "android.test.mock",
43    ],
44
45    use_embedded_native_libs: false,
46    test_suites: [
47        "cts",
48        "general-tests",
49    ],
50}
51