meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I0992e665c16f369772eb0cb5ac65553654fd464a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/presence/meson.build b/presence/meson.build
index 42c32a4..11db05a 100644
--- a/presence/meson.build
+++ b/presence/meson.build
@@ -1,10 +1,7 @@
-phosphor_fan_presence_include_directories = include_directories(
- '.',
- '..'
-)
+phosphor_fan_presence_include_directories = include_directories('.', '..')
-sources=[
+sources = [
'anyof.cpp',
'error_reporter.cpp',
'fallback.cpp',
@@ -15,10 +12,10 @@
'logging.cpp',
'psensor.cpp',
'tach.cpp',
- 'tach_detect.cpp'
+ 'tach_detect.cpp',
]
-deps=[
+deps = [
libevdev_dep,
nlohmann_json_dep,
phosphor_dbus_interfaces_dep,
@@ -31,17 +28,10 @@
if get_option('json-config').disabled()
generated_hpp_dep = custom_target(
'generated.hpp',
- input: files(
- './pfpgen.py',
- conf.get_unquoted('PRESENCE_YAML_FILE')
- ),
- command: [
- python_prog, '@INPUT0@',
- 'generate-cpp',
- '-i', '@INPUT1@'
- ],
+ input: files(conf.get_unquoted('PRESENCE_YAML_FILE'), './pfpgen.py'),
+ command: [python_prog, '@INPUT0@', 'generate-cpp', '-i', '@INPUT1@'],
capture: true,
- output: 'generated.hpp'
+ output: 'generated.hpp',
)
sources += generated_hpp_dep
@@ -50,9 +40,9 @@
phosphor_fan_presence = executable(
'phosphor-fan-presence-tach',
sources,
- dependencies : deps,
+ dependencies: deps,
implicit_include_directories: false,
include_directories: phosphor_fan_presence_include_directories,
- install: true
+ install: true,
)