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 8 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 9 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 10 LOCAL_CFLAGS := -Werror 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 18 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 19 LOCAL_CFLAGS := -Werror 20 include $(BUILD_EXECUTABLE) 21