• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2021 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    default_team: "trendy_team_system_experience",
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21android_test {
22    name: "CarQCLibUnitTests",
23
24    certificate: "platform",
25    privileged: true,
26
27    srcs: ["src/**/*.java"],
28
29    libs: [
30        "android.test.runner.stubs.system",
31        "android.test.base.stubs.system",
32        "android.test.mock.stubs.system",
33        "token-shared-lib-prebuilt",
34    ],
35
36    enforce_uses_libs: false,
37
38    static_libs: [
39        "car-qc-lib",
40        "androidx.test.core",
41        "androidx.test.rules",
42        "androidx.test.ext.junit",
43        "androidx.test.ext.truth",
44        "mockito-target-extended-minus-junit4",
45        "platform-test-annotations",
46        "truth",
47        "testng",
48        "oem-token-lib",
49    ],
50
51    jni_libs: [
52        "libdexmakerjvmtiagent",
53        "libstaticjvmtiagent",
54    ],
55}
56