diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/adobe/flash/BUILD.gn | 8 | ||||
-rw-r--r-- | third_party/cython/rules.gni | 9 | ||||
-rw-r--r-- | third_party/google_input_tools/closure.gni | 4 | ||||
-rw-r--r-- | third_party/opus/BUILD.gn | 4 | ||||
-rw-r--r-- | third_party/stp/BUILD.gn | 4 | ||||
-rw-r--r-- | third_party/widevine/cdm/BUILD.gn | 8 | ||||
-rw-r--r-- | third_party/yasm/BUILD.gn | 44 | ||||
-rw-r--r-- | third_party/yasm/yasm_assemble.gni | 4 |
8 files changed, 63 insertions, 22 deletions
diff --git a/third_party/adobe/flash/BUILD.gn b/third_party/adobe/flash/BUILD.gn index b23f269..b618ffb 100644 --- a/third_party/adobe/flash/BUILD.gn +++ b/third_party/adobe/flash/BUILD.gn @@ -52,7 +52,9 @@ copy("flapper_version_h") { sources = [ flapper_version_h_file, ] - outputs = [ "$root_gen_dir/{{source_file_part}}" ] + outputs = [ + "$root_gen_dir/{{source_file_part}}", + ] } if (flapper_binary_files == []) { @@ -62,6 +64,8 @@ if (flapper_binary_files == []) { } else { copy("flapper_binaries") { sources = flapper_binary_files - outputs = [ "$root_out_dir/PepperFlash/{{source_file_part}}" ] + outputs = [ + "$root_out_dir/PepperFlash/{{source_file_part}}", + ] } } diff --git a/third_party/cython/rules.gni b/third_party/cython/rules.gni index cea1e36..3938110 100644 --- a/third_party/cython/rules.gni +++ b/third_party/cython/rules.gni @@ -20,7 +20,9 @@ template("python_binary_module_sources") { visibility = target_visibility script = cython_script sources = invoker.sources - outputs = [ cython_output ] + outputs = [ + cython_output, + ] args = [ "--cplus", "-I", @@ -115,8 +117,9 @@ template("python_binary_module") { sources = [ "$root_out_dir/${shared_library_prefix}${shared_library_name}${shared_library_suffix}", ] - outputs = - [ "$root_out_dir/python/$python_base_module/${target_name}${python_module_suffix}" ] + outputs = [ + "$root_out_dir/python/$python_base_module/${target_name}${python_module_suffix}", + ] deps = [ ":$shared_library_name", ] diff --git a/third_party/google_input_tools/closure.gni b/third_party/google_input_tools/closure.gni index 0d1b0c1..81f8665 100644 --- a/third_party/google_input_tools/closure.gni +++ b/third_party/google_input_tools/closure.gni @@ -9,7 +9,9 @@ template("build_closure") { action(action_name) { script = "//third_party/google_input_tools/builder.py" sources = invoker.sources - outputs = [ invoker.target ] + outputs = [ + invoker.target, + ] args = [ "--target", rebase_path(invoker.target, root_build_dir), diff --git a/third_party/opus/BUILD.gn b/third_party/opus/BUILD.gn index 696234d..5ef411f 100644 --- a/third_party/opus/BUILD.gn +++ b/third_party/opus/BUILD.gn @@ -22,7 +22,9 @@ config("opus_config") { if (use_opus_rtcd) { action("convert_rtcd_assembler") { script = "convert_rtcd_assembler.py" - outputs = [ "$target_gen_dir/celt_pitch_xcorr_arm_gnu.S" ] + outputs = [ + "$target_gen_dir/celt_pitch_xcorr_arm_gnu.S", + ] args = [ rebase_path("//third_party/opus/src/celt/arm/arm2gnu.pl", root_build_dir), rebase_path("//third_party/opus/src/celt/arm/celt_pitch_xcorr_arm.s", diff --git a/third_party/stp/BUILD.gn b/third_party/stp/BUILD.gn index 553f41b..5463eec 100644 --- a/third_party/stp/BUILD.gn +++ b/third_party/stp/BUILD.gn @@ -368,7 +368,9 @@ action_foreach("generate_lexer") { "src/lib/Parser/smt.lex", "src/lib/Parser/smt2.lex", ] - outputs = [ "{{source_gen_dir}}/lex{{source_name_part}}.cpp" ] + outputs = [ + "{{source_gen_dir}}/lex{{source_name_part}}.cpp", + ] args = [ "{{source}}", "{{source_name_part}}", diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn index b5aa3de..d151530 100644 --- a/third_party/widevine/cdm/BUILD.gn +++ b/third_party/widevine/cdm/BUILD.gn @@ -48,7 +48,9 @@ copy("version_h") { # TODO(brettw) this should go into target_out_dir and callers should include # it from there. This requires, however, renaming the default # widevine_cdm_version.h in this directory to avoid conflicts. - outputs = [ "$root_gen_dir/widevine_cdm_version.h" ] + outputs = [ + "$root_gen_dir/widevine_cdm_version.h", + ] } # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_binaries @@ -59,7 +61,9 @@ if (widevine_cdm_binary_files == []) { } else { copy("binaries") { sources = widevine_cdm_binary_files - outputs = [ "$root_out_dir/{{source_file_part}}" ] + outputs = [ + "$root_out_dir/{{source_file_part}}", + ] # TODO(GYP) # 'COPY_PHASE_STRIP': 'NO', diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn index 3b2b884..cd9b453 100644 --- a/third_party/yasm/BUILD.gn +++ b/third_party/yasm/BUILD.gn @@ -285,7 +285,9 @@ if (current_toolchain == host_toolchain) { "source/patched-yasm/modules/arch/x86/x86regtmod.gperf", ] - outputs = [ "$target_gen_dir/{{source_name_part}}.c" ] + outputs = [ + "$target_gen_dir/{{source_name_part}}.c", + ] args = [ "{{source}}", rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.c", @@ -309,7 +311,9 @@ if (current_toolchain == host_toolchain) { "$yasm_gen_include_dir/x86insn_nasm.gperf", ] - outputs = [ "$yasm_gen_include_dir/{{source_name_part}}.c" ] + outputs = [ + "$yasm_gen_include_dir/{{source_name_part}}.c", + ] args = [ "{{source}}", rebase_path(yasm_gen_include_dir, root_build_dir) + @@ -344,7 +348,9 @@ if (current_toolchain == host_toolchain) { sources = [ "source/patched-yasm/modules/parsers/nasm/nasm-std.mac", ] - outputs = [ "$yasm_gen_include_dir/nasm-macros.c" ] + outputs = [ + "$yasm_gen_include_dir/nasm-macros.c", + ] macro_varname = "nasm_standard_mac" } @@ -354,7 +360,9 @@ if (current_toolchain == host_toolchain) { sources = [ "$target_gen_dir/$version_file", ] - outputs = [ "$yasm_gen_include_dir/nasm-version.c" ] + outputs = [ + "$yasm_gen_include_dir/nasm-version.c", + ] macro_varname = "nasm_version_mac" deps = [ ":generate_version", @@ -366,7 +374,9 @@ if (current_toolchain == host_toolchain) { sources = [ "source/patched-yasm/modules/objfmts/coff/win64-gas.mac", ] - outputs = [ "$yasm_gen_include_dir/win64-gas.c" ] + outputs = [ + "$yasm_gen_include_dir/win64-gas.c", + ] macro_varname = "win64_gas_stdmac" } @@ -375,7 +385,9 @@ if (current_toolchain == host_toolchain) { sources = [ "source/patched-yasm/modules/objfmts/coff/win64-nasm.mac", ] - outputs = [ "$yasm_gen_include_dir/win64-nasm.c" ] + outputs = [ + "$yasm_gen_include_dir/win64-nasm.c", + ] macro_varname = "win64_nasm_stdmac" } @@ -385,7 +397,9 @@ if (current_toolchain == host_toolchain) { "source/patched-yasm/modules/parsers/gas/gas-token.re", "source/patched-yasm/modules/parsers/nasm/nasm-token.re", ] - outputs = [ "$target_gen_dir/{{source_name_part}}.c" ] + outputs = [ + "$target_gen_dir/{{source_name_part}}.c", + ] args = [ "-b", "-o", @@ -400,7 +414,9 @@ if (current_toolchain == host_toolchain) { inputs = [ "source/patched-yasm/modules/arch/lc3b/lc3bid.re", ] - outputs = [ "$target_gen_dir/lc3bid.c" ] + outputs = [ + "$target_gen_dir/lc3bid.c", + ] args = [ "-s", "-o", @@ -416,7 +432,9 @@ if (current_toolchain == host_toolchain) { inputs = [ "source/patched-yasm/COPYING", ] - outputs = [ "$yasm_gen_include_dir/license.c" ] + outputs = [ + "$yasm_gen_include_dir/license.c", + ] args = [ "license_msg", rebase_path(outputs[0], root_build_dir), @@ -430,7 +448,9 @@ if (current_toolchain == host_toolchain) { "source/patched-yasm/libyasm/module.in", config_makefile, ] - outputs = [ "$target_gen_dir/module.c" ] + outputs = [ + "$target_gen_dir/module.c", + ] args = [ rebase_path(inputs[0], root_build_dir), rebase_path(config_makefile, root_build_dir), @@ -440,7 +460,9 @@ if (current_toolchain == host_toolchain) { compiled_action("generate_version") { tool = ":genversion" - outputs = [ "$target_gen_dir/$version_file" ] + outputs = [ + "$target_gen_dir/$version_file", + ] args = [ rebase_path(outputs[0], root_build_dir) ] } diff --git a/third_party/yasm/yasm_assemble.gni b/third_party/yasm/yasm_assemble.gni index fdbf624..56d7e11a 100644 --- a/third_party/yasm/yasm_assemble.gni +++ b/third_party/yasm/yasm_assemble.gni @@ -172,7 +172,9 @@ template("yasm_assemble") { # exactly duplicate the naming and location of object files from the # native build, which would be: # "$root_out_dir/${target_name}.{{source_dir_part}}.$asm_obj_extension" - outputs = [ "$target_out_dir/{{source_name_part}}.o" ] + outputs = [ + "$target_out_dir/{{source_name_part}}.o", + ] args += [ "-o", rebase_path(outputs[0], root_build_dir), |