mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 1502457 - Move MOZILLA_OFFICIAL to init.configure. r=nalexander
Depends on D11985 Differential Revision: https://phabricator.services.mozilla.com/D11986 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f8aec6c458
commit
a9d88a2903
@ -1051,6 +1051,21 @@ def js_option(*args, **kwargs):
|
||||
add_old_configure_arg(js_option)
|
||||
|
||||
|
||||
js_option(env='MOZILLA_OFFICIAL',
|
||||
help='Build an official release')
|
||||
|
||||
|
||||
@depends('MOZILLA_OFFICIAL')
|
||||
def mozilla_official(official):
|
||||
if official:
|
||||
return True
|
||||
|
||||
|
||||
set_config('MOZILLA_OFFICIAL', mozilla_official)
|
||||
set_define('MOZILLA_OFFICIAL', mozilla_official)
|
||||
add_old_configure_assignment('MOZILLA_OFFICIAL', mozilla_official)
|
||||
|
||||
|
||||
# set RELEASE_OR_BETA and NIGHTLY_BUILD variables depending on the cycle we're in
|
||||
# The logic works like this:
|
||||
# - if we have "a1" in GRE_MILESTONE, we're building Nightly (define NIGHTLY_BUILD)
|
||||
|
@ -69,18 +69,6 @@ def enable_tests(value):
|
||||
set_config('ENABLE_TESTS', enable_tests)
|
||||
set_define('ENABLE_TESTS', enable_tests)
|
||||
|
||||
js_option(env='MOZILLA_OFFICIAL',
|
||||
help='Build an official release')
|
||||
|
||||
@depends('MOZILLA_OFFICIAL')
|
||||
def mozilla_official(official):
|
||||
if official:
|
||||
return True
|
||||
|
||||
set_config('MOZILLA_OFFICIAL', mozilla_official)
|
||||
set_define('MOZILLA_OFFICIAL', mozilla_official)
|
||||
add_old_configure_assignment('MOZILLA_OFFICIAL', mozilla_official)
|
||||
|
||||
@depends(enable_tests)
|
||||
def gtest_has_rtti(value):
|
||||
if value:
|
||||
|
Loading…
x
Reference in New Issue
Block a user