RDK-43786: Implement Thunder Plugin Configuration for CMake-3.20 & above

Reason for change: Added the Cobalt-plugin.conf.in for modern config generator
Test Procedure: Verify in Jenkin Build
Risks: High
Change-Id: I6c09a7ef96341469b271c3518df865764af574cc
Signed-off-by: Thamim  Razith <tabbas651@cable.comcast.com>
(cherry picked from commit 0eb3f9d3e5012b3696e2965c0cf5c6f7c1fc8da5)
(cherry picked from commit d7c6f6a8e7c33ee1f794efa8ac9310ca17f450d8)
diff --git a/plugin/Cobalt.conf.in b/plugin/Cobalt.conf.in
new file mode 100644
index 0000000..0bd2ef7
--- /dev/null
+++ b/plugin/Cobalt.conf.in
@@ -0,0 +1,50 @@
+precondition = ["Platform","Graphics","Internet"]
+autostart = "@PLUGIN_COBALT_AUTOSTART@"
+
+if ("@PLUGIN_COBALT_PERSISTENTPATHPOSTFIX@"):
+    persistentpathpostfix = "@PLUGIN_COBALT_PERSISTENTPATHPOSTFIX@"
+
+configuration = JSON()
+
+configuration.add("url", "https://www.youtube.com/tv")
+configuration.add("clientidentifier", "@PLUGIN_COBALT_CLIENTIDENTIFIER@")
+configuration.add("language", "@PLUGIN_COBALT_LANGUAGE@")
+configuration.add("contentdir", "@PLUGIN_COBALT_CONTENT_DIR@")
+configuration.add("essoscontextdestroy", "@PLUGIN_COBALT_ESSOS_CONTEXT_DESTROY@")
+configuration.add("preload", "@PLUGIN_COBALT_PRELOAD@")
+configuration.add("closurepolicy", "@PLUGIN_COBALT_CLOSUREPOLICY@")
+
+advertisingid = JSON()
+advertisingid.add("ifa", "@PLUGIN_COBALT_ADVERTISING_ID@")
+advertisingid.add("ifa_type", "@PLUGIN_COBALT_IFA_TYPE@")
+advertisingid.add("lmt", "@PLUGIN_COBALT_LIMIT_AD_TRACKING@")
+
+if boolean("@advertisingid@"):
+    configuration.add("advertisingid", advertisingid)
+
+systemproperties = JSON()
+systemproperties.add("modelname", "@PLUGIN_COBALT_PROP_MODELNAME@")
+systemproperties.add("brandname", "@PLUGIN_COBALT_PROP_BRANDNAME@")
+systemproperties.add("modelyear", "@PLUGIN_COBALT_PROP_MODELYEAR@")
+systemproperties.add("chipsetmodelnumber", "@PLUGIN_COBALT_PROP_CHIPSETMODELNUMBER@")
+systemproperties.add("firmwareversion", "@PLUGIN_COBALT_PROP_FIRMWAREVERSION@")
+systemproperties.add("integratorname", "@PLUGIN_COBALT_PROP_INTEGRATORNAME@")
+systemproperties.add("friendlyname", "@PLUGIN_COBALT_PROP_FRIENDLYNAME@")
+systemproperties.add("devicetype", "@PLUGIN_COBALT_PROP_DEVICETYPE@")
+
+configuration.add("systemproperties", systemproperties)
+
+sbmainargs = []
+
+if boolean("@PLUGIN_COBALT_EVEGREEN_LITE@"):
+    sbmainargs.append("--evergreen_lite")
+
+configuration.add("sbmainargs", sbmainargs)
+
+root = JSON()
+root.add("mode", "@PLUGIN_COBALT_MODE@")
+root.add("locator", "lib@PLUGIN_COBALT_IMPLEMENTATION@.so")
+root.add("user", "@PLUGIN_COBALT_USER@")
+root.add("group", "@PLUGIN_COBALT_GROUP@")
+configuration.add("root", root)
+