Loading android/aconfig_providers.go +0 −13 Original line number Diff line number Diff line Loading @@ -211,7 +211,6 @@ func mergeAconfigFiles(ctx ModuleContext, container string, inputs Paths, genera } func getAconfigFilePaths(m *ModuleBase, aconfigFiles map[string]Paths) (paths Paths) { // TODO(b/311155208): The default container here should be system. container := "system" if m.SocSpecific() { Loading @@ -223,17 +222,5 @@ func getAconfigFilePaths(m *ModuleBase, aconfigFiles map[string]Paths) (paths Pa } paths = append(paths, aconfigFiles[container]...) if container == "system" { // TODO(b/311155208): Once the default container is system, we can drop this. paths = append(paths, aconfigFiles[""]...) } if container != "system" { if len(aconfigFiles[container]) == 0 && len(aconfigFiles[""]) > 0 { // TODO(b/308625757): Either we guessed the container wrong, or the flag is misdeclared. // For now, just include the system (aka "") container if we get here. //fmt.Printf("container_mismatch: module=%v container=%v files=%v\n", m, container, aconfigFiles) } paths = append(paths, aconfigFiles[""]...) } return } Loading
android/aconfig_providers.go +0 −13 Original line number Diff line number Diff line Loading @@ -211,7 +211,6 @@ func mergeAconfigFiles(ctx ModuleContext, container string, inputs Paths, genera } func getAconfigFilePaths(m *ModuleBase, aconfigFiles map[string]Paths) (paths Paths) { // TODO(b/311155208): The default container here should be system. container := "system" if m.SocSpecific() { Loading @@ -223,17 +222,5 @@ func getAconfigFilePaths(m *ModuleBase, aconfigFiles map[string]Paths) (paths Pa } paths = append(paths, aconfigFiles[container]...) if container == "system" { // TODO(b/311155208): Once the default container is system, we can drop this. paths = append(paths, aconfigFiles[""]...) } if container != "system" { if len(aconfigFiles[container]) == 0 && len(aconfigFiles[""]) > 0 { // TODO(b/308625757): Either we guessed the container wrong, or the flag is misdeclared. // For now, just include the system (aka "") container if we get here. //fmt.Printf("container_mismatch: module=%v container=%v files=%v\n", m, container, aconfigFiles) } paths = append(paths, aconfigFiles[""]...) } return }