diff options
author | Dylan Baker <[email protected]> | 2019-01-29 11:24:14 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-01-31 21:42:16 +0000 |
commit | 8e49b32f636b7f440bcd5d03b90c3a8c1d0166de (patch) | |
tree | 546ea6bcf72363c3861ed2bce37b1c58ad15fbdf /src/intel | |
parent | d93d53fa72bb67a13916aac4ba85687cb9e82fa9 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/tools/meson.build | 32 |
1 files changed, 17 insertions, 15 deletions
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 |