зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1838481 - Add topobjdir to mozinfo.json r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D180972
This commit is contained in:
Родитель
7fbed5d070
Коммит
e5819c8d13
|
@ -168,6 +168,11 @@ topsrcdir
|
|||
|
||||
Always defined.
|
||||
|
||||
topobjdir
|
||||
The path to the obj directory the build came from.
|
||||
|
||||
Always defined.
|
||||
|
||||
webrender
|
||||
Whether or not WebRender is enabled as the Gecko compositor.
|
||||
|
||||
|
|
|
@ -546,8 +546,6 @@ class RefTest(object):
|
|||
xrePath=options.xrePath, debugger=options.debugger
|
||||
)
|
||||
browserEnv["XPCOM_DEBUG_BREAK"] = "stack"
|
||||
if hasattr(options, "topobjdir"):
|
||||
browserEnv["MOZ_DEVELOPER_OBJ_DIR"] = options.topobjdir
|
||||
|
||||
if mozinfo.info["asan"]:
|
||||
# Disable leak checking for reftests for now
|
||||
|
|
|
@ -30,6 +30,7 @@ def build_dict(config, env=os.environ):
|
|||
|
||||
d = {}
|
||||
d["topsrcdir"] = config.topsrcdir
|
||||
d["topobjdir"] = config.topobjdir
|
||||
|
||||
if config.mozconfig:
|
||||
d["mozconfig"] = config.mozconfig
|
||||
|
|
|
@ -1975,9 +1975,6 @@ toolbar#nav-bar {
|
|||
xrePath=options.xrePath, env=env, debugger=debugger, useLSan=useLSan
|
||||
)
|
||||
|
||||
if hasattr(options, "topobjdir"):
|
||||
browserEnv["MOZ_DEVELOPER_OBJ_DIR"] = options.topobjdir
|
||||
|
||||
if options.headless:
|
||||
browserEnv["MOZ_HEADLESS"] = "1"
|
||||
|
||||
|
|
|
@ -121,6 +121,7 @@ def test_environment(
|
|||
|
||||
# Allow non-packaged builds to access symlinked modules in the source dir
|
||||
env["MOZ_DEVELOPER_REPO_DIR"] = mozinfo.info.get("topsrcdir")
|
||||
env["MOZ_DEVELOPER_OBJ_DIR"] = mozinfo.info.get("topobjdir")
|
||||
|
||||
# crashreporter
|
||||
env["GNOME_DISABLE_CRASH_DIALOG"] = "1"
|
||||
|
|
Загрузка…
Ссылка в новой задаче