init: Convert bliss product variables to soong config variables

Change-Id: I99d6884b98e537a58150e2791a0dfc7b99fd2d39
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/init/Android.bp b/init/Android.bp
index 776bf5d..e28d9f0 100644
--- a/init/Android.bp
+++ b/init/Android.bp
@@ -64,7 +64,6 @@
     "uevent_listener.cpp",
     "ueventd.cpp",
     "ueventd_parser.cpp",
-    "vendor_init.cpp",
 ]
 init_host_sources = [
     "check_builtins.cpp",
@@ -72,6 +71,14 @@
     "host_init_verifier.cpp",
 ]
 
+cc_library_static {
+    name: "vendor_init",
+    recovery_available: true,
+    srcs: [
+        "vendor_init.cpp",
+    ],
+}
+
 cc_defaults {
     name: "init_defaults",
     cpp_std: "experimental",
@@ -162,6 +169,7 @@
     defaults: [
         "init_defaults",
         "selinux_policy_version",
+        "vendor_init_defaults",
     ],
     srcs: init_common_sources + init_device_sources,
     whole_static_libs: [
@@ -184,14 +192,6 @@
             ],
         },
     },
-
-    product_variables: {
-        bliss: {
-            target_init_vendor_lib: {
-                whole_static_libs: ["%s"],
-            },
-        },
-    },
 }
 
 phony {