From db91e1b05c034197812077cbe80a105f6c814685 Mon Sep 17 00:00:00 2001 From: "viettrungluu@chromium.org" Date: Tue, 29 Jul 2014 08:45:40 +0000 Subject: Add a PRESUBMIT.py to mojo/embedder. R=sky@chromium.org Review URL: https://codereview.chromium.org/422123006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286129 0039d316-1c4b-4281-b951-d872f2087c98 --- mojo/embedder/PRESUBMIT.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mojo/embedder/PRESUBMIT.py (limited to 'mojo') diff --git a/mojo/embedder/PRESUBMIT.py b/mojo/embedder/PRESUBMIT.py new file mode 100644 index 0000000..97f67c0 --- /dev/null +++ b/mojo/embedder/PRESUBMIT.py @@ -0,0 +1,16 @@ +# Copyright 2014 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. + +"""Presubmit script for mojo/embedder. + +See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts +for more details about the presubmit API built into depot_tools. +""" + +def CheckChangeOnUpload(input_api, output_api): + results = [] + results += input_api.canned_checks.CheckChangeHasOnlyOneEol(input_api, + output_api) + results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) + return results -- cgit v1.1