Add option to disable getActiveSoftwareVersionInfo

Add metion option `get-dbus-active-software` to allow us to disable
calling getActiveSoftwareVersionInfo when we expect it to be failing and
depend completely on dev_id.json for the version.

Tested:
Build with both options and works fine.

Change-Id: Icad3ad72521af35370e74cea36aa12085448dc53
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/meson.build b/meson.build
index 0fbadc3..c3eed2e 100644
--- a/meson.build
+++ b/meson.build
@@ -52,6 +52,14 @@
   ]),
   language : 'cpp')
 
+if not get_option('get-dbus-active-software').disabled()
+  add_project_arguments(
+    cpp.get_supported_arguments([
+      '-DGET_DBUS_ACTIVE_SOFTWARE',
+    ]),
+    language : 'cpp')
+endif
+
 feature_map = {
   'boot-flag-safe-mode-support': '-DENABLE_BOOT_FLAG_SAFE_MODE_SUPPORT',
   'i2c-whitelist-check'        : '-DENABLE_I2C_WHITELIST_CHECK',