Home | History | Annotate | Download | only in core
      1 ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
      2 ifneq ($(BUILD_TINY_ANDROID),true)
      3 
      4 LOCAL_PATH := $(call my-dir)
      5 
      6 include $(CLEAR_VARS)
      7 
      8 LOCAL_MODULE := libloc_core
      9 LOCAL_MODULE_OWNER := qcom
     10 
     11 LOCAL_MODULE_TAGS := optional
     12 LOCAL_PROPRIETARY_MODULE := true
     13 
     14 ifeq ($(TARGET_DEVICE),apq8026_lw)
     15 LOCAL_CFLAGS += -DPDK_FEATURE_SET
     16 else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
     17 LOCAL_CFLAGS += -DPDK_FEATURE_SET
     18 endif
     19 
     20 LOCAL_SHARED_LIBRARIES := \
     21     liblog \
     22     libutils \
     23     libcutils \
     24     libgps.utils \
     25     libdl
     26 
     27 LOCAL_SRC_FILES += \
     28     LocApiBase.cpp \
     29     LocAdapterBase.cpp \
     30     ContextBase.cpp \
     31     LocDualContext.cpp \
     32     loc_core_log.cpp
     33 
     34 LOCAL_CFLAGS += \
     35      -fno-short-enums \
     36      -D_ANDROID_ \
     37      -Wno-unused-parameter
     38 
     39 LOCAL_C_INCLUDES:= \
     40     $(TARGET_OUT_HEADERS)/gps.utils
     41 
     42 LOCAL_HEADER_LIBRARIES := libgps.utils_headers
     43 
     44 LOCAL_PRELINK_MODULE := false
     45 
     46 include $(BUILD_SHARED_LIBRARY)
     47 
     48 include $(CLEAR_VARS)
     49 LOCAL_MODULE := libloc_core_headers
     50 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
     51 include $(BUILD_HEADER_LIBRARY)
     52 
     53 endif # not BUILD_TINY_ANDROID
     54 endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
     55