2012-03-08 07:30:33 +08:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := sync.c
|
|
|
|
LOCAL_MODULE := libsync
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
2014-01-03 11:31:53 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
2014-05-16 06:09:45 +08:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-03-08 07:30:33 +08:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := sync.c sync_test.c
|
|
|
|
LOCAL_MODULE := sync_test
|
|
|
|
LOCAL_MODULE_TAGS := optional tests
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
2014-01-03 11:31:53 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
2014-05-16 06:09:45 +08:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-03-08 07:30:33 +08:00
|
|
|
include $(BUILD_EXECUTABLE)
|