OLD | NEW |
1 vars = { | 1 vars = { |
2 # Override root_dir in your .gclient's custom_vars to specify a custom root | 2 # Override root_dir in your .gclient's custom_vars to specify a custom root |
3 # folder name. | 3 # folder name. |
4 "root_dir": "libyuv", | 4 "root_dir": "libyuv", |
5 "extra_gyp_flag": "-Dextra_gyp_flag=0", | 5 "extra_gyp_flag": "-Dextra_gyp_flag=0", |
6 | 6 |
7 # Roll the Chromium Git hash to pick up newer versions of all the | 7 # Roll the Chromium Git hash to pick up newer versions of all the |
8 # dependencies and tools linked to in setup_links.py. | 8 # dependencies and tools linked to in setup_links.py. |
9 'chromium_revision': 'bb79186c63ff4eff7a2a318a21731005c53f269b', | 9 'chromium_revision': 'bb79186c63ff4eff7a2a318a21731005c53f269b', |
10 } | 10 } |
11 | 11 |
| 12 # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 13 # https; the latter can cause problems for users behind proxies. |
| 14 deps = { |
| 15 'src/third_party/gflags/src': |
| 16 Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94
eb914d0c', # from svn revision 82 |
| 17 } |
| 18 |
| 19 # Define rules for which include paths are allowed in our source. |
| 20 include_rules = [ '+gflags' ] |
| 21 |
12 hooks = [ | 22 hooks = [ |
13 { | 23 { |
14 # Clone chromium and its deps. | 24 # Clone chromium and its deps. |
15 "name": "sync chromium", | 25 "name": "sync chromium", |
16 "pattern": ".", | 26 "pattern": ".", |
17 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", | 27 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", |
18 "--target-revision", Var("chromium_revision")], | 28 "--target-revision", Var("chromium_revision")], |
19 }, | 29 }, |
20 { | 30 { |
21 # Create links to shared dependencies in Chromium. | 31 # Create links to shared dependencies in Chromium. |
22 "name": "setup_links", | 32 "name": "setup_links", |
23 "pattern": ".", | 33 "pattern": ".", |
24 "action": ["python", Var("root_dir") + "/setup_links.py"], | 34 "action": ["python", Var("root_dir") + "/setup_links.py"], |
25 }, | 35 }, |
26 { | 36 { |
27 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 37 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
28 "pattern": ".", | 38 "pattern": ".", |
29 "action": ["python", Var("root_dir") + "/gyp_libyuv"], | 39 "action": ["python", Var("root_dir") + "/gyp_libyuv"], |
30 }, | 40 }, |
31 ] | 41 ] |
OLD | NEW |