aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/global.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-08-03 21:22:50 +0900
committerJiyong Park <jiyong@google.com>2017-08-10 14:09:56 +0900
commit40350ab4f2a3baaae4324197ff713c1a11105816 (patch)
treeba835ad4e834e88e88ebba60d133335c80566679 /cc/config/global.go
parent88e6f14a6bcc1e755809b07d0a919443fb32a41c (diff)
downloadbuild_soong-40350ab4f2a3baaae4324197ff713c1a11105816.tar.gz
build_soong-40350ab4f2a3baaae4324197ff713c1a11105816.tar.bz2
build_soong-40350ab4f2a3baaae4324197ff713c1a11105816.zip
List of VNDK-related libs are exported to make
LL-NDK, VNDK-core, VNDK-SP libraries are exported to make as SOONG_LLNDK_LIBRARIES, SOONG_VNDK_CORE_LIBRARIES, and SOONG_VNDK_SAMEPROCESS_LIBRARIES. This can be used to auto-generate ld.config.txt from a template. Bug: 64013660 Test: BOARD_VNDK_VERSION=current m -j successful Test: check out/soong/make_vars*.mk and look for SOONG_*_LIBRARIES Change-Id: I0f4c5d05d9cd28c3fc9fdcca6ce0e6eaeaacbe8d
Diffstat (limited to 'cc/config/global.go')
-rw-r--r--cc/config/global.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index 65a211c6..56de3513 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -185,17 +185,6 @@ func bionicHeaders(bionicArch, kernelArch string) string {
}, " ")
}
-func VndkLibraries() []string {
- return []string{}
-}
-
-// This needs to be kept up to date with the list in system/core/rootdir/etc/ld.config.txt:
-// [vendor]
-// namespace.default.link.system.shared_libs
-func LLndkLibraries() []string {
- return []string{"libc", "libm", "libdl", "liblog", "libandroid_net", "ld-android", "libvndksupport", "libnativewindow"}
-}
-
func replaceFirst(slice []string, from, to string) {
if slice[0] != from {
panic(fmt.Errorf("Expected %q, found %q", from, to))