Add MAPSMOBI_BUILD option to i18n/units ya.make
@@ -5953,6 +5953,9 @@ YANDEX_EXPORT=
when ($MAPSMOBI_BUILD_HOST || $MAPSMOBI_BUILD_TARGET) {
MAPSMOBI_BUILD=yes
}
+when ($MAPSMOBI_BUILD) {
+ CFLAGS+=-DMOBILE_BUILD
+}
when ($MAPSMOBI_BUILD_TARGET) {
ALLOCATOR=FAKE
USE_EXTERNAL_PROTOC=yes
@@ -5960,7 +5963,7 @@ when ($MAPSMOBI_BUILD_TARGET) {
SYSINCL+=build/sysincl/mapsmobi.yml
OPTIMIZE=-O2
- CFLAGS+=-DMOBILE_BUILD -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DBOOST_SYMBOL_EXPORT= -DBOOST_SYMBOL_VISIBLE= -DBOOST_CB_DISABLE_DEBUG -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DYANDEX_EXPORT=${YANDEX_EXPORT}
+ CFLAGS+=-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DBOOST_SYMBOL_EXPORT= -DBOOST_SYMBOL_VISIBLE= -DBOOST_CB_DISABLE_DEBUG -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DYANDEX_EXPORT=${YANDEX_EXPORT}
}
when ($MAPSMOBI_BUILD_TARGET && $OS_ANDROID) {
JDK_VERSION=8
