Fix gn bootstrap BUG=800553 R=dpranke@chromium.org Change-Id: I5c1cfeb7542bf990c59451aabcae7c120cbf09c0 Reviewed-on: https://chromium-review.googlesource.com/858276 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#528197} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 47b25a1f83f8166c6cd5cf1f13bf6dcce125511a
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py index a0f32ad..5376c62 100755 --- a/tools/gn/bootstrap/bootstrap.py +++ b/tools/gn/bootstrap/bootstrap.py
@@ -178,6 +178,11 @@ root_gen_dir = os.path.join(tempdir, 'gen') mkdir_p(root_gen_dir) + write_buildflag_header_manually( + root_gen_dir, + 'base/synchronization/synchronization_flags.h', + {'ENABLE_MUTEX_PRIORITY_INHERITANCE': 'false'}) + write_buildflag_header_manually(root_gen_dir, 'base/allocator/features.h', {'USE_ALLOCATOR_SHIM': 'true' if is_linux else 'false'})