Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/automate/automate-git.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,9 @@ def invalid_options_combination(a, b):
if options.nodistribarchive:
path += ' --no-archive'

if options.nodebugbuild:
path += ' --no-debug-build'

# Override the subdirectory name of binary_distrib if the caller requested.
if options.distribsubdir != '':
path += ' --distrib-subdir=' + options.distribsubdir
Expand Down
14 changes: 12 additions & 2 deletions tools/make_distrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,12 @@ def print_error(msg):
dest='noformat',
default=False,
help='don\'t format autogenerated C/C++ files')
parser.add_option(
'--no-debug-build',
action='store_true',
dest='no_debug_build',
default=False,
help='don\'t do debug build')
parser.add_option(
'--ninja-build',
action='store_true',
Expand Down Expand Up @@ -1136,8 +1142,12 @@ def print_error(msg):
sys.stdout.write("ERROR: No docs generated.\n")

if mode == 'tools':
transfer_tools_files(script_dir, (build_dir_debug, build_dir_release),
output_dir)
if options.no_debug_build:
transfer_tools_files(script_dir, (build_dir_release,),
output_dir)
else:
transfer_tools_files(script_dir, (build_dir_debug, build_dir_release),
output_dir)
elif platform == 'windows':
libcef_dll = 'libcef.dll'
# yapf: disable
Expand Down