mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
bug 1363358 - add a MOZ_PHOTON_THEME build option. r=chmanchester
MozReview-Commit-ID: 5fZqmCkAUUg --HG-- extra : rebase_source : b7aca3fca0726a66e4beb6e2bf33c4350b376c1c
This commit is contained in:
parent
8f2c658ba3
commit
9927e65761
@ -550,6 +550,18 @@ def photon_animations(value):
|
||||
set_config('MOZ_PHOTON_ANIMATIONS', photon_animations)
|
||||
set_define('MOZ_PHOTON_ANIMATIONS', photon_animations)
|
||||
|
||||
option(env='MOZ_PHOTON_THEME',
|
||||
help='Enable Photon theme',
|
||||
default=is_nightly)
|
||||
|
||||
@depends('MOZ_PHOTON_THEME')
|
||||
def photon_theme(value):
|
||||
if value:
|
||||
return bool(value)
|
||||
|
||||
set_config('MOZ_PHOTON_THEME', photon_theme)
|
||||
set_define('MOZ_PHOTON_THEME', photon_theme)
|
||||
|
||||
@depends('MOZ_PLACES', 'MOZ_ANDROID_HISTORY')
|
||||
def check_places_and_android_history(places, android_history):
|
||||
if places and android_history:
|
||||
|
Loading…
Reference in New Issue
Block a user