forked from mirrors/gecko-dev
Bug 1436887 - [1.1] Add GeckoView prefs file. r=snorp,jchen
This commit is contained in:
parent
12fe7a2577
commit
0d21e3454c
4 changed files with 15 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ mobile/android/tests/browser/chrome/tp5/**
|
|||
|
||||
# Uses `#filter substitution`
|
||||
mobile/android/app/mobile.js
|
||||
mobile/android/app/geckoview-prefs.js
|
||||
|
||||
# Uses `#expand`
|
||||
mobile/android/chrome/content/about.js
|
||||
|
|
|
|||
9
mobile/android/app/geckoview-prefs.js
Normal file
9
mobile/android/app/geckoview-prefs.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#filter substitution
|
||||
|
||||
#include mobile.js
|
||||
|
||||
pref("privacy.trackingprotection.pbmode.enabled", false);
|
||||
|
|
@ -49,6 +49,7 @@ if CONFIG['MOZ_PKG_SPECIAL']:
|
|||
DEFINES['MOZ_PKG_SPECIAL'] = CONFIG['MOZ_PKG_SPECIAL']
|
||||
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'geckoview-prefs.js',
|
||||
'mobile.js',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -435,7 +435,11 @@
|
|||
|
||||
; [Default Preferences]
|
||||
; All the pref files must be part of base to prevent migration bugs
|
||||
#ifdef MOZ_GECKOVIEW_JAR
|
||||
@BINPATH@/@PREF_DIR@/geckoview-prefs.js
|
||||
#else
|
||||
@BINPATH@/@PREF_DIR@/mobile.js
|
||||
#endif
|
||||
@BINPATH@/@PREF_DIR@/channel-prefs.js
|
||||
@BINPATH@/ua-update.json
|
||||
@BINPATH@/greprefs.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue