build: Subproject support

Change-Id: I4451ad2b516d585a71f74e2897548d22ac5d0472
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/meson.build b/src/meson.build
index 63fae3d..c93783c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -16,8 +16,12 @@
 
 watchdog_deps = [
   cli11_dep,
-  dependency('phosphor-dbus-interfaces'),
-  dependency('phosphor-logging'),
+  dependency(
+    'phosphor-dbus-interfaces',
+    fallback: ['phosphor-dbus-interfaces', 'phosphor_dbus_interfaces_dep']),
+  dependency(
+    'phosphor-logging',
+    fallback: ['phosphor-logging', 'phosphor_logging_dep']),
   dependency('sdbusplus', fallback: ['sdbusplus', 'sdbusplus_dep']),
   dependency('sdeventplus', fallback: ['sdeventplus', 'sdeventplus_dep']),
 ]
diff --git a/subprojects/phosphor-dbus-interfaces.wrap b/subprojects/phosphor-dbus-interfaces.wrap
new file mode 100644
index 0000000..0be70dd
--- /dev/null
+++ b/subprojects/phosphor-dbus-interfaces.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://github.com/openbmc/phosphor-dbus-interfaces
+revision = HEAD
diff --git a/subprojects/phosphor-logging.wrap b/subprojects/phosphor-logging.wrap
new file mode 100644
index 0000000..8db07b6
--- /dev/null
+++ b/subprojects/phosphor-logging.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://github.com/openbmc/phosphor-logging
+revision = HEAD