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 |
Erik Gilling | 196b3a5 | 2012-03-07 15:30:33 -0800 | [diff] [blame] | 10 | include $(BUILD_SHARED_LIBRARY) |
| 11 | |
| 12 | include $(CLEAR_VARS) |
| 13 | LOCAL_SRC_FILES := sync.c sync_test.c |
| 14 | LOCAL_MODULE := sync_test |
| 15 | LOCAL_MODULE_TAGS := optional tests |
| 16 | LOCAL_SHARED_LIBRARIES := liblog |
Rom Lemarchand | ddc20de | 2014-01-02 19:31:53 -0800 | [diff] [blame] | 17 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
Erik Gilling | 196b3a5 | 2012-03-07 15:30:33 -0800 | [diff] [blame] | 18 | include $(BUILD_EXECUTABLE) |