summaryrefslogtreecommitdiffstats
path: root/base/PRESUBMIT.py
diff options
context:
space:
mode:
authorleng@chromium.org <leng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 15:12:55 +0000
committerleng@chromium.org <leng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 15:12:55 +0000
commita35203a459491ca3fc4028fb8eaa3510a239d945 (patch)
treee8d290a40954f03871998dc5969d2b4f2b3cba68 /base/PRESUBMIT.py
parente77c6d810d7cbc382a5a1f3d5597f96431cdad58 (diff)
downloadchromium_src-a35203a459491ca3fc4028fb8eaa3510a239d945.zip
chromium_src-a35203a459491ca3fc4028fb8eaa3510a239d945.tar.gz
chromium_src-a35203a459491ca3fc4028fb8eaa3510a239d945.tar.bz2
Allow Objective-C files in base/test/.
BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10695172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/PRESUBMIT.py')
-rw-r--r--base/PRESUBMIT.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py
index 7d6fc09..c84a992 100644
--- a/base/PRESUBMIT.py
+++ b/base/PRESUBMIT.py
@@ -14,6 +14,7 @@ def _CheckNoInterfacesInBase(input_api, output_api):
files = []
for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
if (f.LocalPath().startswith('base/') and
+ not "/test/" in f.LocalPath() and
not f.LocalPath().endswith('_unittest.mm')):
contents = input_api.ReadFile(f)
if pattern.search(contents):