Lines Matching refs:file_path
135 file_path = os.path.join(project_dir_path, 'project.xml')
136 if os.path.exists(file_path):
137 os.remove(file_path)
138 with os.fdopen(os.open(file_path, FLAGS, MODES), 'w') as filehandle:
141 file_path = os.path.join(project_dir_path, "%s.cpp" % args.project_name)
142 if os.path.exists(file_path):
143 os.remove(file_path)
144 with os.fdopen(os.open(file_path, FLAGS, MODES), 'w') as filehandle:
147 file_path = os.path.join(project_dir_path, "%s.h" % args.project_name)
148 if os.path.exists(file_path):
149 os.remove(file_path)
150 with os.fdopen(os.open(file_path, FLAGS, MODES), 'w') as filehandle:
152 file_path = os.path.join(project_dir_path, "BUILD.gn")
153 if os.path.exists(file_path):
154 os.remove(file_path)
155 with os.fdopen(os.open(file_path, FLAGS, MODES), 'w') as filehandle: