Internal change PiperOrigin-RevId: 348795836 Change-Id: Ibb5af0114970ba0d38a8eabac4798f145c5885f4
diff --git a/patch/patch.cfg b/patch/patch.cfg index c158d63..d51a9b0 100755 --- a/patch/patch.cfg +++ b/patch/patch.cfg
@@ -90,4 +90,12 @@ 'name': 'private_hermetic_xcode', 'path': 'cef', }, + { + # Increase the symbol limit on a header included in the CEF sandbox build. + # We hit this limit in our Windows build on the 4280 branch, but don't know + # why. + # + # Bug: b/175682493 + 'name': 'symbol_limit' + }, )
diff --git a/patch/patches/symbol_limit.patch b/patch/patches/symbol_limit.patch new file mode 100644 index 0000000..6d8b78c --- /dev/null +++ b/patch/patches/symbol_limit.patch
@@ -0,0 +1,12 @@ +diff --git base/notreached.cc base/notreached.cc +--- base/notreached.cc ++++ base/notreached.cc +@@ -8,7 +8,7 @@ + // build time. Try not to raise this limit unless absolutely necessary. See + // https://chromium.googlesource.com/chromium/src/+/HEAD/docs/wmax_tokens.md + #ifndef NACL_TC_REV +-#pragma clang max_tokens_here 17000 ++#pragma clang max_tokens_here 50000 + #endif + + #include "base/logging.h"