72c22bf69b
Change-Id: I0a933623147fb7bfb7251b1d9213cc174619ed42
22 lines
700 B
Makefile
22 lines
700 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES := ion.c
|
|
LOCAL_MODULE := libion
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
|
LOCAL_CFLAGS := -Werror
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES := ion.c ion_test.c
|
|
LOCAL_MODULE := iontest
|
|
LOCAL_MODULE_TAGS := optional tests
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
|
LOCAL_CFLAGS := -Werror
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|