зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1411081 - Appease flake8 linter by adding empty lines; r=me
This commit is contained in:
Родитель
c15eeb26e9
Коммит
8de001a07d
|
@ -19,6 +19,7 @@ js_option('--enable-optimize',
|
|||
default=True,
|
||||
help='Enable optimizations via compiler flags')
|
||||
|
||||
|
||||
@depends('--enable-optimize')
|
||||
def moz_optimize(option):
|
||||
flags = None
|
||||
|
@ -36,6 +37,7 @@ def moz_optimize(option):
|
|||
flags=flags,
|
||||
)
|
||||
|
||||
|
||||
set_config('MOZ_OPTIMIZE', moz_optimize.optimize)
|
||||
add_old_configure_assignment('MOZ_OPTIMIZE', moz_optimize.optimize)
|
||||
add_old_configure_assignment('MOZ_CONFIGURE_OPTIMIZE_FLAGS', moz_optimize.flags)
|
||||
|
@ -1308,6 +1310,7 @@ js_option(env='RUSTC_OPT_LEVEL',
|
|||
# --enable-release kicks in full optimizations.
|
||||
imply_option('RUSTC_OPT_LEVEL', '2', when='--enable-release')
|
||||
|
||||
|
||||
@depends('RUSTC_OPT_LEVEL', debug_rust, '--enable-debug-symbols',
|
||||
moz_optimize)
|
||||
def rust_compiler_flags(opt_level_option, debug_rust, debug_symbols,
|
||||
|
@ -1355,6 +1358,7 @@ def rust_compiler_flags(opt_level_option, debug_rust, debug_symbols,
|
|||
|
||||
return flags
|
||||
|
||||
|
||||
set_config('MOZ_RUST_DEFAULT_FLAGS', rust_compiler_flags)
|
||||
|
||||
# Linker detection
|
||||
|
|
Загрузка…
Ссылка в новой задаче