Add "runhooks" to run gyp step upon gclient sync, for buildbot



git-svn-id: http://skia.googlecode.com/svn/trunk@1617 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/DEPS b/DEPS
index ce334e8..890d787 100644
--- a/DEPS
+++ b/DEPS
@@ -1,11 +1,20 @@
+use_relative_paths = True
+
 # Dependencies on outside packages, as needed for developers/bots that use
 # "gclient" instead of raw SVN access.
 #
 # For now, this must be maintained in parallel with "SVN externals"
 # dependencies for developers who use raw SVN instead of "gclient".
 # See third_party/externals/README
-
-use_relative_paths = True
+#
 deps = {
   "third_party/externals/gyp" : "http://gyp.googlecode.com/svn/trunk@907",
 }
+
+hooks = [
+  {
+    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
+    "pattern": ".",
+    "action": ["python", "trunk/gyp_skia"],
+  },
+]