Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: tools/telemetry/telemetry/core/util.py

Issue 20766003: [Telemetry] Add the ability to flush the system file cache to platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simpler Android support Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/core/platform/win_platform_backend.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/util.py
diff --git a/tools/telemetry/telemetry/core/util.py b/tools/telemetry/telemetry/core/util.py
index 2fe792feccc02b74fc9e685053f7cf7d0d366dfa..5b11640fe38ad9fb1f443f914fe5075902ee7d2c 100644
--- a/tools/telemetry/telemetry/core/util.py
+++ b/tools/telemetry/telemetry/core/util.py
@@ -85,3 +85,16 @@ def CloseConnections(tab):
chrome.benchmarking.closeConnections()""")
except Exception:
pass
+
+def GetBuildDirectories():
+ """Yields all combination of Chromium build output directories."""
+ build_dirs = ['build',
+ 'out',
+ 'sconsbuild',
+ 'xcodebuild']
+
+ build_types = ['Debug', 'Debug_x64', 'Release', 'Release_x64']
+
+ for build_dir in build_dirs:
+ for build_type in build_types:
+ yield build_dir, build_type
« no previous file with comments | « tools/telemetry/telemetry/core/platform/win_platform_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698