You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Android.mk 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ifneq ($(BUILD_TINY_ANDROID),true)
  2. LOCAL_PATH := $(call my-dir)
  3. include $(CLEAR_VARS)
  4. LOCAL_MODULE := libloc_core
  5. LOCAL_MODULE_OWNER := qcom
  6. LOCAL_MODULE_TAGS := optional
  7. ifeq ($(TARGET_DEVICE),apq8026_lw)
  8. LOCAL_CFLAGS += -DPDK_FEATURE_SET
  9. else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
  10. LOCAL_CFLAGS += -DPDK_FEATURE_SET
  11. endif
  12. ifeq ($(QCPATH),)
  13. LOCAL_CFLAGS += -DOSS_BUILD
  14. endif
  15. LOCAL_SHARED_LIBRARIES := \
  16. liblog \
  17. libutils \
  18. libcutils \
  19. libgps.utils \
  20. libdl \
  21. liblog \
  22. libprocessgroup
  23. LOCAL_SRC_FILES += \
  24. LocApiBase.cpp \
  25. LocAdapterBase.cpp \
  26. ContextBase.cpp \
  27. LocDualContext.cpp \
  28. loc_core_log.cpp
  29. LOCAL_CFLAGS += \
  30. -fno-short-enums \
  31. -D_ANDROID_
  32. LOCAL_C_INCLUDES:= \
  33. $(TARGET_OUT_HEADERS)/gps.utils \
  34. $(TARGET_OUT_HEADERS)/libflp
  35. LOCAL_COPY_HEADERS_TO:= libloc_core/
  36. LOCAL_COPY_HEADERS:= \
  37. LocApiBase.h \
  38. LocAdapterBase.h \
  39. ContextBase.h \
  40. LocDualContext.h \
  41. LBSProxyBase.h \
  42. UlpProxyBase.h \
  43. gps_extended_c.h \
  44. gps_extended.h \
  45. loc_core_log.h \
  46. LocAdapterProxyBase.h
  47. LOCAL_PRELINK_MODULE := false
  48. include $(BUILD_SHARED_LIBRARY)
  49. endif # not BUILD_TINY_ANDROID