Commit 3f07c825 authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[vim] Update CrBuild to use autoninja.

Bug: v8:9183
Change-Id: Id2ae3ee0a53133eaf41e28fcadc681edf5ffb382
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1630673Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61833}
parent e846ad9f
......@@ -53,11 +53,8 @@ def path_to_build_dir(configuration):
def compute_ninja_command_for_targets(targets='', configuration=None):
flags = []
if "use_goma=1" in os.getenv('GYP_DEFINES', '').split(' '):
flags = ['-j', '512']
build_dir = path_to_build_dir(configuration);
build_cmd = ' '.join(['ninja'] + flags + ['-C', build_dir, targets])
build_cmd = ' '.join(['autoninja', '-C', build_dir, targets])
vim.command('return "%s"' % build_cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment