diff options
author | Dylan Baker <[email protected]> | 2017-12-11 15:56:08 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-01-11 15:40:02 -0800 |
commit | fbf192a67ed2e3d4f614b49fe008c980c5f7c9a2 (patch) | |
tree | d0320f703e9b2ffc4096720db4784cf10ea882ef /src/mesa/drivers/dri/i965 | |
parent | c3d802d68e222bf4030ab4e487501dfbcb34608d (diff) |
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 <[email protected]>
Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/meson.build | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i965/meson.build b/src/mesa/drivers/dri/i965/meson.build index 0a214a0d8be..e3bf9cc51bb 100644 --- a/src/mesa/drivers/dri/i965/meson.build +++ b/src/mesa/drivers/dri/i965/meson.build @@ -140,8 +140,10 @@ foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100'] 'libi965_gen@0@'.format(v), ['genX_blorp_exec.c', 'genX_state_upload.c', nir_opcodes_h, gen_xml_pack], include_directories : [inc_common, inc_intel, inc_dri_common], - c_args : [c_vis_args, no_override_init_args, '-msse2', - '-DGEN_VERSIONx10=@0@'.format(v)], + c_args : [ + c_vis_args, no_override_init_args, '-msse2', + '-DGEN_VERSIONx10=@0@'.format(v), + ], dependencies : [dep_libdrm], ) i965_gen_libs += _lib @@ -149,9 +151,10 @@ endforeach oa_generator = generator( prog_python2, - arguments : ['@CURRENT_SOURCE_DIR@/brw_oa.py', '@INPUT@', - '--chipset', '@EXTRA_ARGS@', '--code', '@OUTPUT0@', - '--header', '@OUTPUT1@'], + arguments : [ + '@CURRENT_SOURCE_DIR@/brw_oa.py', '@INPUT@', '--chipset', '@EXTRA_ARGS@', + '--code', '@OUTPUT0@', '--header', '@OUTPUT1@', + ], output : ['@[email protected]', '@[email protected]'], ) @@ -166,12 +169,14 @@ libi965 = static_library( 'i965', [files_i965, i965_oa_sources, nir_opcodes_h, ir_expression_operation_h, xmlpool_options_h], - include_directories : [inc_common, inc_intel, inc_dri_common, inc_util, - inc_drm_uapi, inc_nir], + include_directories : [ + inc_common, inc_intel, inc_dri_common, inc_util, inc_drm_uapi, inc_nir, + ], c_args : [c_vis_args, no_override_init_args, '-msse2'], cpp_args : [cpp_vis_args, '-msse2'], - link_with : [i965_gen_libs, libintel_common, libisl, libintel_compiler, - libblorp], + link_with : [ + i965_gen_libs, libintel_common, libisl, libintel_compiler, libblorp, + ], dependencies : [dep_libdrm, dep_valgrind], ) |