Set limit for field trial parameters length.
Windows has a limit of 32767 on a command line. When testing with field trails, the command to launch chrome.exe may exceed the limit if there're too many field trial configs passed as parameters. This was causing the chrome perf waterfall to completely fail on Windows. This CL added a presubmit check to see whether the configs under Windows will exceed the limit of 31000. Bug: chromium:1045530 Change-Id: I9d181783f1bdad58eeba802583c052bfd0321c6f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2021468 Commit-Queue: Wenbin Zhang <wenbinzhang@google.com> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Caleb Rouleau <crouleau@chromium.org> Cr-Commit-Position: refs/heads/master@{#735981}
Showing
Please register or sign in to comment