meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ie1c6e6ca7e5a12a485b844746b86ad48772d7754
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/chip_data/meson.build b/chip_data/meson.build
index 1741447..d1d34e8 100644
--- a/chip_data/meson.build
+++ b/chip_data/meson.build
@@ -21,8 +21,9 @@
endif
if 'explorer' in chip_config
- cdb_files += {'explorer' : ['chip_data_explorer_11.cdb',
- 'chip_data_explorer_20.cdb']}
+ cdb_files += {
+ 'explorer' : ['chip_data_explorer_11.cdb', 'chip_data_explorer_20.cdb'],
+ }
endif
if 'odyssey' in chip_config
@@ -32,20 +33,26 @@
foreach chip_dir, out_files : cdb_files
source_dir = meson.current_source_dir() + '/' + chip_dir
- build_dir = meson.current_build_dir()
+ build_dir = meson.current_build_dir()
# Get all JSON files in the chip directory. This is a bit of a workaround
# because meson does not allow wildcards.
json_list = run_command('json_list.sh', source_dir)
in_files = json_list.stdout().strip().split('\n')
- custom_target('build_cdb_' + chip_dir, build_by_default : true,
- input : in_files, output : out_files,
- command : [ build_cdb, 'bin', source_dir, build_dir ],
- install : true,
- install_dir : join_paths(get_option('prefix'),
- get_option('datadir'),
- meson.project_name()))
+ custom_target(
+ 'build_cdb_' + chip_dir,
+ build_by_default: true,
+ input: in_files,
+ output: out_files,
+ command: [build_cdb, 'bin', source_dir, build_dir],
+ install: true,
+ install_dir: join_paths(
+ get_option('prefix'),
+ get_option('datadir'),
+ meson.project_name(),
+ ),
+ )
endforeach