Lines Matching refs:content
49 files = append(files, newFile(bazelRulesSubDir, bzlFileName+".bzl", ruleShim.content))
73 return targets[i].content < targets[j].content
75 content := soongModuleLoad
77 content = `# This file was automatically generated by bp2build for the Bazel migration project.
79 content += "\n\n"
80 content += "package(default_visibility = [\"//visibility:public\"])"
81 content += "\n\n"
82 content += targets.LoadStatements()
84 if content != "" {
86 content += "\n\n"
88 content += targets.String()
89 files = append(files, newFile(dir, GeneratedBuildFileName, content))
94 func newFile(dir, basename, content string) BazelFile {
98 Contents: content,