зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #3930 - Issue #3804 : Allow enabling debug-mozjs from servobuild config (from fabricedesre:issue3804); r=jdm
Source-Repo: https://github.com/servo/servo Source-Revision: 23b75816a2fafe9004c2def038f0c0fe774cc1a8
This commit is contained in:
Родитель
83e2e14c53
Коммит
865ba9b759
|
@ -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", "")
|
||||
|
|
|
@ -12,6 +12,8 @@ cargo-root = "/path/to/cargo"
|
|||
[build]
|
||||
# Set "android = true" or use `mach build --android` to build the Android app.
|
||||
android = false
|
||||
# Set "debug-mozjs" or use `mach build --debug-mozjs` to build a debug spidermonkey.
|
||||
debug-mozjs = false
|
||||
|
||||
# Android information
|
||||
[android]
|
||||
|
|
Загрузка…
Ссылка в новой задаче