1// Copyright (C) 2018 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
15// Build the common utility library for use device-side
16java_library_static {
17    name: "compatibility-common-util-devicesidelib",
18    sdk_version: "current",
19
20    srcs: ["src/**/*.java"],
21
22    static_libs: [
23        "guava",
24        "junit",
25    ],
26}
27
28// Build the common utility library for use host-side
29java_library_host {
30    name: "compatibility-common-util-hostsidelib",
31    defaults: ["cts_error_prone_rules"],
32
33    srcs: ["src/**/*.java"],
34
35    libs: [
36        "junit",
37	"guava",
38	"json-prebuilt",
39	"platform-test-annotations",
40	"kxml2-2.3.0",
41    ],
42}
43