Add meson support

Add meson as an alternative build system.

Change-Id: If58674e6fd19d0165ecc73ae677c2a5ad6b30075
Signed-off-by: Kun Yi <kunyi731@gmail.com>
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..13809f1
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,20 @@
+gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
+gmock = dependency('gmock', disabler: true, required: build_tests)
+phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
+sdbusplus = dependency('sdbusplus')
+
+tests = [
+  'post_reporter_test',
+]
+
+foreach t : tests
+  test(t, executable(t.underscorify(), t + '.cpp',
+                     include_directories: postd_headers,
+                     implicit_include_directories: false,
+                     dependencies: [
+                       gtest,
+                       gmock,
+                       phosphor_dbus_interfaces,
+                       sdbusplus,
+                    ]))
+endforeach