Add hook to DEPS for pulling clang

Change-Id: I43e637467f3efd31e12b75f0a08cc05ad5a4965e
This commit is contained in:
Rintaro Kuroiwa 2014-06-27 14:51:49 -07:00
parent d04ae592cd
commit fe4196e7da
1 changed files with 8 additions and 0 deletions

8
DEPS
View File

@ -108,6 +108,14 @@ deps_os = {
}
hooks = [
{
# This snippet is from chromium src/DEPS. Run gclient with
# GYP_DEFINES="clang=1" to automatically pull in clang at sync.
# Pull clang if on Mac or clang is requested via GYP_DEFINES.
"name": "clang",
"pattern": ".",
"action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
},
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".",