mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tools: Build using autoninja
Applies automatic `-j (#cores)` configuration
This commit is contained in:
@@ -1335,8 +1335,8 @@ if not options.nobuild and (chromium_checkout_changed or \
|
|||||||
tool = os.path.join(cef_src_dir, 'tools', 'gclient_hook.py')
|
tool = os.path.join(cef_src_dir, 'tools', 'gclient_hook.py')
|
||||||
run('%s %s' % (python_exe, tool), cef_src_dir, depot_tools_dir)
|
run('%s %s' % (python_exe, tool), cef_src_dir, depot_tools_dir)
|
||||||
|
|
||||||
# Build using Ninja.
|
# Build using autoninja for automatic `-j (#cores)` configuration.
|
||||||
command = 'ninja '
|
command = 'autoninja '
|
||||||
if options.verbosebuild:
|
if options.verbosebuild:
|
||||||
command += '-v '
|
command += '-v '
|
||||||
if options.buildfailurelimit != 1:
|
if options.buildfailurelimit != 1:
|
||||||
|
Reference in New Issue
Block a user