2014-05-16 06:16:46 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
2012-02-23 08:36:55 +08:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := ion.c
|
|
|
|
LOCAL_MODULE := libion
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
2013-12-19 07:39:27 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
2014-05-16 06:16:46 +08:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-02-28 08:32:15 +08:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2012-02-23 08:36:55 +08:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := ion.c ion_test.c
|
|
|
|
LOCAL_MODULE := iontest
|
|
|
|
LOCAL_MODULE_TAGS := optional tests
|
2013-12-19 07:39:27 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
2012-02-23 08:36:55 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
2014-05-16 06:16:46 +08:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-02-28 08:32:15 +08:00
|
|
|
include $(BUILD_EXECUTABLE)
|
2013-11-08 15:06:58 +08:00
|
|
|
|
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|