Lines Matching refs:stl
29 stl := m.SelectedStl()
30 switch stl {
40 panic(fmt.Errorf("stl: %q is not a valid STL", stl))
53 type stl struct { struct
57 func (stl *stl) props() []interface{} { argument
58 return []interface{}{&stl.Properties}
61 func (stl *stl) begin(ctx BaseModuleContext) { argument
62 stl.Properties.SelectedStl = func() string {
64 if stl.Properties.Stl != nil {
65 s = *stl.Properties.Stl
166 func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps { argument
167 switch stl.Properties.SelectedStl {
171 if stl.Properties.SelectedStl == "libc++" {
172 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
174 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl)
203 if stl.Properties.SelectedStl == "ndk_libc++_shared" {
204 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
206 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl, "ndk_libc++abi")
217 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))
223 func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags { argument
224 switch stl.Properties.SelectedStl {
277 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))