1// 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19java_test_helper_library {
20    name: "cts-location-gnss-tests",
21    libs: [
22        "android.test.runner",
23        "android.test.base",
24    ],
25    static_libs: [
26        "LocationCtsCommon",
27        "compatibility-device-util-axt",
28        "ctstestrunner-axt",
29        "apache-commons-math",
30        "platform-test-annotations",
31    ],
32    proto: {
33        type: "nano",
34    },
35    srcs: [
36        "src/**/*.java",
37        "protos/**/*.proto",
38    ],
39    sdk_version: "test_current",
40}
41
42android_test {
43    name: "CtsLocationGnssTestCases",
44    team: "trendy_team_location_time",
45    defaults: ["cts_defaults"],
46    static_libs: [
47        "LocationCtsCommon",
48        "androidx.test.ext.junit",
49        "androidx.test.ext.truth",
50        "androidx.test.rules",
51        "compatibility-device-util-axt",
52        "ctstestrunner-axt",
53        "truth",
54        "apache-commons-math",
55    ],
56    libs: [
57        "android.test.runner",
58        "android.test.base",
59    ],
60    proto: {
61        type: "nano",
62    },
63    srcs: [
64        "src/**/*.java",
65        "protos/**/*.proto",
66    ],
67    test_suites: [
68        "cts",
69        "general-tests",
70    ],
71    sdk_version: "test_current",
72}
73