From da2c1e64cc7aa8718fb92eb602136da5d505d664 Mon Sep 17 00:00:00 2001 From: Robin Steuber Date: Thu, 29 Feb 2024 08:23:07 +0000 Subject: [PATCH] Bug 1882322 - Prevent macOS channel frameworks from being in precomplete file r=jcristau Differential Revision: https://phabricator.services.mozilla.com/D203054 --- config/createprecomplete.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/createprecomplete.py b/config/createprecomplete.py index 8c5fceefaa65..f3ac8c67136b 100644 --- a/config/createprecomplete.py +++ b/config/createprecomplete.py @@ -24,7 +24,11 @@ def get_build_entries(root_path): if not ( rel_path_file.endswith("channel-prefs.js") or rel_path_file.endswith("update-settings.ini") - or rel_path_file.find("distribution/") != -1 + or "/ChannelPrefs.framework/" in rel_path_file + or rel_path_file.startswith("ChannelPrefs.framework/") + or "/UpdateSettings.framework/" in rel_path_file + or rel_path_file.startswith("UpdateSettings.framework/") + or "distribution/" in rel_path_file ): rel_file_path_set.add(rel_path_file)