mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-23 23:17:49 +08:00
14 lines
568 B
Makefile
14 lines
568 B
Makefile
# Include common.mk for building google3 native code.
|
|
DEPOT_PATH := $(firstword $(subst /google3, ,$(abspath $(call my-dir))))
|
|
ifneq ($(wildcard $(DEPOT_PATH)/google3/mobile/build/common.mk),)
|
|
include $(DEPOT_PATH)/google3/mobile/build/common.mk
|
|
else
|
|
include $(DEPOT_PATH)/READONLY/google3/mobile/build/common.mk
|
|
endif
|
|
|
|
# Specify the hash namespace that we're using, based on the APP_STL we're using.
|
|
APP_CFLAGS += -Werror -DHASH_NAMESPACE=__gnu_cxx -Wno-error=deprecated-register
|
|
APP_PLATFORM := android-16
|
|
APP_STL := gnustl_static
|
|
NDK_TOOLCHAIN_VERSION := clang
|