Bug 1656680 - Allow aboutGlean.ftl to be unreferenced r=Gijs
authorChris H-C <chutten@mozilla.com>
Tue, 04 Aug 2020 21:21:26 +0000
changeset 543400 1552fde523bc10615a898f3d6ecb60d3c9d978e3
parent 543399 c364da26c92ab2a7f88b547b95171a1b7dac2c65
child 543401 6859d73040c353054c7be504edd572a9a8ad686c
push id123434
push userchutten@mozilla.com
push dateWed, 05 Aug 2020 14:03:14 +0000
treeherderautoland@1552fde523bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1656680
milestone81.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1656680 - Allow aboutGlean.ftl to be unreferenced r=Gijs But only on not-nightly or android builds. Differential Revision: https://phabricator.services.mozilla.com/D85926
browser/base/content/test/static/browser_all_files_referenced.js
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -228,16 +228,25 @@ var whitelist = [
 if (AppConstants.NIGHTLY_BUILD && AppConstants.platform != "win") {
   // This path is refereneced in nsFxrCommandLineHandler.cpp, which is only
   // compiled in Windows. Whitelisted this path so that non-Windows builds
   // can access the FxR UI via --chrome rather than --fxr (which includes VR-
   // specific functionality)
   whitelist.push({ file: "chrome://fxr/content/fxrui.html" });
 }
 
+if (!AppConstants.NIGHTLY_BUILD || AppConstants.platform == "android") {
+  // Bug 1656680, should be removed after Bug 1651111 lands.
+  // The l10n build system can't package string files only for some platforms.
+  // Referenced by aboutGlean.html
+  whitelist.push({
+    file: "resource://gre/localization/en-US/toolkit/about/aboutGlean.ftl",
+  });
+}
+
 whitelist = new Set(
   whitelist
     .filter(
       item =>
         "isFromDevTools" in item == isDevtools &&
         (!item.skipUnofficial || !AppConstants.MOZILLA_OFFICIAL) &&
         (!item.platforms || item.platforms.includes(AppConstants.platform))
     )