summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann2016-08-05 15:47:32 -0500
committerGreg Hackmann2016-08-05 17:03:58 -0500
commitd86dd3b8383f02e6bd7e01561b87411ebf08c670 (patch)
tree31b9f2a1c51134f8420ac7cca2dd8dea85b8ca3d /libsync
parenta90aa13b5b8783be8491095ae11c653e5df807b3 (diff)
downloadplatform-system-core-d86dd3b8383f02e6bd7e01561b87411ebf08c670.tar.gz
platform-system-core-d86dd3b8383f02e6bd7e01561b87411ebf08c670.tar.xz
platform-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.mk12
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
9LOCAL_CFLAGS := -Werror 9LOCAL_CFLAGS := -Werror
10include $(BUILD_SHARED_LIBRARY) 10include $(BUILD_SHARED_LIBRARY)
11 11
12# libsync_recovery is only intended for the recovery binary.
13# Future versions of the kernel WILL require an updated libsync, and will break
14# anything statically linked against the current libsync.
15include $(CLEAR_VARS)
16LOCAL_SRC_FILES := sync.c
17LOCAL_MODULE := libsync_recovery
18LOCAL_MODULE_TAGS := optional
19LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
20LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
21LOCAL_CFLAGS := -Werror
22include $(BUILD_STATIC_LIBRARY)
23
12include $(CLEAR_VARS) 24include $(CLEAR_VARS)
13LOCAL_SRC_FILES := sync.c sync_test.c 25LOCAL_SRC_FILES := sync.c sync_test.c
14LOCAL_MODULE := sync_test 26LOCAL_MODULE := sync_test