aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-03-24 14:17:56 -0700
committerSasha Smundak <asmundak@google.com>2019-03-24 14:17:56 -0700
commitfc22e4eeba91d0bc76687240f0f83e14d5f12fef (patch)
treec910c634a09365caf147c4178f79ecd5e038826f /cc
parent789b84b12f23389676f848eaf80dc0469eb64919 (diff)
downloadbuild_soong-fc22e4eeba91d0bc76687240f0f83e14d5f12fef.tar.gz
build_soong-fc22e4eeba91d0bc76687240f0f83e14d5f12fef.tar.bz2
build_soong-fc22e4eeba91d0bc76687240f0f83e14d5f12fef.zip
Treat stl: "system" the same way as default.
Test: verify that adding `stl: "system"` does not change the module build. Change-Id: I55fbde223e4a4695df7524213e1bf3671da84e8e
Diffstat (limited to 'cc')
-rw-r--r--cc/stl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/stl.go b/cc/stl.go
index 5e61e1e6..e59f6776 100644
--- a/cc/stl.go
+++ b/cc/stl.go
@@ -66,7 +66,7 @@ func (stl *stl) begin(ctx BaseModuleContext) {
}
if ctx.useSdk() && ctx.Device() {
switch s {
- case "":
+ case "", "system":
return "ndk_system"
case "c++_shared", "c++_static":
return "ndk_lib" + s