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 'chromium_git': 'https://chromium.googlesource.com', | 6 'chromium_git': 'https://chromium.googlesource.com', |
7 | 7 |
8 # Roll the Chromium Git hash to pick up newer versions of all the | 8 # Roll the Chromium Git hash to pick up newer versions of all the |
9 # dependencies and tools linked to in setup_links.py. | 9 # dependencies and tools linked to in setup_links.py. |
10 'chromium_revision': '941118827f5240dedb40082cffb1ead6c6d621cc', | 10 'chromium_revision': '941118827f5240dedb40082cffb1ead6c6d621cc', |
(...skipping 17 matching lines...) Expand all Loading... |
28 'action': ['python', '-u', Var('root_dir') + '/sync_chromium.py', | 28 'action': ['python', '-u', Var('root_dir') + '/sync_chromium.py', |
29 '--target-revision', Var('chromium_revision')], | 29 '--target-revision', Var('chromium_revision')], |
30 }, | 30 }, |
31 { | 31 { |
32 # Create links to shared dependencies in Chromium. | 32 # Create links to shared dependencies in Chromium. |
33 'name': 'setup_links', | 33 'name': 'setup_links', |
34 'pattern': '.', | 34 'pattern': '.', |
35 'action': ['python', Var('root_dir') + '/setup_links.py'], | 35 'action': ['python', Var('root_dir') + '/setup_links.py'], |
36 }, | 36 }, |
37 { | 37 { |
| 38 # This clobbers when necessary (based on get_landmines.py). It should be |
| 39 # an early hook but it will need to be run after syncing Chromium and |
| 40 # setting up the links, so the script actually exists. |
| 41 'name': 'landmines', |
| 42 'pattern': '.', |
| 43 'action': [ |
| 44 'python', |
| 45 Var('root_dir') + '/build/landmines.py', |
| 46 '--landmine-scripts', |
| 47 Var('root_dir') + '/tools/get_landmines.py', |
| 48 '--src-dir', |
| 49 Var('root_dir'), |
| 50 ], |
| 51 }, |
| 52 { |
38 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 53 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
39 'pattern': '.', | 54 'pattern': '.', |
40 'action': ['python', Var('root_dir') + '/gyp_libyuv'], | 55 'action': ['python', Var('root_dir') + '/gyp_libyuv'], |
41 }, | 56 }, |
42 ] | 57 ] |
OLD | NEW |