mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improvements to automate-git.py for local mirror support (issue #1728)
- Add new command-line flags: --chromium-url: Allows overriding the synced Chromium URL. --no-cef-update: Allows bypassing the step to sync CEF. --no-chromium-update: Allows bypassing the step to sync Chromium. --no-depot-tools-update: Allows bypassing the step to update depot_tools. --distrib-subdir: Allows specifying the subdirectory name of chromium/src/cef/binary_distrib. - Add support in make_distrib.py for the --distrib-subdir flag. - Change CMake requirement from 2.8.12.2 to 2.8.12.1.
This commit is contained in:
@ -199,6 +199,9 @@ This utility builds the CEF Binary Distribution.
|
||||
parser = OptionParser(description=disc)
|
||||
parser.add_option('--output-dir', dest='outputdir', metavar='DIR',
|
||||
help='output directory [required]')
|
||||
parser.add_option('--distrib-subdir', dest='distribsubdir',
|
||||
help='name of the subdirectory for the distribution',
|
||||
default='')
|
||||
parser.add_option('--allow-partial',
|
||||
action='store_true', dest='allowpartial', default=False,
|
||||
help='allow creation of partial distributions')
|
||||
@ -307,7 +310,11 @@ if platform == 'linux':
|
||||
|
||||
# output directory
|
||||
output_dir_base = 'cef_binary_' + cef_ver
|
||||
output_dir_name = output_dir_base + '_' + platform + platform_arch
|
||||
|
||||
if options.distribsubdir == '':
|
||||
output_dir_name = output_dir_base + '_' + platform + platform_arch
|
||||
else:
|
||||
output_dir_name = options.distribsubdir
|
||||
|
||||
if options.minimal:
|
||||
mode = 'minimal'
|
||||
|
Reference in New Issue
Block a user