aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-01-04 20:56:06 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-04 20:56:06 -0800
commit2592d705afd3c85fa74968128bcf5c2edc86be3e (patch)
treeb3c2de4ecae596fbdeef7985bb322a3b354d85ad
parentbd0a39bd5c69902d2d2609bfc2de097423ec4508 (diff)
parent2d235d2b69938ce2522183ec764edb1c7a350e11 (diff)
downloadzxing-2592d705afd3c85fa74968128bcf5c2edc86be3e.tar.gz
Merge "Convert zxing-core to Android.bp" am: bbf22e9b62 am: 9fad3db501
am: 2d235d2b69 Change-Id: I43d9eb4be9e2625cf9fa0603f73951c5a6361148
-rw-r--r--Android.mk3
-rw-r--r--core/Android.bp6
-rw-r--r--core/Android.mk8
3 files changed, 6 insertions, 11 deletions
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 5668d0520..000000000
--- a/Android.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-
-include $(call all-makefiles-under, $(LOCAL_PATH))
diff --git a/core/Android.bp b/core/Android.bp
new file mode 100644
index 000000000..ab09c6d72
--- /dev/null
+++ b/core/Android.bp
@@ -0,0 +1,6 @@
+java_import {
+ name: "zxing-core-1.7",
+ host_supported: true,
+ installable: false,
+ jars: ["core.jar"],
+}
diff --git a/core/Android.mk b/core/Android.mk
deleted file mode 100644
index 8eb6e0c20..000000000
--- a/core/Android.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := zxing-core-1.7:core.jar
-include $(BUILD_MULTI_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := zxing-core-1.7:core.jar
-include $(BUILD_HOST_PREBUILT)