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': 'bfea27af55be979d8146ed4d225f07a9cf1fba8b', # 7.27.2015 | 9 'chromium_revision': 'bb79186c63ff4eff7a2a318a21731005c53f269b', |
10 } | 10 } |
11 | 11 |
12 hooks = [ | 12 hooks = [ |
13 { | 13 { |
14 # Clone chromium and its deps. | 14 # Clone chromium and its deps. |
15 "name": "sync chromium", | 15 "name": "sync chromium", |
16 "pattern": ".", | 16 "pattern": ".", |
17 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", | 17 "action": ["python", "-u", Var("root_dir") + "/sync_chromium.py", |
18 "--target-revision", Var("chromium_revision")], | 18 "--target-revision", Var("chromium_revision")], |
19 }, | 19 }, |
20 { | 20 { |
21 # Create links to shared dependencies in Chromium. | 21 # Create links to shared dependencies in Chromium. |
22 "name": "setup_links", | 22 "name": "setup_links", |
23 "pattern": ".", | 23 "pattern": ".", |
24 "action": ["python", Var("root_dir") + "/setup_links.py"], | 24 "action": ["python", Var("root_dir") + "/setup_links.py"], |
25 }, | 25 }, |
26 { | 26 { |
27 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 27 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
28 "pattern": ".", | 28 "pattern": ".", |
29 "action": ["python", Var("root_dir") + "/gyp_libyuv"], | 29 "action": ["python", Var("root_dir") + "/gyp_libyuv"], |
30 }, | 30 }, |
31 ] | 31 ] |
OLD | NEW |