aboutsummaryrefslogtreecommitdiffstats
path: root/cc/ndk_prebuilt.go
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-12-14 13:23:15 -0800
committerDan Albert <danalbert@google.com>2017-12-15 14:51:30 -0800
commit8ba131b3e23199aa7298f5d4440ea0d1a2c5d732 (patch)
tree7dc5887b311cc25675f9c21704c87fcd082ff94c /cc/ndk_prebuilt.go
parente565435a7b7ce4205922db6eb56e38aed25b1f9d (diff)
downloadbuild_soong-8ba131b3e23199aa7298f5d4440ea0d1a2c5d732.tar.gz
build_soong-8ba131b3e23199aa7298f5d4440ea0d1a2c5d732.tar.bz2
build_soong-8ba131b3e23199aa7298f5d4440ea0d1a2c5d732.zip
Expose the NDK STLs to make.
Without this any module exposed to make that uses an NDK STL will have unsatisfied dependencies. Test: make native Bug: None Change-Id: Ia456cdc230d5ebf5e1256ab131ab78248b790bc8
Diffstat (limited to 'cc/ndk_prebuilt.go')
-rw-r--r--cc/ndk_prebuilt.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cc/ndk_prebuilt.go b/cc/ndk_prebuilt.go
index 13424e3c..69e07b99 100644
--- a/cc/ndk_prebuilt.go
+++ b/cc/ndk_prebuilt.go
@@ -141,7 +141,10 @@ func ndkPrebuiltSharedStlFactory() android.Module {
module.compiler = nil
module.linker = linker
module.installer = nil
- module.Properties.HideFromMake = true
+ minVersionString := "minimum"
+ noStlString := "none"
+ module.Properties.Sdk_version = &minVersionString
+ module.stl.Properties.Stl = &noStlString
return module.Init()
}