aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-01-04 20:45:01 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-04 20:45:01 -0800
commit9fad3db501bfdd83196556d6407dadfb6617f71f (patch)
treeb3c2de4ecae596fbdeef7985bb322a3b354d85ad
parentdf6c97a0bd728fd742dc6901e16ad4a7d1c512f1 (diff)
parentbbf22e9b62a27350d2e60238e6d54162dd3b9002 (diff)
downloadzxing-9fad3db501bfdd83196556d6407dadfb6617f71f.tar.gz
Merge "Convert zxing-core to Android.bp"
am: bbf22e9b62 Change-Id: Ifd7d42688ae29470f8ffc5073aabeb26ab75eae2
-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)