1//
2// Copyright (C) 2018 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
17//###########################################################
18// CarArchCommon app just for Robolectric test target.     #
19//###########################################################
20android_app {
21    name: "CarArchCommon",
22
23    platform_apis: true,
24
25    privileged: true,
26
27    static_libs: ["car-arch-common"],
28}
29
30//###############################################
31// Car Arch Common Robolectric test target. #
32//###############################################
33android_robolectric_test {
34    name: "CarArchCommonRoboTests",
35
36    srcs: ["src/**/*.java"],
37
38    java_resource_dirs: ["config"],
39
40    // Include the testing libraries
41    libs: [
42        "androidx.arch.core_core-runtime",
43        "androidx.arch.core_core-common",
44    ],
45
46    instrumentation_for: "CarArchCommon",
47}
48