Revert "Revert "Added EXTRA_ALLOWED_DEPS_TXT to allow arbitrary ..."

Revert submission 3444766-non-aosp-allowed-deps

Reason for revert: <Droidmonitor created revert due to b/389580262.Will be verified through ABTD for standard investigation.>

Reverted changes: /q/submissionid:3444766-non-aosp-allowed-deps

Change-Id: I0f62307e4b3ca8fbc53303576f42929b5eebeadf
diff --git a/android/config.go b/android/config.go
index ec79a7d..87aacd5 100644
--- a/android/config.go
+++ b/android/config.go
@@ -2286,6 +2286,10 @@
 	return PathsForSource(ctx, c.productVariables.VendorPropFiles)
 }
 
+func (c *config) ExtraAllowedDepsTxt() string {
+	return String(c.productVariables.ExtraAllowedDepsTxt)
+}
+
 func (c *config) EnableUffdGc() string {
 	return String(c.productVariables.EnableUffdGc)
 }