Lines Matching refs:outf
199 self.outf = None # open file handle of outf_name during dump*
234 self.outf.write(s + '\n')
286 with open(outf_name, 'a') as outf: # to write debug info
287 self.outf = outf
288 other.outf = outf
497 with open(self.outf_name, 'a') as outf:
498 self.outf = outf
869 self.outf.write(s + '\n')
914 with open(self.outf_name, 'a') as outf:
915 self.outf = outf
985 self.outf.write(s + '\n')
997 with open(self.outf_name, 'a') as outf:
998 self.outf = outf
1150 def dump_copy_out_module(self, outf): argument
1155 outf.write('\ngenrule {\n')
1156 outf.write(' name: "' + copy_out + '",\n')
1157 outf.write(' srcs: ["out/*"],\n')
1158 outf.write(' cmd: "cp $(in) $(genDir)",\n')
1160 outf.write(' out: [\n')
1162 outf.write(' "' + f + '",\n')
1163 outf.write(' ],\n')
1165 outf.write(' out: ["' + self.build_out_files[0] + '"],\n')
1166 outf.write('}\n')
1173 with open(name, 'w') as outf:
1175 outf.write(ANDROID_BP_HEADER.format(args=' '.join(print_args)))
1176 outf.write('\n')
1177 outf.write(license_section)
1178 outf.write('\n')
1180 self.dump_copy_out_module(outf)
1306 with open('Android.bp', 'a') as outf:
1307 outf.write('\n// dependent_library ["feature_list"]\n')
1309 outf.write('// ' + s + '\n')
1316 with open('Android.bp', 'a') as outf:
1321 outf.write('\n// obj => src for %s\n' % pkg)
1324 outf.write('// ' + short_out_name(pkg, obj) + ' => ' +
1445 with open('Android.bp', 'a') as outf:
1446 outf.write(line)