summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-gn-r0.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-18 16:38:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-18 16:38:57 +0100
commit06ed7b60c6b20f9251be0a7c51733338d0b222e9 (patch)
treef6c880e34a99527989583b7d31a91454a1b2a11f /www-client/chromium/files/chromium-gn-r0.patch
parentbaf59ad449bfa1aa61213c7f93da38ce3245d00f (diff)
www-client/chromium : import from portage tree
Diffstat (limited to 'www-client/chromium/files/chromium-gn-r0.patch')
-rw-r--r--www-client/chromium/files/chromium-gn-r0.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-gn-r0.patch b/www-client/chromium/files/chromium-gn-r0.patch
new file mode 100644
index 00000000..8f01e864
--- /dev/null
+++ b/www-client/chromium/files/chromium-gn-r0.patch
@@ -0,0 +1,33 @@
+From 47b25a1f83f8166c6cd5cf1f13bf6dcce125511a Mon Sep 17 00:00:00 2001
+From: Tom Anderson <thomasanderson@chromium.org>
+Date: Tue, 9 Jan 2018 15:23:14 -0800
+Subject: [PATCH] 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-Commit-Position: refs/heads/master@{#528197}
+---
+ tools/gn/bootstrap/bootstrap.py | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
+index a0f32ad31df0..5376c6253a32 100755
+--- a/tools/gn/bootstrap/bootstrap.py
++++ b/tools/gn/bootstrap/bootstrap.py
+@@ -178,6 +178,11 @@ def build_gn_with_ninja_manually(tempdir, options):
+ 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'})
+