Merge changes from topic 'minui_sync_wait'
* changes: libsync: add static library for recovery libsync: remove unused liblog dependency
This commit is contained in:
commit
9cd828b858
1 changed files with 12 additions and 2 deletions
|
@ -4,17 +4,27 @@ include $(CLEAR_VARS)
|
|||
LOCAL_SRC_FILES := sync.c
|
||||
LOCAL_MODULE := libsync
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_CFLAGS := -Werror
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
# libsync_recovery is only intended for the recovery binary.
|
||||
# Future versions of the kernel WILL require an updated libsync, and will break
|
||||
# anything statically linked against the current libsync.
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := sync.c
|
||||
LOCAL_MODULE := libsync_recovery
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_CFLAGS := -Werror
|
||||
include $(BUILD_STATIC_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
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_CFLAGS := -Werror
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
Loading…
Reference in a new issue