1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_SRC_FILES := ion.c 5 LOCAL_MODULE := libion 6 LOCAL_MODULE_TAGS := optional 7 LOCAL_SHARED_LIBRARIES := liblog 8 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers 9 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers 10 LOCAL_CFLAGS := -Werror 11 include $(BUILD_SHARED_LIBRARY) 12 13 include $(CLEAR_VARS) 14 LOCAL_SRC_FILES := ion.c ion_test.c 15 LOCAL_MODULE := iontest 16 LOCAL_MODULE_TAGS := optional tests 17 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers 18 LOCAL_SHARED_LIBRARIES := liblog 19 LOCAL_CFLAGS := -Werror 20 include $(BUILD_EXECUTABLE) 21 22 include $(call first-makefiles-under,$(LOCAL_PATH)) 23