Separate cc.go

Split cc.go into files per module type, plus files for the compiler,
linker, and installer stages.

Change-Id: Id44c03f42fcd180950ccd008d4de0c144ea3597b
This commit is contained in:
Colin Cross
2016-07-29 12:48:20 -07:00
parent c6b4e452b4
commit 4d9c2d17c3
14 changed files with 2168 additions and 1943 deletions

View File

@@ -35,6 +35,30 @@ var (
}, "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.