vendor: soong: move op fastcharge and vendor init here

Change-Id: I0c6e1164e0998a883fe1ba04a06bc2ae4cd62b3b
diff --git a/build/soong/android/variable.go b/build/soong/android/variable.go
index b83e953..c588089 100644
--- a/build/soong/android/variable.go
+++ b/build/soong/android/variable.go
@@ -3,17 +3,27 @@
 	Healthd_use_battery_info struct {
 		Cflags []string
 	}
+        Healthd_enable_op_fastchg struct {
+                Cflags []string
+        }
+
 	TargetNeedsHWCOnFirstRef struct {
 		Cflags []string
 	}
 	Uses_metadata_as_fde_key struct {
 		Cflags []string
 	}
+        Target_init_vendor_lib struct {
+                Cflags []string
+        }
+
 }
 
 type ProductVariables struct {
-	Healthd_use_battery_info  *bool `json:",omitempty"`
-	TargetNeedsHWCOnFirstRef  *bool `json:",omitempty"`
-	Uses_metadata_as_fde_key  *bool `json:",omitempty"`
-	Target_use_sdclang        *bool `json:",omitempty"`
+	Healthd_use_battery_info   *bool `json:",omitempty"`
+	Healthd_enable_op_fastchg  *bool `json:",omitempty"`
+	TargetNeedsHWCOnFirstRef   *bool `json:",omitempty"`
+	Uses_metadata_as_fde_key   *bool `json:",omitempty"`
+	Target_use_sdclang         *bool `json:",omitempty"`
+	Target_init_vendor_lib     *bool `json:",omitempty"`
 }
diff --git a/build/soong/soong_config.mk b/build/soong/soong_config.mk
index f243772..c278952 100644
--- a/build/soong/soong_config.mk
+++ b/build/soong/soong_config.mk
@@ -3,10 +3,12 @@
 _contents := $(_contents)    "Omnirom": {$(newline)
 
 # See build/core/soong_config.mk for the add_json_* functions you can use here.
-$(call add_json_bool, Healthd_use_battery_info, $(filter true,$(HEALTHD_USE_BATTERY_INFO)))
-$(call add_json_bool, TargetNeedsHWCOnFirstRef, $(filter true,$(TARGET_NEEDS_HWC_ONFIRSTREF)))
-$(call add_json_bool, Uses_metadata_as_fde_key, $(filter true,$(TARGET_USES_METADATA_AS_FDE_KEY)))
-$(call add_json_bool, Target_use_sdclang,       $(filter true,$(TARGET_USE_SDCLANG)))
+$(call add_json_bool, Healthd_use_battery_info,  $(filter true,$(HEALTHD_USE_BATTERY_INFO)))
+$(call add_json_bool, Healthd_enable_op_fastchg, $(filter true,$(HEALTHD_ENABLE_OP_FASTCHG_CHECK)))
+$(call add_json_bool, TargetNeedsHWCOnFirstRef,  $(filter true,$(TARGET_NEEDS_HWC_ONFIRSTREF)))
+$(call add_json_bool, Uses_metadata_as_fde_key,  $(filter true,$(TARGET_USES_METADATA_AS_FDE_KEY)))
+$(call add_json_bool, Target_use_sdclang,        $(filter true,$(TARGET_USE_SDCLANG)))
+$(call add_json_bool, Target_init_vendor_lib,    $(filter true,$(TARGET_INIT_VENDOR_LIB)))
 
 
 # This causes the build system to strip out the last comma in our nested struct, to keep the JSON valid.