Skip to content
Snippets Groups Projects
Commit c7aaaab3 authored by Tooru Fujisawa's avatar Tooru Fujisawa
Browse files

Bug 1769405 - Part 1: Move artifact build option to build/moz.configure/init.configure. r=glandium

parent abacf107
No related branches found
No related tags found
No related merge requests found
......@@ -402,6 +402,24 @@ def default_project(build_env, js_package):
option("--enable-project", nargs=1, default=default_project, help="Project to build")
# Artifact builds
# ==============================================================
option(
"--enable-artifact-builds",
env="MOZ_ARTIFACT_BUILDS",
help="Download and use prebuilt binary artifacts.",
)
@depends("--enable-artifact-builds")
def artifact_builds(value):
if value:
return True
set_config("MOZ_ARTIFACT_BUILDS", artifact_builds)
# Host and target systems
# ==============================================================
option("--host", nargs=1, help="Define the system type performing the build")
......
......@@ -14,21 +14,6 @@ include("build/moz.configure/init.configure")
# - Spidermonkey-specific options and rules should go in js/moz.configure.
# - etc.
option(
"--enable-artifact-builds",
env="MOZ_ARTIFACT_BUILDS",
help="Download and use prebuilt binary artifacts.",
)
@depends("--enable-artifact-builds")
def artifact_builds(value):
if value:
return True
set_config("MOZ_ARTIFACT_BUILDS", artifact_builds)
imply_option(
"--enable-artifact-build-symbols",
depends(artifact_builds)(lambda v: False if v is None else None),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment