From: Dylan Baker Date: Tue, 29 Jan 2019 19:24:14 +0000 (-0800) Subject: meson: fix style in intel/tools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e49b32f636b7f440bcd5d03b90c3a8c1d0166de;p=mesa.git meson: fix style in intel/tools The `:` in options should always have one space before and after `foo : bar`, and lists do not get spaces around the braces: `[foo]` not `[ foo ]` Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Eric Engestrom --- diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index b1b6007c131..02ebb685531 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -73,11 +73,11 @@ sanitize_data.set( join_paths(get_option('prefix'), get_option('libexecdir')) ) configure_file( - input: 'intel_sanitize_gpu.in', - output: '@BASENAME@', - install_dir: get_option('bindir'), - install: true, - configuration: sanitize_data + input : 'intel_sanitize_gpu.in', + output : '@BASENAME@', + install_dir : get_option('bindir'), + install : true, + configuration : sanitize_data ) libintel_sanitize_gpu = shared_library( @@ -87,28 +87,30 @@ libintel_sanitize_gpu = shared_library( include_directories : [inc_common, inc_intel, inc_drm_uapi], link_with : [libintel_common, libmesa_util], c_args : [c_vis_args, no_override_init_args, c_sse2_args], - install_dir: get_option('libexecdir'), - install: true + install_dir : get_option('libexecdir'), + install : true ) configure_file( input : 'intel_dump_gpu.in', output : '@BASENAME@', - install_dir: get_option('bindir'), - configuration: sanitize_data, - install: true + install_dir : get_option('bindir'), + configuration : sanitize_data, + install : true ) libintel_dump_gpu = shared_library( 'intel_dump_gpu', - files('gen_context.h', 'gen8_context.h', 'gen10_context.h', - 'intel_aub.h', 'aub_write.h', 'aub_write.c', 'intel_dump_gpu.c'), + files( + 'gen_context.h', 'gen8_context.h', 'gen10_context.h', 'intel_aub.h', + 'aub_write.h', 'aub_write.c', 'intel_dump_gpu.c', + ), dependencies : dep_dl, include_directories : [inc_common, inc_intel, inc_drm_uapi], link_with : libintel_dev, c_args : [c_vis_args, no_override_init_args], - install_dir: get_option('libexecdir'), - install: true + install_dir : get_option('libexecdir'), + install : true ) if with_tools.contains('intel-ui') @@ -121,7 +123,7 @@ if with_tools.contains('intel-ui') include_directories : [inc_common, inc_intel], link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util, libaub], c_args : [c_vis_args, no_override_init_args], - cpp_args : [ '-fpermissive', '-std=c++11', '-Wno-parentheses', '-Wno-class-memaccess' ], + cpp_args : ['-fpermissive', '-std=c++11', '-Wno-parentheses', '-Wno-class-memaccess'], install : true ) endif