diff options
author | 2016-12-09 11:31:28 -0500 | |
---|---|---|
committer | 2016-12-09 17:06:21 +0000 | |
commit | feda468155f1e823d9b81f1b0609f0074602fdf1 (patch) | |
tree | 2d4f12475312e4200bfb2201ca80c8fdac85f790 /DEPS | |
parent | 291c62a0ff2ca8a98cb30fcdaa6587f8a61bed98 (diff) |
Run bin/fetch-gn as a gclient hook.
Seems like the bots don't run hooks. That's okay, even ideal.
They'll keep getting GN via recipes.
DOCS_PREVIEW= https://skia.org/?cl=5725
Change-Id: I000bad3390dddaeb4548972f29c96b8b3288ea6c
Reviewed-on: https://skia-review.googlesource.com/5725
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'DEPS')
-rw-r--r-- | DEPS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -45,3 +45,10 @@ deps = { } recursedeps = [ "common" ] + +hooks = [] + +import os +import sys +if os.path.exists('bin/fetch-gn'): + hooks.append({ 'action': [sys.executable, 'bin/fetch-gn'] }) |