blob: 9cf29ba6f5078943a70f170193146b6dba5cb275 [file] [log] [blame]
Dan Harmsaffc5d02020-01-28 14:33:32 -08001//
2// Copyright (C) 2019 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//
16
17android_test {
18 name: "connected-device-lib-unit-tests",
19
20 srcs: ["src/**/*.java"],
21
22 libs: [
23 "android.test.runner",
24 "android.test.base",
25 "android.test.mock",
26 ],
27
28 static_libs: [
29 "android.car",
30 "androidx.test.core",
31 "androidx.test.ext.junit",
32 "androidx.test.rules",
33 "connected-device-lib",
34 "mockito-target-extended-minus-junit4",
35 "testables",
36 "truth-prebuilt",
37 ],
38
39 jni_libs: [
40 // For mockito extended
41 "libdexmakerjvmtiagent",
42 "libstaticjvmtiagent",
43 ],
44
45 platform_apis: true,
46
47 certificate: "platform",
48
49 privileged: true,
50}