2012-03-08 00:30:33 +01: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 04:31:53 +01:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
2014-05-16 00:09:45 +02:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-03-08 00:30:33 +01: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 04:31:53 +01:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
2014-05-16 00:09:45 +02:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-03-08 00:30:33 +01:00
|
|
|
include $(BUILD_EXECUTABLE)
|