Erik Gilling | 196b3a5 | 2012-03-07 15:30:33 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_SRC_FILES := sync.c |
| 5 | LOCAL_MODULE := libsync |
| 6 | LOCAL_MODULE_TAGS := optional |
| 7 | LOCAL_SHARED_LIBRARIES := liblog |
Rom Lemarchand | ddc20de | 2014-01-02 19:31:53 -0800 | [diff] [blame] | 8 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 9 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
Mark Salyzyn | af77498 | 2014-05-15 15:09:45 -0700 | [diff] [blame] | 10 | LOCAL_CFLAGS := -Werror |
Erik Gilling | 196b3a5 | 2012-03-07 15:30:33 -0800 | [diff] [blame] | 11 | include $(BUILD_SHARED_LIBRARY) |
| 12 | |
| 13 | include $(CLEAR_VARS) |
| 14 | LOCAL_SRC_FILES := sync.c sync_test.c |
| 15 | LOCAL_MODULE := sync_test |
| 16 | LOCAL_MODULE_TAGS := optional tests |
| 17 | LOCAL_SHARED_LIBRARIES := liblog |
Rom Lemarchand | ddc20de | 2014-01-02 19:31:53 -0800 | [diff] [blame] | 18 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
Mark Salyzyn | af77498 | 2014-05-15 15:09:45 -0700 | [diff] [blame] | 19 | LOCAL_CFLAGS := -Werror |
Erik Gilling | 196b3a5 | 2012-03-07 15:30:33 -0800 | [diff] [blame] | 20 | include $(BUILD_EXECUTABLE) |