| Index: tracing/tracing_project.py
|
| diff --git a/tracing/tracing_project.py b/tracing/tracing_project.py
|
| index 38b5225895451ec09ac84da569f9f2be4dc45d79..84b055fd6bfb583a19b34822ba49924d16e4c9d7 100644
|
| --- a/tracing/tracing_project.py
|
| +++ b/tracing/tracing_project.py
|
| @@ -36,6 +36,13 @@ def _FindAllFilesRecursive(source_paths):
|
| all_filenames.add(x)
|
| return all_filenames
|
|
|
| +
|
| +def _IsFilenameACmdline(x):
|
| + if x.endswith('_cmdline.html'):
|
| + return True
|
| + return False
|
| +
|
| +
|
| def _IsFilenameATest(x):
|
| if x.endswith('_test.js'):
|
| return True
|
| @@ -145,7 +152,8 @@ class TracingProject(object):
|
| all_filenames = _FindAllFilesRecursive([self.tracing_src_path])
|
| all_metrics_module_filenames = []
|
| for x in all_filenames:
|
| - if x.startswith(self.metrics_path) and not _IsFilenameATest(x):
|
| + if (x.startswith(self.metrics_path) and not _IsFilenameATest(x) and
|
| + not _IsFilenameACmdline(x)):
|
| all_metrics_module_filenames.append(x)
|
| all_metrics_module_filenames.sort()
|
| return [os.path.relpath(x, self.tracing_root_path)
|
|
|