blob: bad376e5462450a4b6e108260c97cde443927def [file] [log] [blame]
tadvanab8686ac2019-08-06 16:22:41 -07001// 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
Bob Badour4da7d222021-02-22 16:14:07 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
tadvanab8686ac2019-08-06 16:22:41 -070019java_library {
20 name: "android.car.testapi",
21 srcs: [
felipeal3e8b49d2020-04-27 14:16:43 -070022 "src/android/car/testapi/*.java",
tadvanab8686ac2019-08-06 16:22:41 -070023 ],
24 product_variables: {
25 pdk: {
26 enabled: false,
27 },
28 },
29 static_libs: [
30 "android.car",
tadvanaf7746cd2019-10-04 16:02:56 -070031 "car-service-test-lib",
tadvanaf1702e92019-08-08 15:17:28 -070032 ],
33 libs: [
tadvanab8686ac2019-08-06 16:22:41 -070034 "mockito",
35 ],
36 installable: false,
37 dist: {
38 targets: ["dist_files"],
39 }
40}
felipeal3e8b49d2020-04-27 14:16:43 -070041
42java_library {
43 name: "android.car.test.utils",
44 srcs: [
45 "src/android/car/test/**/*.java",
46 ],
47 libs: [
felipeal7f731772020-04-27 14:16:43 -070048 "android.hardware.automotive.vehicle-V2.0-java",
felipeal3e8b49d2020-04-27 14:16:43 -070049 "mockito-target-extended",
Yan Zhue0c490e2020-05-16 00:23:38 -070050 "compatibility-device-util-axt",
Ashutosh Agarwal97433352021-10-04 18:14:58 +000051 "android.test.mock",
felipeal3e8b49d2020-04-27 14:16:43 -070052 ],
53}