mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-14 15:39:57 +08:00
This reverts commit 2dd3d9230ee663e71ed4ad9164033ed672e571de. Reason: chromium_git is a missing variable, and to properly add gflags, we need to check in GYP files in third_party/gflags first, then add the DEPS entry. BUG=libyuv:507 TBR=fbarchard@chromium.org Review URL: https://codereview.chromium.org/1406323002 .
32 lines
941 B
Python
32 lines
941 B
Python
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': 'bb79186c63ff4eff7a2a318a21731005c53f269b',
|
|
}
|
|
|
|
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"],
|
|
},
|
|
]
|