gbmcweb: update option for google common plugin

disable the `google_internal` option for vendor build and enable it for
gbmc build.

Also add the corresponding depends for gbmc build.

Google-Bug-Id: N/A
Fusion-Link: https://fusion2.corp.google.com/0647d06c-0f37-35f1-82e3-0c91af9735da
Tested: N/A
Change-Id: I3a9880de4cb33b20ee2e599dd0aebd57a6573808
Signed-off-by: Hao Jiang <jianghao@google.com>
diff --git a/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb b/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb
index 92dabba..df96c2f 100644
--- a/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb
+++ b/recipes-phosphor/interfaces/gbmcweb-google-common-plugins_git.bb
@@ -12,3 +12,17 @@
 S = "${WORKDIR}/git"
 
 DEPENDS = "gbmcweb-headers redfish-events nlohmann-json boost sdbusplus openssl"
+
+DEPENDS:append:gbmc = " libnvme-vu "
+
+EXTRA_OEMESON:append = " \
+    -Dgoogle_internal=false \
+"
+
+EXTRA_OEMESON:remove:gbmc = " \
+    -Dgoogle_internal=false \
+"
+
+EXTRA_OEMESON:append:gbmc = " \
+    -Dgoogle_internal=true \
+"