• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 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//
15//
16
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21android_test {
22    name: "AndroidCarApiTest",
23
24    srcs: [
25            "src/**/*.java",
26            "src/**/*.aidl",
27    ],
28
29    platform_apis: true,
30
31    // for system|privileged permission.
32    certificate: "platform",
33
34    min_sdk_version: "33",
35    target_sdk_version: "33",
36
37    // When built explicitly put it in the data partition
38
39    optimize: {
40        enabled: false,
41    },
42
43    static_libs: ["junit"] + [
44        "androidx.test.rules",
45        "android.car.apitest-aidl-binder-java",
46        "android.car.cluster.navigation",
47        "android.car.cluster.navigation",
48        "android.car.testapi",
49        "android.car.test.utils",
50        "androidx.test.runner",
51// TODO(b/236153976): comment back once guava is supported
52//      "guava-android-testlib",
53        "compatibility-device-util-axt",
54        "platform-test-annotations",
55        "testng",
56        "truth-prebuilt",
57    ],
58
59    libs: [
60        "android.car",
61        "android.test.runner",
62        "android.test.base",
63    ],
64
65    test_suites: ["general-tests"],
66}
67