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 36LOCAL_C_INCLUDES:= \ 37 $(TARGET_OUT_HEADERS)/gps.utils 38 39LOCAL_COPY_HEADERS_TO:= libloc_core/ 40LOCAL_COPY_HEADERS:= \ 41 MsgTask.h \ 42 LocApiBase.h \ 43 LocAdapterBase.h \ 44 ContextBase.h \ 45 LocDualContext.h \ 46 LBSProxyBase.h \ 47 UlpProxyBase.h \ 48 gps_extended_c.h \ 49 gps_extended.h \ 50 loc_core_log.h \ 51 LocAdapterProxyBase.h 52 53LOCAL_PRELINK_MODULE := false 54 55include $(BUILD_SHARED_LIBRARY) 56 57endif # not BUILD_TINY_ANDROID 58endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 59