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_VENDOR_MODULE := true 12LOCAL_MODULE_TAGS := optional 13 14LOCAL_SHARED_LIBRARIES := \ 15 liblog \ 16 libutils \ 17 libcutils \ 18 libgps.utils \ 19 libdl \ 20 liblog 21 22LOCAL_SRC_FILES += \ 23 LocApiBase.cpp \ 24 LocAdapterBase.cpp \ 25 ContextBase.cpp \ 26 LocContext.cpp \ 27 loc_core_log.cpp \ 28 data-items/DataItemsFactoryProxy.cpp \ 29 SystemStatusOsObserver.cpp \ 30 SystemStatus.cpp 31 32LOCAL_CFLAGS += \ 33 -fno-short-enums \ 34 -D_ANDROID_ 35 36LOCAL_C_INCLUDES:= \ 37 $(LOCAL_PATH)/data-items \ 38 $(LOCAL_PATH)/data-items/common \ 39 $(LOCAL_PATH)/observer \ 40 41LOCAL_HEADER_LIBRARIES := \ 42 libutils_headers \ 43 libgps.utils_headers \ 44 libloc_pla_headers \ 45 liblocation_api_headers 46 47LOCAL_CFLAGS += $(GNSS_CFLAGS) 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 := \ 56 $(LOCAL_PATH) \ 57 $(LOCAL_PATH)/data-items \ 58 $(LOCAL_PATH)/data-items/common \ 59 $(LOCAL_PATH)/observer 60include $(BUILD_HEADER_LIBRARY) 61 62endif # not BUILD_TINY_ANDROID 63endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 64