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

Unified Diff: chrome/renderer/extensions/PRESUBMIT.py

Issue 153953011: Add git cl format presubmit warning for extension and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « chrome/common/extensions/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/PRESUBMIT.py
diff --git a/ui/gl/PRESUBMIT.py b/chrome/renderer/extensions/PRESUBMIT.py
similarity index 60%
copy from ui/gl/PRESUBMIT.py
copy to chrome/renderer/extensions/PRESUBMIT.py
index 1e529b45f02900529b692cb5f1def7ffacd8d9bc..60ce8b4f4290b6f6b56ce0db442ebec972ff7669 100644
--- a/ui/gl/PRESUBMIT.py
+++ b/chrome/renderer/extensions/PRESUBMIT.py
@@ -2,16 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Top-level presubmit script for ui/gl/.
+"""Presubmit script for extensions and apps.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
"""
-def GetPreferredTrySlaves(project, change):
- return [
- 'linux_gpu',
- 'mac_gpu',
- 'mac_gpu_retina',
- 'win_gpu',
- ]
+def CheckChangeOnUpload(input_api, output_api):
+ results = []
+ results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
+ return results
« no previous file with comments | « chrome/common/extensions/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698