aboutsummaryrefslogtreecommitdiff
path: root/gps/location/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'gps/location/Android.bp')
-rw-r--r--gps/location/Android.bp36
1 files changed, 36 insertions, 0 deletions
diff --git a/gps/location/Android.bp b/gps/location/Android.bp
new file mode 100644
index 0000000..8532a08
--- /dev/null
+++ b/gps/location/Android.bp
@@ -0,0 +1,36 @@
+
+cc_library_shared {
+
+ name: "liblocation_api",
+ vendor: true,
+
+ sanitize: GNSS_SANITIZE,
+
+ shared_libs: [
+ "libutils",
+ "libcutils",
+ "libgps.utils",
+ "libdl",
+ "liblog",
+ ],
+
+ srcs: [
+ "LocationAPI.cpp",
+ "LocationAPIClientBase.cpp",
+ ],
+
+ cflags: ["-fno-short-enums"] + GNSS_CFLAGS,
+
+ header_libs: [
+ "libloc_pla_headers",
+ "libgps.utils_headers",
+ ],
+
+}
+
+cc_library_headers {
+
+ name: "liblocation_api_headers",
+ export_include_dirs: ["."],
+ vendor: true,
+}