DEPS 1.3 KB

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