diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2018-07-05 14:32:11 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2018-07-10 13:33:04 +0000 |
commit | c51a0ee98de449321096e972bb349af234488f28 (patch) | |
tree | 0fca4f469f2ce8bf82ea27823e81891398b915d0 | |
parent | c67d3d4a83a3be8f98a8ddf098e58191da0a2165 (diff) | |
download | qtwebengine-chromium-c51a0ee98de449321096e972bb349af234488f28.tar.gz |
FIXUP: gn-build gn with exactly the python it was bootstrapped with
Task-number: QTBUG-69145
Change-Id: I6d31ef4c7cbf0ce6f3218be74780eb66ab76b4eb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rwxr-xr-x | chromium/tools/gn/bootstrap/bootstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/tools/gn/bootstrap/bootstrap.py b/chromium/tools/gn/bootstrap/bootstrap.py index dd2ffce1b76..c3ba0fbd8c7 100755 --- a/chromium/tools/gn/bootstrap/bootstrap.py +++ b/chromium/tools/gn/bootstrap/bootstrap.py @@ -945,6 +945,8 @@ def build_gn_with_gn(temp_gn, build_dir, options): # gets updated to "./gn". cmd = [os.path.join(build_dir, 'gn'), 'gen', build_dir, '--args=%s' % gn_gen_args] + if sys.executable: + cmd.append('--script-executable=%s' % sys.executable) check_call(cmd) if not options.debug and not is_win: |