summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-09-06 10:47:08 +0000
committer Eric Hameleers <alien@slackware.com>2018-09-06 10:47:08 +0000
commit5fc9738bac58ad07713cc07c2ccd221ab67eca5c (patch)
tree41a9d4fb85fe9e8eb1eafd9a087cef0887279a71 /chromium
parent2a9526231f3413b0e2a794ff81c1bdd7d2e14b3a (diff)
downloadasb-5fc9738bac58ad07713cc07c2ccd221ab67eca5c.tar.gz
asb-5fc9738bac58ad07713cc07c2ccd221ab67eca5c.tar.xz
Initial revision
Diffstat (limited to 'chromium')
-rw-r--r--chromium/build/patches/chromium-gn-bootstrap-libcxx.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium-gn-bootstrap-libcxx.patch b/chromium/build/patches/chromium-gn-bootstrap-libcxx.patch
new file mode 100644
index 00000000..d98acb52
--- /dev/null
+++ b/chromium/build/patches/chromium-gn-bootstrap-libcxx.patch
@@ -0,0 +1,20 @@
+description: avoid chromium's embedded C++ library when bootstrapping gn
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/tools/gn/bootstrap/bootstrap.py
++++ b/tools/gn/bootstrap/bootstrap.py
+@@ -83,14 +83,6 @@ def main(argv):
+ ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err'])
+ shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path)
+
+- gn_gen_args = options.gn_gen_args or ''
+- if not options.debug:
+- gn_gen_args += ' is_debug=false'
+- subprocess.check_call([
+- gn_path, 'gen', out_dir,
+- '--args=%s' % gn_gen_args, "--root=" + SRC_ROOT
+- ])
+-
+
+ if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))