mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
Allow setting GST_DEBUG on Android through mach
This commit is contained in:
parent
eee2c895f4
commit
11993bb8f5
7 changed files with 26 additions and 6 deletions
|
@ -102,6 +102,9 @@ class PostBuildCommands(CommandBase):
|
|||
rust_log = env.get("RUST_LOG", None)
|
||||
if rust_log:
|
||||
extra += " -e servolog " + rust_log
|
||||
gst_debug = env.get("GST_DEBUG", None)
|
||||
if gst_debug:
|
||||
extra += " -e gstdebug " + gst_debug
|
||||
script += [
|
||||
"am start " + extra + " org.mozilla.servo/org.mozilla.servo.MainActivity",
|
||||
"sleep 0.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue