• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2019 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
19java_library {
20    name: "android.car.testapi",
21    srcs: [
22        "src/android/car/testapi/*.java",
23    ],
24    product_variables: {
25        pdk: {
26            enabled: false,
27        },
28    },
29    static_libs: [
30        "car-service-test-static-lib",
31    ],
32    libs: [
33        "android.car",
34        "mockito",
35    ],
36    installable: false,
37    dist: {
38        targets: ["dist_files"],
39    }
40}
41
42java_library {
43    name: "android.car.test.utils",
44    srcs: [
45        "src/android/car/test/**/*.java",
46    ],
47    libs: [
48        "android.car",
49        "android.car.builtin",
50        "android.hardware.automotive.vehicle-V2.0-java",
51        "android.hardware.automotive.vehicle-V1-java",
52        "mockito-target-extended",
53        "compatibility-device-util-axt",
54        "android.test.mock",
55    ],
56}
57