mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
This commit is contained in:
parent
f10295dbae
commit
282a2bc3b8
@ -715,15 +715,10 @@ def milestone(build_env, _):
|
||||
is_nightly=is_nightly,
|
||||
is_release_or_beta=is_release_or_beta)
|
||||
|
||||
@depends(milestone)
|
||||
def is_nightly(milestone):
|
||||
return milestone.is_nightly
|
||||
|
||||
set_config('GRE_MILESTONE', milestone.version)
|
||||
set_config('NIGHTLY_BUILD', is_nightly)
|
||||
set_define('NIGHTLY_BUILD', is_nightly)
|
||||
add_old_configure_assignment('NIGHTLY_BUILD',
|
||||
is_nightly)
|
||||
set_config('NIGHTLY_BUILD', milestone.is_nightly)
|
||||
set_define('NIGHTLY_BUILD', milestone.is_nightly)
|
||||
add_old_configure_assignment('NIGHTLY_BUILD', milestone.is_nightly)
|
||||
set_config('RELEASE_OR_BETA', milestone.is_release_or_beta)
|
||||
set_define('RELEASE_OR_BETA', milestone.is_release_or_beta)
|
||||
add_old_configure_assignment('RELEASE_OR_BETA',
|
||||
|
@ -63,7 +63,7 @@ project_flag('MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE',
|
||||
|
||||
project_flag('MOZ_ANDROID_CUSTOM_TABS',
|
||||
help='Enable support for Android custom tabs',
|
||||
default=is_nightly)
|
||||
default=milestone.is_nightly)
|
||||
|
||||
# Enable the Switchboard A/B framework code.
|
||||
# Note: The framework is always included in the app. This flag controls
|
||||
|
@ -540,7 +540,7 @@ project_flag('MOZ_ANDROID_HISTORY',
|
||||
|
||||
option(env='MOZ_PHOTON_ANIMATIONS',
|
||||
help='Enable Photon UI animations',
|
||||
default=is_nightly)
|
||||
default=milestone.is_nightly)
|
||||
|
||||
@depends('MOZ_PHOTON_ANIMATIONS')
|
||||
def photon_animations(value):
|
||||
@ -552,7 +552,7 @@ set_define('MOZ_PHOTON_ANIMATIONS', photon_animations)
|
||||
|
||||
option(env='MOZ_PHOTON_THEME',
|
||||
help='Enable Photon theme',
|
||||
default=is_nightly)
|
||||
default=milestone.is_nightly)
|
||||
|
||||
@depends('MOZ_PHOTON_THEME')
|
||||
def photon_theme(value):
|
||||
|
Loading…
x
Reference in New Issue
Block a user