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} 41android_test { 42 name: "CtsLocationGnssTestCases", 43 defaults: ["cts_defaults"], 44 static_libs: [ 45 "LocationCtsCommon", 46 "androidx.test.ext.junit", 47 "androidx.test.ext.truth", 48 "androidx.test.rules", 49 "compatibility-device-util-axt", 50 "ctstestrunner-axt", 51 "truth-prebuilt", 52 "apache-commons-math", 53 ], 54 libs: [ 55 "android.test.runner", 56 "android.test.base", 57 ], 58 proto: { 59 type: "nano", 60 }, 61 srcs: [ 62 "src/**/*.java", 63 "protos/**/*.proto", 64 ], 65 test_suites: [ 66 "cts", 67 "general-tests", 68 ], 69 sdk_version: "test_current", 70} 71