1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_ARM_MODE := arm 5LOCAL_SRC_FILES := src/CtUpdateAmbassador.cpp \ 6 src/HAL.cpp \ 7 src/IpaEventRelay.cpp \ 8 src/LocalLogBuffer.cpp \ 9 src/OffloadStatistics.cpp \ 10 src/PrefixParser.cpp 11LOCAL_C_INCLUDES := $(LOCAL_PATH)/inc 12LOCAL_MODULE := liboffloadhal 13 14#LOCAL_CPP_FLAGS := -Wall -Werror 15LOCAL_CFLAGS += -Wno-error 16LOCAL_SHARED_LIBRARIES := libhwbinder \ 17 libhidlbase \ 18 libhidltransport \ 19 liblog \ 20 libcutils \ 21 libdl \ 22 libbase \ 23 libutils \ 24 libhardware_legacy \ 25 libhardware \ 26 android.hardware.tetheroffload.config@1.0 \ 27 android.hardware.tetheroffload.control@1.0 28LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/inc 29LOCAL_VENDOR_MODULE := true 30LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 31LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 32include $(BUILD_SHARED_LIBRARY) 33