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

Unified Diff: mojo/PRESUBMIT.py

Issue 1412733002: C++ bindings: separate out serialization source set, have "mojom" targets optionally use serializat… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: link sanitizer to examples/serialization (to fix the ASAN build failure) Created 5 years, 2 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
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

Powered by Google App Engine
This is Rietveld 408576698