Bug 1382514 - Remove MOZ_PHOTON_PREFERENCES build flag r=jaws

--HG--
extra : rebase_source : e3df3a8ebbecbecfecb561f748a8c3b5f162bf99
This commit is contained in:
Ricky Chien 2017-08-08 11:44:02 +08:00
parent b69cead005
commit 7ebc576138
2 changed files with 0 additions and 19 deletions

View File

@ -358,13 +358,6 @@ this.AppConstants = Object.freeze({
false,
#endif
MOZ_PHOTON_PREFERENCES:
#ifdef MOZ_PHOTON_PREFERENCES
true,
#else
false,
#endif
MOZ_STYLO:
#ifdef MOZ_STYLO
true,

View File

@ -510,18 +510,6 @@ project_flag('MOZ_ALLOW_LEGACY_EXTENSIONS',
help='Allow legacy browser extensions',
default=True, set_as_define=True)
option(env='MOZ_PHOTON_PREFERENCES',
help='Enable Photon preferences',
default=milestone.is_nightly)
@depends('MOZ_PHOTON_PREFERENCES')
def photon_preferences(value):
if value:
return bool(value)
set_config('MOZ_PHOTON_PREFERENCES', photon_preferences)
set_define('MOZ_PHOTON_PREFERENCES', photon_preferences)
@depends('MOZ_PLACES', 'MOZ_ANDROID_HISTORY')
def check_places_and_android_history(places, android_history):
if places and android_history: