The file base/allocator/partition_allocator/partition_alloc.gni reads the variable is_cronet_build, which is defined by the cronet.gni file. Removing the import and relying on the transitive import from another .gni file, makes it brittle (e.g. in this case it breaks WebRTC's bots). Bug: b/344727254 Change-Id: If6c537e934ae4b2243eb104a4b867b49f5d10cca Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/353540 Reviewed-by: Jeremy Leconte <jleconte@google.com> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42431}
Build overrides in GN
This directory is used to allow us to customize variables that differ between WebRTC being built as standalone and as a part of Chromium.
There's another build_overrides in Chromium that needs to contain the same set of files with the same set of variables (but with different values).