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
15java_library {
16    name: "GameCoreHelper",
17    srcs: [
18        "src/**/*.java",
19        "proto/**/*.proto",
20    ],
21    sdk_version: "26", // Oreo
22    proto: {
23        type: "lite"
24    }
25}
26
27java_library_host {
28    name: "GameCoreHelperHost",
29    srcs: [
30        "src/**/*.java",
31        "proto/**/*.proto",
32    ],
33    proto: {
34        type: "lite"
35    },
36    libs: [
37        "libprotobuf-java-lite"
38    ],
39}
40
41// Test
42java_test_host {
43    name: "GameCoreHelperTest",
44    srcs: ["test/**/*.java"],
45    test_suites: [
46        "general-tests"
47    ],
48    libs: [
49        "junit-host",
50    ],
51    static_libs: [
52        "GameCoreHelperHost",
53    ],
54}
55