blob: 24c502cd02c82aaf70e05a4f3bde04f0c4f8909f [file] [log] [blame]
vars = {
# Override root_dir in your .gclient's custom_vars to specify a custom root
# folder name.
"root_dir": "libyuv",
"extra_gyp_flag": "-Dextra_gyp_flag=0",
# Roll the Chromium Git hash to pick up newer versions of all the
# dependencies and tools linked to in setup_links.py.
'chromium_revision': '3dba19a90208ee9c5890cffda0490c517cbdf43e',
}
hooks = [
{
# Clone chromium and its deps.
"name": "sync chromium",
"pattern": ".",
"action": ["python", "-u", Var("root_dir") + "/sync_chromium.py",
"--target-revision", Var("chromium_revision")],
},
{
# Create links to shared dependencies in Chromium.
"name": "setup_links",
"pattern": ".",
"action": ["python", Var("root_dir") + "/setup_links.py"],
},
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".",
"action": ["python", Var("root_dir") + "/gyp_libyuv"],
},
]