Support "none" for stl when using ndk

Change-Id: I13ecf0a6be591814546a9a1c8b8356988348feb0
This commit is contained in:
Colin Cross 2016-04-21 15:53:42 -07:00
parent a8e07cc653
commit 4a97cb4328

View file

@ -46,6 +46,8 @@ func (stl *stl) begin(ctx BaseModuleContext) {
"stlport_shared", "stlport_static",
"gnustl_static":
return "ndk_lib" + stl.Properties.Stl
case "none":
return ""
default:
ctx.ModuleErrorf("stl: %q is not a supported STL with sdk_version set", stl.Properties.Stl)
return ""