aboutsummaryrefslogtreecommitdiff
path: root/cc/library.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-08-03 21:22:50 +0900
committerColin Cross <ccross@android.com>2017-08-17 17:34:25 -0700
commitab0fd5f060500d159942f7e408f9406652d62372 (patch)
tree967ff0d1e77c4369f11b4660b9a55883b81eee7c /cc/library.go
parent2b3cb9cd39e4e9538ee32e0e0668274f4b662b39 (diff)
downloadsoong-ab0fd5f060500d159942f7e408f9406652d62372.tar.gz
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 Merged-In: I0f4c5d05d9cd28c3fc9fdcca6ce0e6eaeaacbe8d Change-Id: I0f4c5d05d9cd28c3fc9fdcca6ce0e6eaeaacbe8d (cherry picked from commit d5b18a55bbde5d7f0ce78c889aacdd4bc2efc994)
Diffstat (limited to 'cc/library.go')
-rw-r--r--cc/library.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/library.go b/cc/library.go
index 4e3e2b39a..4a173a5d7 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -21,7 +21,6 @@ import (
"github.com/google/blueprint/pathtools"
"android/soong/android"
- "android/soong/cc/config"
)
type LibraryProperties struct {
@@ -621,7 +620,7 @@ func (library *libraryDecorator) linkSAbiDumpFiles(ctx ModuleContext, objs Objec
}
func vndkVsNdk(ctx ModuleContext) bool {
- if inList(ctx.baseModuleName(), config.LLndkLibraries()) {
+ if inList(ctx.baseModuleName(), llndkLibraries) {
return false
}
return true