meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I5893182e6f49b59f39785995afe06be116ec18ba
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/attn/meson.build b/attn/meson.build
index a2b01d8..674e302 100644
--- a/attn/meson.build
+++ b/attn/meson.build
@@ -1,10 +1,12 @@
# async gpio monitor needs boost library
-boost_args = ['-DBOOST_ASIO_DISABLE_THREADS',
- '-DBOOST_ERROR_CODE_HEADER_ONLY',
- '-DBOOST_SYSTEM_NO_DEPRECATED']
+boost_args = [
+ '-DBOOST_ASIO_DISABLE_THREADS',
+ '-DBOOST_ERROR_CODE_HEADER_ONLY',
+ '-DBOOST_SYSTEM_NO_DEPRECATED',
+]
# dependency to link gpiod support
-libgpiod = dependency('libgpiod', version : '>=1.4.1')
+libgpiod = dependency('libgpiod', version: '>=1.4.1')
# get openpower-hw-diags build configuration
attn_conf = configuration_data()
@@ -25,8 +27,7 @@
input: 'attn_handler.service.in',
output: 'attn_handler.service',
install: true,
- install_dir:
- dependency('systemd').get_variable('systemdsystemunitdir')
+ install_dir: dependency('systemd').get_variable('systemdsystemunitdir'),
)
# install attention handler config file
@@ -35,7 +36,7 @@
input: 'attn_config.in',
output: 'attn_config',
install: true,
- install_dir: join_paths(get_option('sysconfdir'), 'default')
+ install_dir: join_paths(get_option('sysconfdir'), 'default'),
)
# Source files.
@@ -58,22 +59,17 @@
pel_src = files(
'pel/extended_user_header.cpp',
'pel/pel_minimal.cpp',
- 'pel/private_header.cpp',
'pel/primary_src.cpp',
+ 'pel/private_header.cpp',
'pel/user_header.cpp',
)
# Library dependencies.
-attn_deps = [
- libgpiod,
- libpdbg_dep,
- phosphor_logging_dep,
- sdbusplus_dep,
-]
+attn_deps = [libgpiod, libpdbg_dep, phosphor_logging_dep, sdbusplus_dep]
# conditional library dependencies
if get_option('phal').allowed()
- attn_deps += libphal_dep
+ attn_deps += libphal_dep
endif
# Create static library.
@@ -81,8 +77,8 @@
'attn_lib',
attn_src,
pel_src,
- include_directories : incdir,
- dependencies : attn_deps,
- cpp_args : [boost_args],
- install : false,
+ include_directories: incdir,
+ dependencies: attn_deps,
+ cpp_args: [boost_args],
+ install: false,
)