Lines Matching refs:from
386 func importModuleTypes(ctx LoadHookContext, from string, moduleTypes ...string) {
387 from = filepath.Clean(from)
388 if filepath.Ext(from) != ".bp" {
389 ctx.PropertyErrorf("from", "%q must be a file with extension .bp", from)
393 if strings.HasPrefix(from, "../") {
395 from)
399 moduleTypeDefinitions := loadSoongConfigModuleTypeDefinition(ctx, from)
408 moduleType, from)
415 func loadSoongConfigModuleTypeDefinition(ctx LoadHookContext, from string) map[string]blueprint.Mod…
417 key := NewCustomOnceKey(onceKeyType(filepath.Clean(from)))
430 ctx.AddNinjaFileDeps(from)
431 r, err := ctx.Config().fs.Open(from)
433 ctx.PropertyErrorf("from", "failed to open %q: %s", from, err)
438 mtDef, errs := soongconfig.Parse(r, from)
440 reportErrors(ctx, from, errs...)
453 reportErrors(ctx, from,