mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1773223 - Make the definition of MOZ_X11 independent of the OS. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D149474
This commit is contained in:
parent
9b835365cc
commit
ca6dabc47f
@ -178,8 +178,8 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target):
|
||||
"HOST_CPU_ARCH": cpus.get(input_vars["host_cpu"], input_vars["host_cpu"]),
|
||||
"CPU_ARCH": cpus.get(input_vars["target_cpu"], input_vars["target_cpu"]),
|
||||
}
|
||||
if input_vars["target_os"] in ("linux", "android", "openbsd"):
|
||||
mozbuild_args["MOZ_X11"] = "1" if input_vars.get("use_x11") else None
|
||||
if "use_x11" in input_vars:
|
||||
mozbuild_args["MOZ_X11"] = "1" if input_vars["use_x11"] else None
|
||||
|
||||
gn_out["mozbuild_args"] = mozbuild_args
|
||||
all_deps = find_deps(gn_result["targets"], gn_target)
|
||||
|
Loading…
Reference in New Issue
Block a user