summaryrefslogtreecommitdiff
path: root/pla/Android.mk
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@gmail.com>2020-04-18 17:12:06 +0300
committerMichael Bestas <mkbestas@gmail.com>2020-04-18 17:12:06 +0300
commitea8aefcf657335910a97e158e1c4752db9b0a880 (patch)
tree0b9f185d6b013c9402446ad1d41ae560fa137288 /pla/Android.mk
Squashed 'gps/' content from commit 8582827c8
git-subtree-dir: gps git-subtree-split: 8582827c8f8cb19c2eff71f0737e17f3068ba41a
Diffstat (limited to 'pla/Android.mk')
-rw-r--r--pla/Android.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/pla/Android.mk b/pla/Android.mk
new file mode 100644
index 0000000..a57861d
--- /dev/null
+++ b/pla/Android.mk
@@ -0,0 +1,29 @@
+GNSS_CFLAGS := \
+ -Werror \
+ -Wno-error=unused-parameter \
+ -Wno-error=macro-redefined \
+ -Wno-error=reorder \
+ -Wno-error=missing-braces \
+ -Wno-error=self-assign \
+ -Wno-error=enum-conversion \
+ -Wno-error=logical-op-parentheses \
+ -Wno-error=null-arithmetic \
+ -Wno-error=null-conversion \
+ -Wno-error=parentheses-equality \
+ -Wno-error=undefined-bool-conversion \
+ -Wno-error=tautological-compare \
+ -Wno-error=switch \
+ -Wno-error=date-time
+
+ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
+ifneq ($(BUILD_TINY_ANDROID),true)
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libloc_pla_headers
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/android
+include $(BUILD_HEADER_LIBRARY)
+
+endif # not BUILD_TINY_ANDROID
+endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE