Index: third_party/grpc/tools/run_tests/sanity/check_cache_mk.sh |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_globals.py b/third_party/grpc/tools/run_tests/sanity/check_cache_mk.sh |
old mode 100644 |
new mode 100755 |
similarity index 89% |
copy from third_party/WebKit/Source/bindings/scripts/v8_globals.py |
copy to third_party/grpc/tools/run_tests/sanity/check_cache_mk.sh |
index 9ca2a3574a9fdb27ae567f8c6ab0a301a9bdbaf2..b738d6a965f52b6a5754afd8b251b8402f376440 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_globals.py |
+++ b/third_party/grpc/tools/run_tests/sanity/check_cache_mk.sh |
@@ -1,4 +1,7 @@ |
-# Copyright (C) 2013 Google Inc. All rights reserved. |
+#!/bin/sh |
+ |
+# Copyright 2015-2016, Google Inc. |
+# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -26,7 +29,11 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-"""Module to share global variables (includes and interfaces) across modules.""" |
-includes = set() |
-interfaces = {} |
+set -e |
+ |
+if [ -f cache.mk ] ; then |
+ echo "Please don't commit cache.mk" |
+ exit 1 |
+fi |
+ |