Lines Matching refs:stl
28 stl := m.SelectedStl()
29 switch stl {
39 panic(fmt.Errorf("stl: %q is not a valid STL", stl))
52 type stl struct { struct
56 func (stl *stl) props() []interface{} { argument
57 return []interface{}{&stl.Properties}
60 func (stl *stl) begin(ctx BaseModuleContext) { argument
61 stl.Properties.SelectedStl = func() string {
63 if stl.Properties.Stl != nil {
64 s = *stl.Properties.Stl
159 func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps { argument
160 switch stl.Properties.SelectedStl {
164 if stl.Properties.SelectedStl == "libc++" {
165 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
167 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl)
196 if stl.Properties.SelectedStl == "ndk_libc++_shared" {
197 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
199 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl, "ndk_libc++abi")
206 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))
212 func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags { argument
213 switch stl.Properties.SelectedStl {
257 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))