From b7a172fefc3a7758dc5ebf283988030e22775a81 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 11 Jul 2024 10:10:16 -0400 Subject: [PATCH] tools: Build using autoninja Applies automatic `-j (#cores)` configuration --- tools/automate/automate-git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/automate/automate-git.py b/tools/automate/automate-git.py index f1ec60b175..4efe539842 100644 --- a/tools/automate/automate-git.py +++ b/tools/automate/automate-git.py @@ -1335,8 +1335,8 @@ def invalid_options_combination(a, b): tool = os.path.join(cef_src_dir, 'tools', 'gclient_hook.py') run('%s %s' % (python_exe, tool), cef_src_dir, depot_tools_dir) - # Build using Ninja. - command = 'ninja ' + # Build using autoninja for automatic `-j (#cores)` configuration. + command = 'autoninja ' if options.verbosebuild: command += '-v ' if options.buildfailurelimit != 1: