Extract DEBUG flag in build_without_gradle.sh
This commit is contained in:
parent
7fd800d583
commit
601b0fecdd
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
SCRCPY_DEBUG=false
|
||||||
SCRCPY_VERSION_NAME=1.10
|
SCRCPY_VERSION_NAME=1.10
|
||||||
|
|
||||||
PLATFORM=${ANDROID_PLATFORM:-29}
|
PLATFORM=${ANDROID_PLATFORM:-29}
|
||||||
|
@ -32,7 +33,7 @@ mkdir -p "$CLASSES_DIR/com/genymobile/scrcpy"
|
||||||
package com.genymobile.scrcpy;
|
package com.genymobile.scrcpy;
|
||||||
|
|
||||||
public final class BuildConfig {
|
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";
|
public static final String VERSION_NAME = "$SCRCPY_VERSION_NAME";
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue