aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/gn-bootstrap-remove-sysroot-related-options.patch
blob: 9e542bce362523a6094baa37471f56c026ace020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
See: https://chromium.googlesource.com/chromium/src/tools/gn/+/6630c2e334d7bc179e95a3d543a8eca3201d6725%5E%21/#F0
diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py
index 261fddd..1945852 100755
--- tools/gn/bootstrap/bootstrap.py
+++ tools/gn/bootstrap/bootstrap.py
@@ -46,10 +46,6 @@
       '--build-path',
       help='The directory in which to build gn, '
       'relative to the src directory. (eg. out/Release)')
-  parser.add_option(
-      '--with-sysroot',
-      action='store_true',
-      help='Download and build with the Debian sysroot.')
   parser.add_option('-v', '--verbose', help='ignored')
   parser.add_option(
       '--skip-generate-buildfiles',
@@ -76,8 +72,6 @@
       '--no-last-commit-position',
       '--out-path=' + gn_build_dir,
   ]
-  if not options.with_sysroot:
-    cmd.append('--no-sysroot')
   if options.debug:
     cmd.append('--debug')
   subprocess.check_call(cmd)