Mark Salyzyn | 72c22bf | 2014-05-15 15:16:46 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Rebecca Schultz Zavin | afd9123 | 2012-02-22 16:36:55 -0800 | [diff] [blame] | 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 |
Colin Cross | dd6770b | 2013-12-18 15:39:27 -0800 | [diff] [blame] | 8 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers |
| 9 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers |
Mark Salyzyn | 72c22bf | 2014-05-15 15:16:46 -0700 | [diff] [blame] | 10 | LOCAL_CFLAGS := -Werror |
Dima Zavin | e92b158 | 2012-02-27 16:32:15 -0800 | [diff] [blame] | 11 | include $(BUILD_SHARED_LIBRARY) |
Rebecca Schultz Zavin | afd9123 | 2012-02-22 16:36:55 -0800 | [diff] [blame] | 12 | |
| 13 | include $(CLEAR_VARS) |
| 14 | LOCAL_SRC_FILES := ion.c ion_test.c |
| 15 | LOCAL_MODULE := iontest |
| 16 | LOCAL_MODULE_TAGS := optional tests |
Colin Cross | dd6770b | 2013-12-18 15:39:27 -0800 | [diff] [blame] | 17 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers |
Rebecca Schultz Zavin | afd9123 | 2012-02-22 16:36:55 -0800 | [diff] [blame] | 18 | LOCAL_SHARED_LIBRARIES := liblog |
Mark Salyzyn | 72c22bf | 2014-05-15 15:16:46 -0700 | [diff] [blame] | 19 | LOCAL_CFLAGS := -Werror |
Dima Zavin | e92b158 | 2012-02-27 16:32:15 -0800 | [diff] [blame] | 20 | include $(BUILD_EXECUTABLE) |
Colin Cross | 363441b | 2013-11-07 23:06:58 -0800 | [diff] [blame] | 21 | |
| 22 | include $(call first-makefiles-under,$(LOCAL_PATH)) |