Port in intel-dbus-interfaces content
This takes the com.intel.Control.* content from the
intel-dbus-interfaces repo and puts it into the yaml/com/intel subdir.
Tested:
meson build -Ddata_com_intel=true && ninja -C build
Configures and builds, creating a library with the
com.intel.Control.* interfaces in it (inspected using nm)
Change-Id: I42b07b734483a4a2c9ba89e1bcadbc08d5b074b5
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/gen/com/intel/Control/OCOTShutdownPolicy/meson.build b/gen/com/intel/Control/OCOTShutdownPolicy/meson.build
new file mode 100644
index 0000000..ff50a9b
--- /dev/null
+++ b/gen/com/intel/Control/OCOTShutdownPolicy/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'com/intel/Control/OCOTShutdownPolicy__cpp'.underscorify(),
+ input: [ '../../../../../yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml', ],
+ output: [ 'server.cpp', 'server.hpp', 'client.hpp', ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'com/intel/Control/OCOTShutdownPolicy',
+ ],
+)
+