mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 18:36:58 -10:00
This patch fixues two `gn gen` failures when building CaR with our toolchain fetched SDK on CI mac workers. First, BUILD.gn has an action that only works for remote build execution (RBE, which we don't use). But GN still validates it and rejects our SDK path. Here a patch is applied with a new guard to catch upstream changes Second, chromium's c++ modles require modulemap files that are not in our SDK but we can skip that using use_clang_modules=false. These modules are a compilation optimization only, so the resulting binary is still the same. Old stubs for Bug 1990712 are also removed as they are no longer needed. Differential Revision: https://phabricator.services.mozilla.com/D305765