Add linux support without graphics (no Qt nor OpenGL)
Add linux support without graphics (no Qt or OpenGL)
E.g. ya make --maps-mobile --target-platform=clang8-linux-aarch64 -DNO_GRAPHICS
@@ -6729,11 +6729,6 @@ when ($TENSORFLOW_WITH_CUDA) {
CUDA_REQUIRED=yes
}
-QT_VERSION=5.6.1
-QT_BIN=${HOST_QT_RESOURCE_GLOBAL}/bin
-
-OPENGL_VERSION=18.0.5
-
ANDROID_APK_TEST_ACTIVITY_VALUE=com.yandex.test.unittests/.RunTestsActivity
MAVEN_BIN=$MAVEN_RESOURCE_GLOBAL/bin
@@ -6812,11 +6807,11 @@ when ($MAPSMOBI_BUILD_TARGET && $OS_DARWIN) {
when ($MAPSMOBI_BUILD_TARGET && $OS_IOS) {
CFLAGS+=-DIOS -stdlib=libc++ -fvisibility=hidden
}
-when ($MAPSMOBI_BUILD_TARGET && $OS_LINUX && $ARCH_AARCH64 != "yes") {
+when ($MAPSMOBI_BUILD_TARGET && $OS_LINUX) {
+ when ($NO_GRAPHICS != "yes") {
QT_REQUIRED=yes
OPENGL_REQUIRED=yes
}
-when ($MAPSMOBI_BUILD_TARGET && $OS_LINUX) {
OS_SDK=ubuntu-16
PIC=yes
LDFLAGS+=-lstdc++ -lgcc_s
@@ -6826,6 +6821,15 @@ when ($MAPSMOBI_BUILD_TARGET && $OS_YOCTO) {
PIC=yes
}
+when ($QT_REQUIRED) {
+ QT_VERSION=5.6.1
+ QT_BIN=${HOST_QT_RESOURCE_GLOBAL}/bin
+}
+when ($OPENGL_REQUIRED) {
+ OPENGL_VERSION=18.0.5
+}
+
+
multimodule PY23_TEST {
module PY2 : PYTEST {
OBJ_SUF=.py2
