Bug 1336208 - Part 4: Add a initial fonts list file which ships with the release.
This patch adds a initial fonts file that will ship with releases. This file will
be used before the first sync with Kinto server and it is beneficial for reducing
the traffic loading for the first sync.
MozReview-Commit-ID: 6NQGTkoONRc
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -652,16 +652,17 @@
; All the pref files must be part of base to prevent migration bugs
@RESPATH@/browser/@PREF_DIR@/firefox.js
@RESPATH@/browser/@PREF_DIR@/firefox-branding.js
@RESPATH@/greprefs.js
@RESPATH@/defaults/autoconfig/prefcalls.js
@RESPATH@/browser/defaults/permissions
@RESPATH@/browser/defaults/blocklists
@RESPATH@/browser/defaults/pinning
+@RESPATH@/browser/defaults/fingerprinting-defenses
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
; Technically this is an app pref file, but we are keeping it in the original
; gre location for now.
@RESPATH@/defaults/pref/channel-prefs.js
; Remote control protocol prefs
; defined in ../../testing/marionette/prefs/marionette.js
new file mode 100644
--- /dev/null
+++ b/toolkit/components/resistfingerprinting/fonts.json
@@ -0,0 +1,1 @@
+{"data":[]}
--- a/toolkit/components/resistfingerprinting/moz.build
+++ b/toolkit/components/resistfingerprinting/moz.build
@@ -5,11 +5,16 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [
'nsRFPService.cpp',
]
FINAL_LIBRARY = 'xul'
+FINAL_TARGET_FILES.defaults['fingerprinting-defenses'] += ['fonts.json']
+
+if CONFIG['MOZ_BUILD_APP'] == 'browser':
+ DIST_SUBDIR = 'browser'
+
EXPORTS += [
'nsRFPService.h',
]