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