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

Unified Diff: tools/telemetry/examples/benchmarks/__init__.py

Issue 1368533002: [Telemetry] Add an example for adding an end to end Telemetry benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: tools/telemetry/examples/benchmarks/__init__.py
diff --git a/tools/copyright_scanner/__init__.py b/tools/telemetry/examples/benchmarks/__init__.py
old mode 100755
new mode 100644
similarity index 61%
copy from tools/copyright_scanner/__init__.py
copy to tools/telemetry/examples/benchmarks/__init__.py
index e6b8d8e5bb15ed83268a3d20463e089a312ec049..4f23bd438ad0c8ad198b425f2c713f25093146ce
--- a/tools/copyright_scanner/__init__.py
+++ b/tools/telemetry/examples/benchmarks/__init__.py
@@ -1,6 +1,7 @@
-#!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-__all__ = ['copyright_scanner']
+import os
+import sys
+sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

Powered by Google App Engine
This is Rietveld 408576698