aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2008-09-22 12:58:25 -0700
committerIliyan Malchev <malchev@google.com>2008-09-22 12:58:25 -0700
commit1868ad96d31218f9527a51a01364d4537ca9975a (patch)
treef9e17a55f47f0b46311502e784f6b8f6470c4241
parent1f7f5efc0953d4170afaf6690ae85a52cfcff8c5 (diff)
downloadtesseract-1868ad96d31218f9527a51a01364d4537ca9975a.tar.gz
manual merge Android.mk from helium branch
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rwxr-xr-xAndroid.mk74
1 files changed, 74 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index cd67d14..31efce4 100755
--- a/Android.mk
+++ b/Android.mk
@@ -558,3 +558,77 @@ LOCAL_SHARED_LIBRARIES:= \
libtesseract_main
include $(BUILD_EXECUTABLE)
+
+ifeq (0,1)
+#
+# libhelium
+#
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= libhelium
+
+LOCAL_CFLAGS:= \
+ -DGRAPHICS_DISABLED \
+ -DFST_DISABLED
+
+LOCAL_SRC_FILES:= \
+ helium/binarize.cpp \
+ helium/cluster.cpp \
+ helium/clusterer.cpp \
+ helium/color.cpp \
+ helium/cstringutils.cpp \
+ helium/contourdetector.cpp \
+ helium/debugging.cpp \
+ helium/edgedetector.cpp \
+ helium/gaussiansmooth.cpp \
+ helium/heliumbinarizer.cpp \
+ helium/histogram.cpp \
+ helium/image.cpp \
+ helium/mask.cpp \
+ helium/maxtracer.cpp \
+ helium/mathfunctions.cpp \
+ helium/perspectivedetection.cpp \
+ helium/point.cpp \
+ helium/quicksmooth.cpp \
+ helium/refcount.cpp \
+ helium/shape.cpp \
+ helium/shapetree.cpp \
+ helium/sobeledgedetector.cpp \
+ helium/laplaceedgedetector.cpp \
+ helium/surface.cpp \
+ helium/stringutils.cpp \
+ helium/tesseract.cpp \
+ helium/textareas.cpp \
+ helium/textclassifier.cpp \
+ helium/textvalidator.cpp \
+ helium/textrecognition.cpp \
+ helium/thresholdbinarizer.cpp \
+ helium/trace.cpp \
+ helium/tracer.cpp \
+ helium/unionfind.cpp
+# helium/heliumtextdetector.cpp
+# helium/box.cpp
+# helium/imageenhancer.cpp
+# helium/leptonica.cpp
+# helium/main_helium.cpp
+
+LOCAL_C_INCLUDES:= \
+ system/tesseract \
+ system/tesseract/helium \
+ system/tesseract/ccutil \
+ system/tesseract/ccstruct \
+ system/tesseract/image \
+ system/tesseract/dict \
+ system/tesseract/classify \
+ system/tesseract/wordrec \
+ system/tesseract/cutil \
+ system/tesseract/textord \
+
+LOCAL_SHARED_LIBRARIES:= \
+ libtesseract_main
+
+LOCAL_PRELINK_MODULE:= false
+include $(BUILD_SHARED_LIBRARY)
+#include $(BUILD_STATIC_LIBRARY)
+endif