Index: mojo/PRESUBMIT.py |
diff --git a/mojo/PRESUBMIT.py b/mojo/PRESUBMIT.py |
index e770e481449ff3ced9de1e60c78e1e4f15de8c2c..c88f8e9662530af871b71f76e795b4944d52fdec 100644 |
--- a/mojo/PRESUBMIT.py |
+++ b/mojo/PRESUBMIT.py |
@@ -79,7 +79,8 @@ def _IsBuildFileWithinPackage(f, package): |
if not f.LocalPath().startswith(package_path_prefix): |
return False |
if (not f.LocalPath().endswith("/BUILD.gn") and |
- not f.LocalPath().endswith(".gni")): |
+ not f.LocalPath().endswith(".gni") or |
+ f.LocalPath() == "mojo/public/tools/bindings/mojom.gni"): |
viettrungluu
2015/10/20 23:54:37
It seems unfortunate to hard-code this exception i
vardhan
2015/10/21 19:29:38
yeah it's kind weird, but i figured this is where
|
return False |
if f.LocalPath() in _PACKAGE_IGNORED_BUILD_FILES[package]: |
return False |