Lines Matching refs:mod
59 func searchThroughOperatorList(mod *parser.Module, e parser.Expression) {
65 addLibrary(mod, lib.libType, lib.libName)
74 searchThroughOperatorList(mod, op.Args[0])
75 searchThroughOperatorList(mod, op.Args[1])
78 func getLiteralListProperty(mod *parser.Module, name string) (list *parser.List, found bool) {
79 prop, ok := mod.GetProperty(name)
86 func addLibrary(mod *parser.Module, libType string, libName string) {
87 var list, ok = getLiteralListProperty(mod, libType)
93 mod.Properties = append(mod.Properties, prop)
108 mod, ok := def.(*parser.Module)
112 if !strings.HasPrefix(mod.Type, "cc_") {
115 if prop, ok := mod.GetProperty("include_dirs"); ok {
116 searchThroughOperatorList(mod, prop.Value)