diff options
-rw-r--r-- | Android.bp | 9 | ||||
-rw-r--r-- | Android.mk | 18 |
2 files changed, 9 insertions, 18 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..44d39aa --- /dev/null +++ b/Android.bp @@ -0,0 +1,9 @@ +android_library { + name: "libbackup", + sdk_version: "current", + srcs: [ + // All but src/com/google/android/libraries/backup/shadow/*.java + "src/com/google/android/libraries/backup/*.java", + ], + static_libs: ["android-support-v4"], +} diff --git a/Android.mk b/Android.mk deleted file mode 100644 index 945a03b..0000000 --- a/Android.mk +++ /dev/null @@ -1,18 +0,0 @@ -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 \ - -include $(BUILD_STATIC_JAVA_LIBRARY) - -EXCLUDE_BACKUP_LIB_SRCS := |