Lines Matching refs:file
5 # you may not use this file except in compliance with the License.
41 def remove_comment(file: str):
43 with open(file, 'r') as in_file:
45 # Strip comments in gn file.
73 'Error: Something is wrong with {}, please check file encoding or format'
77 def get_ndk_targets(file: str, options):
80 gn_file = os.path.join(tmp, os.path.basename(file))
81 do_dos2unix(file, gn_file)
82 do_gn_format(gn_file, file)
89 os.path.relpath(os.path.dirname(file), options.root_dir),
130 # Call gn format to make the output gn file prettier.