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_team: "trendy_team_mainline_modularization",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsAndroidTestRunnerCurrentApiSignatureTestCases",
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 and android.test.mock libraries from being implicitly added to
37    // the manifest. Their classes should still be available at runtime as a dependency on
38    // android.test.runner should automatically add a dependency on android.test.base and
39    // android.test.mock.
40    exclude_uses_libs: [
41        "android.test.base",
42        "android.test.mock",
43    ],
44
45    use_embedded_native_libs: false,
46    test_suites: [
47        "cts",
48        "general-tests",
49    ],
50}
51