summaryrefslogtreecommitdiff
path: root/location/lib
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-09-17 14:51:28 +0900
committerJiyong Park <jiyong@google.com>2019-09-17 23:17:47 +0900
commitb1d2701f7662c33a231b528a4bb444b366d1489a (patch)
tree01fb3afd99c01cd5a307beabab6b0729e3df5999 /location/lib
parent021299d61cc569ef496a0942f6a90a4d8105e687 (diff)
Build java_sdk_libraries with much less sources
This change fixes a regression that java_sdk_libraries under frameworks/base were built with all framework sources. Bug: 141149570 Test: m Change-Id: Iea1d2ae20ca1c5b514a52d8b2a22e8a1d7543efd
Diffstat (limited to 'location/lib')
-rw-r--r--location/lib/Android.bp7
1 files changed, 3 insertions, 4 deletions
diff --git a/location/lib/Android.bp b/location/lib/Android.bp
index b36aa036daba..fe0f669508eb 100644
--- a/location/lib/Android.bp
+++ b/location/lib/Android.bp
@@ -16,12 +16,11 @@
java_sdk_library {
name: "com.android.location.provider",
- srcs: [
- "java/**/*.java",
- ":framework-all-sources",
- ],
+ srcs: ["java/**/*.java"],
+ api_srcs: [":framework-all-sources"],
libs: [
"androidx.annotation_annotation",
+ "framework-all",
],
api_packages: ["com.android.location.provider"],
}