summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorAdam Serbinski <adam@serbinski.com>2019-04-26 15:56:33 -0400
committerGary E. Miller <gem@rellim.com>2019-04-27 18:23:36 -0700
commitf6e95e04a4c5f859a0ce90ce3af408d0ccba7fd6 (patch)
tree2d02e3b555af022f40f0af017279a3dcc883590b /Android.bp
parent043fafb9f1312a4be8fec0f63a07777c86524a01 (diff)
downloadgpsd-f6e95e04a4c5f859a0ce90ce3af408d0ccba7fd6.tar.gz
Android: GNSS 1.1 HAL
Everything needed to get a working GPS in Android. Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e307e342..fbdaf9f0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -22,6 +22,7 @@ cc_binary {
cc_binary {
name: "gpsd",
vendor: true,
+ required: ["gpsd_wrapper"],
generated_headers: [
"gpsd_timebase_h",
"gpsd_revision_h",
@@ -45,6 +46,17 @@ cc_binary {
]
}
+cc_binary {
+ name: "gpsd_wrapper",
+ vendor: true,
+ init_rc: ["android/gpsd.rc"],
+ srcs: ["android/gpsd_wrapper.c"],
+ shared_libs: [
+ "liblog",
+ "libcutils"
+ ]
+}
+
cc_library_shared {
name: "libgps",
vendor: true,