Add hook to DEPS for pulling clang
Change-Id: I43e637467f3efd31e12b75f0a08cc05ad5a4965e
This commit is contained in:
parent
d04ae592cd
commit
fe4196e7da
8
DEPS
8
DEPS
|
@ -108,6 +108,14 @@ deps_os = {
|
||||||
}
|
}
|
||||||
|
|
||||||
hooks = [
|
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.
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
||||||
"pattern": ".",
|
"pattern": ".",
|
||||||
|
|
Loading…
Reference in New Issue