Skip to content

Commit

Permalink
Bug 1900963 - only ship featuregates on desktop firefox and avoid cal…
Browse files Browse the repository at this point in the history
…ling it in aboutSupport in other apps, r=freaktechnik

Differential Revision: https://phabricator.services.mozilla.com/D212911
  • Loading branch information
gijsk committed Jun 7, 2024
1 parent abf5a31 commit f44e9f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions toolkit/components/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ if CONFIG["NS_PRINTING"]:
if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
DIRS += [
"aboutconfig",
"featuregates",
"narrate",
"reader",
"viaduct",
Expand Down Expand Up @@ -131,7 +130,7 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
DIRS += ["aboutwebauthn"]

if CONFIG["MOZ_BUILD_APP"] == "browser":
DIRS += ["normandy", "messaging-system"]
DIRS += ["featuregates", "messaging-system", "normandy"]

DIRS += ["nimbus"]

Expand Down
2 changes: 1 addition & 1 deletion toolkit/modules/Troubleshoot.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ var dataProviders = {
},

async experimentalFeatures(done) {
if (AppConstants.platform == "android") {
if (AppConstants.MOZ_BUILD_APP != "browser") {
done();
return;
}
Expand Down

0 comments on commit f44e9f4

Please sign in to comment.