mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Issue #3804 : Allow enabling debug-mozjs from servobuild config
This commit is contained in:
parent
bb7621f5dc
commit
8eb4844174
3 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@ class MachCommands(CommandBase):
|
|||
opts += ["-v"]
|
||||
|
||||
features = []
|
||||
if debug_mozjs:
|
||||
if debug_mozjs or self.config["build"]["debug-mozjs"]:
|
||||
features += ["script/debugmozjs"]
|
||||
|
||||
if features:
|
||||
|
|
|
@ -79,6 +79,8 @@ class CommandBase(object):
|
|||
self.config.setdefault("build", {})
|
||||
self.config["build"].setdefault("android", False)
|
||||
|
||||
self.config["build"].setdefault("debug-mozjs", False)
|
||||
|
||||
self.config.setdefault("android", {})
|
||||
self.config["android"].setdefault("sdk", "")
|
||||
self.config["android"].setdefault("ndk", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue