Refactor factories
am: 36242850fd

Change-Id: Ied58f93022523557a5d28edbcd79a76b8e2fb875
diff --git a/android/variable.go b/android/variable.go
index 05f50b5..1ab3801 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -81,6 +81,7 @@
 		Debuggable struct {
 			Cflags   []string
 			Cppflags []string
+			Init_rc  []string
 		}
 
 		// eng is true for -eng builds, and can be used to turn on additionaly heavyweight debugging
diff --git a/cc/config/global.go b/cc/config/global.go
index 4ae22c9..a03bfa8 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -193,7 +193,7 @@
 // [vendor]
 // namespace.default.link.system.shared_libs
 func LLndkLibraries() []string {
-	return []string{"libc", "libm", "libdl", "liblog", "ld-android"}
+	return []string{"libc", "libm", "libdl", "liblog", "libandroid_net", "ld-android"}
 }
 
 func replaceFirst(slice []string, from, to string) {