Interface YAML:Battery
This commit provides the interface YAML for Battery.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I805c2bc38551f497fd2ddc780db94096da2e6e93
diff --git a/gen/xyz/openbmc_project/Inventory/Item/Battery/meson.build b/gen/xyz/openbmc_project/Inventory/Item/Battery/meson.build
new file mode 100644
index 0000000..64e6810
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/Battery/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Battery__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/Battery.interface.yaml', ],
+ output: [ 'server.cpp', 'server.hpp', 'client.hpp', ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/Battery',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Inventory/Item/meson.build b/gen/xyz/openbmc_project/Inventory/Item/meson.build
index 1e0ae51..b243fb1 100644
--- a/gen/xyz/openbmc_project/Inventory/Item/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Item/meson.build
@@ -27,6 +27,21 @@
build_by_default: true,
)
+subdir('Battery')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Battery__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/Battery.interface.yaml', ],
+ output: [ 'Battery.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/Battery',
+ ],
+ build_by_default: true,
+)
+
subdir('Bmc')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Item/Bmc__markdown'.underscorify(),