summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c5ba622..8778cf9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,20 +7,29 @@ LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit
+LOCAL_STATIC_JAVA_LIBRARIES += zxing-core
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
LOCAL_SRC_FILES += $(call all-java-files-under, src_pd_gcam)
LOCAL_SRC_FILES += $(call all-java-files-under, src_wrapper)
+LOCAL_SRC_FILES += $(call all-java-files-under, quickReader/src)
LOCAL_SRC_FILES += $(call all-renderscript-files-under, rs)
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
+LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/quickReader/res
include $(LOCAL_PATH)/version.mk
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
--version-name "$(version_name_package)" \
--version-code $(version_code_package) \
+ --extra-packages me.dm7.barcodescanner.core \
+ --extra-packages me.dm7.barcodescanner.zxing
+
+LOCAL_STATIC_JAVA_AAR_LIBRARIES += \
+ qreader-core \
+ qreader-zxing
LOCAL_JAVA_LIBRARIES := org.lineageos.platform.internal
@@ -48,4 +57,13 @@ endif
include $(BUILD_PACKAGE)
+include $(CLEAR_VARS)
+
+LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += \
+ qreader-core:quickReader/libs/core-1.9.3.aar \
+ qreader-zxing:quickReader/libs/zxing-1.9.3.aar \
+ zxing-core:quickReader/libs/zxing-core-g-2.3.1.jar
+
+include $(BUILD_MULTI_PREBUILT)
+
include $(call all-makefiles-under, $(LOCAL_PATH))