From 601b0fecdd4fff284cb8ac38e545fcec9b3cf0fd Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 18 Nov 2019 14:33:14 +0100 Subject: [PATCH] Extract DEBUG flag in build_without_gradle.sh --- server/build_without_gradle.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/build_without_gradle.sh b/server/build_without_gradle.sh index d1581ea1..b4605aa9 100755 --- a/server/build_without_gradle.sh +++ b/server/build_without_gradle.sh @@ -11,6 +11,7 @@ set -e +SCRCPY_DEBUG=false SCRCPY_VERSION_NAME=1.10 PLATFORM=${ANDROID_PLATFORM:-29} @@ -32,7 +33,7 @@ mkdir -p "$CLASSES_DIR/com/genymobile/scrcpy" package com.genymobile.scrcpy; public final class BuildConfig { - public static final boolean DEBUG = false; + public static final boolean DEBUG = $SCRCPY_DEBUG; public static final String VERSION_NAME = "$SCRCPY_VERSION_NAME"; } EOF