Merge branch 'saltama-sysroot-patch'

This commit is contained in:
Eloston
2018-11-19 22:47:54 +00:00
3 changed files with 26 additions and 1 deletions
+1
View File
@@ -112,6 +112,7 @@ ungoogled-chromium/remove-third-party-analytics.patch
ungoogled-chromium/gn-bootstrap-remove-gn-gen.patch
ungoogled-chromium/disable-webgl-renderer-info.patch
ungoogled-chromium/add-flag-to-show-avatar-button.patch
ungoogled-chromium/no-such-option-no-sysroot.patch
bromite/fingerprinting-flags-client-rects-and-measuretext.patch
bromite/flag-max-connections-per-host.patch
+1 -1
View File
@@ -3,7 +3,7 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -81,10 +81,10 @@ def main(argv):
@@ -75,10 +75,10 @@ def main(argv):
os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir)
if options.jobs:
subprocess.check_call(
@@ -0,0 +1,24 @@
# Removes the --no-sysroot option, not a valid option anymore
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -45,10 +45,6 @@ def main(argv):
'--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('-j', '--jobs', help='Number of jobs')
options, args = parser.parse_args(argv)
@@ -71,8 +67,6 @@ def main(argv):
'--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)