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 41LOCAL_C_INCLUDES:= \ 42 $(TARGET_OUT_HEADERS)/gps.utils 43 44LOCAL_HEADER_LIBRARIES := libgps.utils_headers 45 46LOCAL_PRELINK_MODULE := false 47 48include $(BUILD_SHARED_LIBRARY) 49 50include $(CLEAR_VARS) 51LOCAL_MODULE := libloc_core_headers 52LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 53LOCAL_LICENSE_CONDITIONS := notice 54LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 55include $(BUILD_HEADER_LIBRARY) 56 57endif # not BUILD_TINY_ANDROID 58endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 59