Lines Matching refs:from
332 func importModuleTypes(ctx LoadHookContext, from string, moduleTypes ...string) {
333 from = filepath.Clean(from)
334 if filepath.Ext(from) != ".bp" {
335 ctx.PropertyErrorf("from", "%q must be a file with extension .bp", from)
339 if strings.HasPrefix(from, "../") {
341 from)
345 moduleTypeDefinitions := loadSoongConfigModuleTypeDefinition(ctx, from)
354 moduleType, from)
361 func loadSoongConfigModuleTypeDefinition(ctx LoadHookContext, from string) map[string]blueprint.Mod…
363 key := NewCustomOnceKey(onceKeyType(filepath.Clean(from)))
376 ctx.AddNinjaFileDeps(from)
377 r, err := ctx.Config().fs.Open(from)
379 ctx.PropertyErrorf("from", "failed to open %q: %s", from, err)
383 mtDef, errs := soongconfig.Parse(r, from)
386 reportErrors(ctx, from, errs...)
399 reportErrors(ctx, from,