| 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', |
| 11 } | 11 } |
| 12 | 12 |
| 13 # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than | 13 # NOTE: Use http rather than https; the latter can cause problems for users |
| 14 # https; the latter can cause problems for users behind proxies. | 14 # behind proxies. |
| 15 deps = { | 15 deps = { |
| 16 Var('root_dir') + '/third_party/gflags/src': | 16 Var('root_dir') + '/third_party/gflags/src': |
| 17 Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff8
3d50ae025a55a4bf94dfca', | 17 Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff8
3d50ae025a55a4bf94dfca', |
| 18 } | 18 } |
| 19 | 19 |
| 20 # Define rules for which include paths are allowed in our source. | 20 # Define rules for which include paths are allowed in our source. |
| 21 include_rules = [ '+gflags' ] | 21 include_rules = [ '+gflags' ] |
| 22 | 22 |
| 23 hooks = [ | 23 hooks = [ |
| 24 { | 24 { |
| 25 # Clone chromium and its deps. | 25 # Clone chromium and its deps. |
| 26 'name': 'sync chromium', | 26 'name': 'sync chromium', |
| 27 'pattern': '.', | 27 'pattern': '.', |
| 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 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 38 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 39 'pattern': '.', | 39 'pattern': '.', |
| 40 'action': ['python', Var('root_dir') + '/gyp_libyuv'], | 40 'action': ['python', Var('root_dir') + '/gyp_libyuv'], |
| 41 }, | 41 }, |
| 42 ] | 42 ] |
| OLD | NEW |