blob: 6562cd3e97d51beec6a64c0b0b847401cc04afc2 [file] [log] [blame]
Mark Salyzyn72c22bf2014-05-15 15:16:46 -07001LOCAL_PATH := $(call my-dir)
Rebecca Schultz Zavinafd91232012-02-22 16:36:55 -08002
3include $(CLEAR_VARS)
4LOCAL_SRC_FILES := ion.c
5LOCAL_MODULE := libion
6LOCAL_MODULE_TAGS := optional
7LOCAL_SHARED_LIBRARIES := liblog
Colin Crossdd6770b2013-12-18 15:39:27 -08008LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
9LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
Mark Salyzyn72c22bf2014-05-15 15:16:46 -070010LOCAL_CFLAGS := -Werror
Dima Zavine92b1582012-02-27 16:32:15 -080011include $(BUILD_SHARED_LIBRARY)
Rebecca Schultz Zavinafd91232012-02-22 16:36:55 -080012
13include $(CLEAR_VARS)
14LOCAL_SRC_FILES := ion.c ion_test.c
15LOCAL_MODULE := iontest
16LOCAL_MODULE_TAGS := optional tests
Colin Crossdd6770b2013-12-18 15:39:27 -080017LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers
Rebecca Schultz Zavinafd91232012-02-22 16:36:55 -080018LOCAL_SHARED_LIBRARIES := liblog
Mark Salyzyn72c22bf2014-05-15 15:16:46 -070019LOCAL_CFLAGS := -Werror
Dima Zavine92b1582012-02-27 16:32:15 -080020include $(BUILD_EXECUTABLE)
Colin Cross363441b2013-11-07 23:06:58 -080021
22include $(call first-makefiles-under,$(LOCAL_PATH))