You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Use separate_debug_symbols to control generation of the separate Android debug symbols file
This commit is contained in:
@@ -40,7 +40,6 @@ def get_opts():
|
|||||||
False,
|
False,
|
||||||
),
|
),
|
||||||
BoolVariable("swappy", "Use Swappy Frame Pacing library", False),
|
BoolVariable("swappy", "Use Swappy Frame Pacing library", False),
|
||||||
BoolVariable("gradle_do_not_strip", "Whether Gradle should strip the Android *.so libraries or not", False),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ def generate_android_binaries(target, source, env):
|
|||||||
gradle_process += ["generateGodotTemplates"]
|
gradle_process += ["generateGodotTemplates"]
|
||||||
gradle_process += ["--quiet"]
|
gradle_process += ["--quiet"]
|
||||||
|
|
||||||
if env["gradle_do_not_strip"]:
|
if env["debug_symbols"] and not env["separate_debug_symbols"]:
|
||||||
gradle_process += ["-PdoNotStrip=true"]
|
gradle_process += ["-PdoNotStrip=true"]
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
|
|||||||
Reference in New Issue
Block a user