diff options
author | Greg Hackmann <ghackmann@google.com> | 2016-08-05 13:47:32 -0700 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2016-08-05 15:03:58 -0700 |
commit | d86dd3b8383f02e6bd7e01561b87411ebf08c670 (patch) | |
tree | 31b9f2a1c51134f8420ac7cca2dd8dea85b8ca3d /libsync | |
parent | a90aa13b5b8783be8491095ae11c653e5df807b3 (diff) | |
download | system_core-d86dd3b8383f02e6bd7e01561b87411ebf08c670.tar.gz system_core-d86dd3b8383f02e6bd7e01561b87411ebf08c670.tar.bz2 system_core-d86dd3b8383f02e6bd7e01561b87411ebf08c670.zip |
libsync: add static library for recovery
Change-Id: If43188c3b4b16c698c077338ea0ef1dfd16b9c56
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libsync')
-rw-r--r-- | libsync/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libsync/Android.mk b/libsync/Android.mk index 80c164fdb..f407bd119 100644 --- a/libsync/Android.mk +++ b/libsync/Android.mk @@ -9,6 +9,18 @@ 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 |