Lines Matching refs:tool
62 tool = 'tools/gen_bazel'
67 x, files_to_check=('.*BUILD[.]gn$', '.*[.]gni$', 'BUILD\.extras', tool))
71 if subprocess.call([tool, '--check-only']):
74 tool + ' to update them.')
80 tool = 'tools/gen_android_bp'
85 x, files_to_check=('.*BUILD[.]gn$', '.*[.]gni$', tool))
89 if subprocess.call([tool, '--check-only']):
92 'Run ' + tool + ' to update them.')
98 tool = 'tools/fix_include_guards'
102 x, files_to_check=['.*[.]cc$', '.*[.]h$', tool])
106 if subprocess.call([tool, '--check-only']):
108 output_api.PresubmitError('Please run ' + tool +
152 tool = 'tools/check_include_violations'
156 x, files_to_check=['include/.*[.]h$', tool])
160 if subprocess.call([tool]):
161 return [output_api.PresubmitError(tool + ' failed.')]
166 tool = 'tools/gen_binary_descriptors'
170 x, files_to_check=['protos/perfetto/.*[.]proto$', '.*[.]h', tool])
174 if subprocess.call([tool, '--check-only']):
176 output_api.PresubmitError('Please run ' + tool +
183 tool = 'tools/gen_merged_protos'
187 x, files_to_check=['protos/perfetto/.*[.]proto$', tool])
191 if subprocess.call([tool, '--check-only']):
195 'date. Please run ' + tool + ' to update it.')
217 tool = 'tools/check_proto_comments'
221 x, files_to_check=['protos/perfetto/.*[.]proto$', tool])
225 if subprocess.call([tool]):
226 return [output_api.PresubmitError(tool + ' failed')]
231 tool = 'tools/check_sql_metrics.py'
235 x, files_to_check=['src/trace_processor/metrics/.*[.]sql$', tool])
239 if subprocess.call([tool]):
240 return [output_api.PresubmitError(tool + ' failed')]