blob: ada463ac6b59f824d137e365db555de56ceb4dbf [file] [log] [blame]
Sasha Smundakdf848ac2019-02-08 15:13:25 -08001// 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",
Jeff Sharkeyd23b5372020-10-23 14:30:42 -060017 defaults: ["platform_app_defaults"],
Soonil Nagarkar4c0b85b2020-01-21 15:16:51 -080018 srcs: ["src/**/*.java"],
Sasha Smundakdf848ac2019-02-08 15:13:25 -080019 libs: ["com.android.location.provider"],
20 platform_apis: true,
21 certificate: "platform",
22 privileged: true,
23}
Soonil Nagarkar4c0b85b2020-01-21 15:16:51 -080024
25android_test {
26 name: "FusedLocationTests",
27 manifest: "test/AndroidManifest.xml",
28 test_config: "test/AndroidTest.xml",
29 srcs: [
30 "test/src/**/*.java",
31 "src/**/*.java", // include real sources because we're forced to test this directly
32 ],
33 libs: [
34 "android.test.base",
35 "android.test.runner",
36 "com.android.location.provider",
37 ],
38 static_libs: [
39 "androidx.test.core",
40 "androidx.test.rules",
41 "androidx.test.ext.junit",
42 "androidx.test.ext.truth",
43 "mockito-target-minus-junit4",
44 "truth-prebuilt",
45 ],
Soonil Nagarkar9ab10dc2020-03-04 10:01:23 -080046 platform_apis: true,
47 certificate: "platform",
Soonil Nagarkar4c0b85b2020-01-21 15:16:51 -080048 test_suites: ["device-tests"]
Jeff Sharkeyd23b5372020-10-23 14:30:42 -060049}