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

Unified Diff: tools/chrome_remote_control/PRESUBMIT.py

Issue 11361165: [chrome_remote_control] Rename chrome_remote_control to telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/chrome_remote_control/OWNERS ('k') | tools/chrome_remote_control/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_remote_control/PRESUBMIT.py
diff --git a/tools/chrome_remote_control/PRESUBMIT.py b/tools/chrome_remote_control/PRESUBMIT.py
deleted file mode 100644
index fcc7fe4a3eed59b5cc57b8b071d0923a467402a3..0000000000000000000000000000000000000000
--- a/tools/chrome_remote_control/PRESUBMIT.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright (c) 2012 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.
-import os
-import sys
-
-PYLINT_BLACKLIST = []
-PYLINT_DISABLED_WARNINGS = ['R0923', 'R0201', 'E1101']
-
-def _CommonChecks(input_api, output_api):
- results = []
- old_sys_path = sys.path
- try:
- sys.path = [os.path.join('..', 'chrome_remote_control')] + sys.path
- results.extend(input_api.canned_checks.RunPylint(
- input_api, output_api,
- black_list=PYLINT_BLACKLIST,
- disabled_warnings=PYLINT_DISABLED_WARNINGS))
- finally:
- sys.path = old_sys_path
-
-
-
- return results
-
-def CheckChangeOnUpload(input_api, output_api):
- report = []
- report.extend(_CommonChecks(input_api, output_api))
- return report
-
-def CheckChangeOnCommit(input_api, output_api):
- report = []
- report.extend(_CommonChecks(input_api, output_api))
- return report
« no previous file with comments | « tools/chrome_remote_control/OWNERS ('k') | tools/chrome_remote_control/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698