• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2012 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
15android_app {
16    name: "FusedLocation",
17    srcs: ["src/**/*.java"],
18    libs: ["com.android.location.provider"],
19    platform_apis: true,
20    certificate: "platform",
21    privileged: true,
22}
23
24android_test {
25    name: "FusedLocationTests",
26    manifest: "test/AndroidManifest.xml",
27    test_config: "test/AndroidTest.xml",
28    srcs: [
29        "test/src/**/*.java",
30        "src/**/*.java",  // include real sources because we're forced to test this directly
31    ],
32    libs: [
33        "android.test.base",
34        "android.test.runner",
35        "com.android.location.provider",
36    ],
37    static_libs: [
38        "androidx.test.core",
39        "androidx.test.rules",
40        "androidx.test.ext.junit",
41        "androidx.test.ext.truth",
42        "mockito-target-minus-junit4",
43        "truth-prebuilt",
44    ],
45    test_suites: ["device-tests"]
46}