mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1382514 - Remove MOZ_PHOTON_PREFERENCES build flag r=jaws
--HG-- extra : rebase_source : e3df3a8ebbecbecfecb561f748a8c3b5f162bf99
This commit is contained in:
parent
b69cead005
commit
7ebc576138
@ -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,
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user