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
140 func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps { argument
141 switch stl.Properties.SelectedStl {
145 if stl.Properties.SelectedStl == "libc++" {
146 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
148 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl)
177 if stl.Properties.SelectedStl == "ndk_libc++_shared" {
178 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
180 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl, "ndk_libc++abi")
189 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))
195 func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags { argument
196 switch stl.Properties.SelectedStl {
240 panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))