1 ifneq ($(BUILD_TINY_ANDROID),true) 2 3 LOCAL_PATH := $(call my-dir) 4 5 include $(CLEAR_VARS) 6 7 LOCAL_MODULE := libloc_api_v02 8 LOCAL_MODULE_OWNER := qti 9 LOCAL_MODULE_TAGS := optional 10 11 ifeq ($(TARGET_DEVICE),apq8026_lw) 12 LOCAL_CFLAGS += -DPDK_FEATURE_SET 13 else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 14 LOCAL_CFLAGS += -DPDK_FEATURE_SET 15 endif 16 17 LOCAL_SHARED_LIBRARIES := \ 18 libutils \ 19 libcutils \ 20 libqmi_cci \ 21 libqmi_common_so \ 22 libloc_core \ 23 libgps.utils \ 24 libdl 25 26 LOCAL_SRC_FILES = \ 27 LocApiV02.cpp \ 28 loc_api_v02_log.c \ 29 loc_api_v02_client.c \ 30 loc_api_sync_req.c \ 31 location_service_v02.c 32 33 LOCAL_CFLAGS += \ 34 -fno-short-enums \ 35 -D_ANDROID_ 36 37 LOCAL_COPY_HEADERS_TO:= libloc_api_v02/ 38 39 LOCAL_COPY_HEADERS:= \ 40 location_service_v02.h \ 41 loc_api_v02_log.h \ 42 loc_api_v02_client.h \ 43 loc_api_sync_req.h \ 44 LocApiV02.h \ 45 loc_util_log.h 46 47 48 ## Includes 49 LOCAL_C_INCLUDES := \ 50 $(TARGET_OUT_HEADERS)/libloc_core \ 51 $(TARGET_OUT_HEADERS)/qmi-framework/inc \ 52 $(TARGET_OUT_HEADERS)/qmi/inc \ 53 $(TARGET_OUT_HEADERS)/gps.utils \ 54 $(TARGET_OUT_HEADERS)/libloc_ds_api 55 56 LOCAL_PRELINK_MODULE := false 57 58 include $(BUILD_SHARED_LIBRARY) 59 60 endif # not BUILD_TINY_ANDROID 61