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