Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / tools / perf / page_sets / __init__.py
blobed3e1cc1a25c9a43ac6fc88b8715c795e56da68c
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 import os
6 def GetAllPageSetFilenames():
7 results = []
8 start_dir = os.path.dirname(__file__)
9 for dirpath, _, filenames in os.walk(start_dir):
10 for f in filenames:
11 if os.path.splitext(f)[1] != '.json':
12 continue
13 filename = os.path.join(dirpath, f)
14 results.append(filename)
15 return results