Separate cc.go
Split cc.go into files per module type, plus files for the compiler,
linker, and installer stages.
Change-Id: Id44c03f42fcd180950ccd008d4de0c144ea3597b
diff --git a/cc/ndk_library.go b/cc/ndk_library.go
index 562186e..50db938 100644
--- a/cc/ndk_library.go
+++ b/cc/ndk_library.go
@@ -35,6 +35,30 @@
}, "arch", "apiLevel")
ndkLibrarySuffix = ".ndk"
+
+ ndkPrebuiltSharedLibs = []string{
+ "android",
+ "c",
+ "dl",
+ "EGL",
+ "GLESv1_CM",
+ "GLESv2",
+ "GLESv3",
+ "jnigraphics",
+ "log",
+ "mediandk",
+ "m",
+ "OpenMAXAL",
+ "OpenSLES",
+ "stdc++",
+ "vulkan",
+ "z",
+ }
+ ndkPrebuiltSharedLibraries = addPrefix(append([]string(nil), ndkPrebuiltSharedLibs...), "lib")
+
+ // These libraries have migrated over to the new ndk_library, which is added
+ // as a variation dependency via depsMutator.
+ ndkMigratedLibs = []string{}
)
// Creates a stub shared library based on the provided version file.