meson: Use consistent style
Currently the meosn build has a mix of two styles: arg : [foo, ... bar], and arg : [ foo, ..., bar, ] For consistency let's pick one. I've picked the later style, which I think is more readable, and is more common in the mesa code base. v2: - fix commit message Acked-by: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
This commit is contained in:
@@ -22,8 +22,10 @@ glcpp_parse = custom_target(
|
||||
'glcpp-parse.[ch]',
|
||||
input : 'glcpp-parse.y',
|
||||
output : ['glcpp-parse.c', 'glcpp-parse.h'],
|
||||
command : [prog_bison, '-o', '@OUTPUT0@', '-p', 'glcpp_parser_',
|
||||
'--defines=@OUTPUT1@', '@INPUT@'],
|
||||
command : [
|
||||
prog_bison, '-o', '@OUTPUT0@', '-p', 'glcpp_parser_',
|
||||
'--defines=@OUTPUT1@', '@INPUT@',
|
||||
],
|
||||
)
|
||||
|
||||
glcpp_lex = custom_target(
|
||||
|
@@ -24,8 +24,10 @@ glsl_parser = custom_target(
|
||||
'glsl_parser',
|
||||
input : 'glsl_parser.yy',
|
||||
output : ['glsl_parser.cpp', 'glsl_parser.h'],
|
||||
command : [prog_bison, '-o', '@OUTPUT0@', '-p', '_mesa_glsl_',
|
||||
'--defines=@OUTPUT1@', '@INPUT@'],
|
||||
command : [
|
||||
prog_bison, '-o', '@OUTPUT0@', '-p', '_mesa_glsl_', '--defines=@OUTPUT1@',
|
||||
'@INPUT@',
|
||||
],
|
||||
)
|
||||
|
||||
glsl_lexer_cpp = custom_target(
|
||||
|
Reference in New Issue
Block a user