meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ie0fb147f556c18eb226736dd9b688afba5636a9b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-power-supply/meson.build b/phosphor-power-supply/meson.build
index 9b1d423..2a113d5 100644
--- a/phosphor-power-supply/meson.build
+++ b/phosphor-power-supply/meson.build
@@ -1,6 +1,8 @@
-install_subdir('configurations',
- strip_directory: true,
- install_dir: get_option('datadir')/'phosphor-psu-monitor')
+install_subdir(
+ 'configurations',
+ strip_directory: true,
+ install_dir: get_option('datadir') / 'phosphor-psu-monitor',
+)
phosphor_psu_monitor = executable(
'phosphor-psu-monitor',
@@ -19,13 +21,11 @@
],
include_directories: '..',
install: true,
- link_with: [
- libpower,
- ]
+ link_with: [libpower],
)
power_supply = phosphor_psu_monitor.extract_objects('power_supply.cpp')
if get_option('tests').allowed()
- subdir('test')
+ subdir('test')
endif
diff --git a/phosphor-power-supply/test/meson.build b/phosphor-power-supply/test/meson.build
index 86143aa..9bab5e3 100644
--- a/phosphor-power-supply/test/meson.build
+++ b/phosphor-power-supply/test/meson.build
@@ -1,27 +1,23 @@
-test('phosphor-power-supply-tests',
- executable('phosphor-power-supply-tests',
- 'power_supply_tests.cpp',
- 'mock.cpp',
- dependencies: [
- gmock,
- gtest,
- libgpiodcxx,
- nlohmann_json_dep,
- phosphor_logging,
- sdbusplus,
- sdeventplus,
- ],
- implicit_include_directories: false,
- include_directories: [
- '.',
- '..',
- '../..'
- ],
- link_args: dynamic_linker,
- link_with: [
- libpower,
- ],
- build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
- objects: power_supply,
- )
+test(
+ 'phosphor-power-supply-tests',
+ executable(
+ 'phosphor-power-supply-tests',
+ 'power_supply_tests.cpp',
+ 'mock.cpp',
+ dependencies: [
+ gmock,
+ gtest,
+ libgpiodcxx,
+ nlohmann_json_dep,
+ phosphor_logging,
+ sdbusplus,
+ sdeventplus,
+ ],
+ implicit_include_directories: false,
+ include_directories: ['.', '..', '../..'],
+ link_args: dynamic_linker,
+ link_with: [libpower],
+ build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
+ objects: power_supply,
+ ),
)