From a63e5cbe489f78bc07632291cd276dbd94a3066d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 24 Apr 2020 13:11:44 -0700 Subject: [PATCH] meson: use 2 space not 3 space indent Acked-by: Matt Turner Reviewed-by: Eric Engestrom Part-of: --- src/intel/tools/meson.build | 64 +++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index 063e7373ab3..dbbac798ad3 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -162,48 +162,50 @@ if with_tools.contains('intel-ui') endif i965_gram_tab = custom_target( - 'i965_gram.tab.[ch]', - input : 'i965_gram.y', - output : ['i965_gram.tab.c', 'i965_gram.tab.h'], - command : [ - prog_bison, '@INPUT@', '--defines=@OUTPUT1@', - '--output=@OUTPUT0@' - ] + 'i965_gram.tab.[ch]', + input : 'i965_gram.y', + output : ['i965_gram.tab.c', 'i965_gram.tab.h'], + command : [ + prog_bison, '@INPUT@', '--defines=@OUTPUT1@', + '--output=@OUTPUT0@' + ] ) i965_lex_yy_c = custom_target( - 'i965_lex.yy.c', - input : 'i965_lex.l', - output : 'i965_lex.yy.c', - command : [prog_flex, '-o', '@OUTPUT@', '@INPUT@'] + 'i965_lex.yy.c', + input : 'i965_lex.l', + output : 'i965_lex.yy.c', + command : [prog_flex, '-o', '@OUTPUT@', '@INPUT@'] ) i965_asm = executable( - 'i965_asm', - ['i965_asm.c', i965_gram_tab[0], i965_gram_tab[1], i965_lex_yy_c], - dependencies : [idep_mesautil, dep_thread], - include_directories : [inc_include, inc_src, inc_mesa, inc_intel], - link_with : [libintel_common, libintel_compiler, libintel_dev], - c_args : [no_override_init_args], - gnu_symbol_visibility : 'hidden', - install : true + 'i965_asm', + ['i965_asm.c', i965_gram_tab[0], i965_gram_tab[1], i965_lex_yy_c], + dependencies : [idep_mesautil, dep_thread], + include_directories : [inc_include, inc_src, inc_mesa, inc_intel], + link_with : [libintel_common, libintel_compiler, libintel_dev], + c_args : [no_override_init_args], + gnu_symbol_visibility : 'hidden', + install : true ) asm_testcases = [ - ['brw', 'tests/gen4'], - ['g4x', 'tests/gen4.5'], - ['ilk', 'tests/gen5'], - ['snb', 'tests/gen6'], - ['ivb', 'tests/gen7'], - ['hsw', 'tests/gen7.5'], - ['bdw', 'tests/gen8'], - ['skl', 'tests/gen9'], - ['icl', 'tests/gen11'], + ['brw', 'tests/gen4'], + ['g4x', 'tests/gen4.5'], + ['ilk', 'tests/gen5'], + ['snb', 'tests/gen6'], + ['ivb', 'tests/gen7'], + ['hsw', 'tests/gen7.5'], + ['bdw', 'tests/gen8'], + ['skl', 'tests/gen9'], + ['icl', 'tests/gen11'], ] test_runner = find_program('tests/run-test.sh') foreach testcase : asm_testcases - test('i965_asm : ' + testcase[1], test_runner, - args : [i965_asm, testcase[1], testcase[0]], - env : ['srcdir=' + meson.current_source_dir()]) + test( + 'i965_asm : ' + testcase[1], test_runner, + args : [i965_asm, testcase[1], testcase[0]], + env : ['srcdir=' + meson.current_source_dir()] + ) endforeach -- 2.30.2