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 13 LOCAL_SHARED_LIBRARIES := \ 14 libutils \ 15 libcutils \ 16 libgps.utils \ 17 libdl 18 19 LOCAL_SRC_FILES += \ 20 MsgTask.cpp \ 21 LocApiBase.cpp \ 22 LocAdapterBase.cpp \ 23 ContextBase.cpp \ 24 LocDualContext.cpp \ 25 loc_core_log.cpp 26 27 LOCAL_CFLAGS += \ 28 -fno-short-enums \ 29 -D_ANDROID_ \ 30 -Wno-unused-parameter 31 32 LOCAL_C_INCLUDES:= \ 33 $(TARGET_OUT_HEADERS)/gps.utils 34 35 LOCAL_COPY_HEADERS_TO:= libloc_core/ 36 LOCAL_COPY_HEADERS:= \ 37 MsgTask.h \ 38 LocApiBase.h \ 39 LocAdapterBase.h \ 40 ContextBase.h \ 41 LocDualContext.h \ 42 LBSProxyBase.h \ 43 UlpProxyBase.h \ 44 gps_extended_c.h \ 45 gps_extended.h \ 46 loc_core_log.h \ 47 LocAdapterProxyBase.h 48 49 LOCAL_PRELINK_MODULE := false 50 51 include $(BUILD_SHARED_LIBRARY) 52 53 endif # not BUILD_TINY_ANDROID 54 endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 55