summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-08-29 13:27:34 -0700
committerEric Erfanian <erfanian@google.com>2017-08-29 13:27:34 -0700
commit2c4cc2cc8dcd77f5f72db5c5c36db808c781dfca (patch)
tree55caf3f1cbf35e2a1a398e6113854e16491720e7
parenta645153b0a97663636bacdc5527c0d304fa79657 (diff)
downloadplatform_external_libbackup-2c4cc2cc8dcd77f5f72db5c5c36db808c781dfca.tar.gz
platform_external_libbackup-2c4cc2cc8dcd77f5f72db5c5c36db808c781dfca.tar.bz2
platform_external_libbackup-2c4cc2cc8dcd77f5f72db5c5c36db808c781dfca.zip
Add make target for backup library.android-o-mr1-preview-2android-o-mr1-preview-1
Test: th Change-Id: I6692b4667cc73975e0fe1dfe5b283114b7a46b81
-rw-r--r--Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..1167e7e
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,20 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libbackup
+LOCAL_MODULE_TAGS := optional
+LOCAL_SDK_VERSION := current
+
+EXCLUDE_BACKUP_LIB_SRCS := $(call all-java-files-under, src/com/google/android/libraries/backup/shadow/)
+
+LOCAL_SRC_FILES := $(call all-java-files-under,.)
+LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_BACKUP_LIB_SRCS),$(LOCAL_SRC_FILES))
+
+LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v4 \
+
+LOCAL_STATIC_JAVA_LIBRARIES := guava
+
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+EXCLUDE_BACKUP_LIB_SRCS :=