DEPS 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. vars = {
  2. 'chromium_git': 'https://chromium.googlesource.com',
  3. }
  4. deps = {
  5. "third_party/gyp":
  6. Var('chromium_git') + "/external/gyp@81c2e5ff92af29bab61c982808076ddce3d200a2",
  7. # TODO(kbr): figure out how to better stay in sync with Chromium's
  8. # versions of googletest and googlemock.
  9. "src/tests/third_party/googletest":
  10. Var('chromium_git') + "/external/googletest.git@9855a87157778d39b95eccfb201a9dc90f6d61c6",
  11. "src/tests/third_party/googlemock":
  12. Var('chromium_git') + "/external/googlemock.git@b2cb211e49d872101d991201362d7b97d7d69910",
  13. # Cherry is a dEQP management GUI written in Go. We use it for viewing test results.
  14. "third_party/cherry":
  15. "https://android.googlesource.com/platform/external/cherry@d2e26b4d864ec2a6757e7f1174e464949ca5bf73",
  16. "third_party/deqp/src":
  17. "https://android.googlesource.com/platform/external/deqp@f4f3d8079e7a37d7675ab93583e6438d0bca0e58",
  18. "third_party/libpng":
  19. "https://android.googlesource.com/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c",
  20. "third_party/zlib":
  21. Var('chromium_git') + "/chromium/src/third_party/zlib@afd8c4593c010c045902f6c0501718f1823064a3",
  22. "buildtools":
  23. Var('chromium_git') + '/chromium/buildtools.git@06e80a0e17319868d4a9b13f9bb6a248dc8d8b20',
  24. }
  25. hooks = [
  26. # Pull clang-format binaries using checked-in hashes.
  27. {
  28. 'name': 'clang_format_win',
  29. 'pattern': '.',
  30. 'action': [ 'download_from_google_storage',
  31. '--no_resume',
  32. '--platform=win32',
  33. '--no_auth',
  34. '--bucket', 'chromium-clang-format',
  35. '-s', 'buildtools/win/clang-format.exe.sha1',
  36. ],
  37. },
  38. {
  39. 'name': 'clang_format_mac',
  40. 'pattern': '.',
  41. 'action': [ 'download_from_google_storage',
  42. '--no_resume',
  43. '--platform=darwin',
  44. '--no_auth',
  45. '--bucket', 'chromium-clang-format',
  46. '-s', 'buildtools/mac/clang-format.sha1',
  47. ],
  48. },
  49. {
  50. 'name': 'clang_format_linux',
  51. 'pattern': '.',
  52. 'action': [ 'download_from_google_storage',
  53. '--no_resume',
  54. '--platform=linux*',
  55. '--no_auth',
  56. '--bucket', 'chromium-clang-format',
  57. '-s', 'buildtools/linux64/clang-format.sha1',
  58. ],
  59. },
  60. # Pull GN binaries using checked-in hashes.
  61. {
  62. 'name': 'gn_win',
  63. 'pattern': '.',
  64. 'action': [ 'download_from_google_storage',
  65. '--no_resume',
  66. '--platform=win32',
  67. '--no_auth',
  68. '--bucket', 'chromium-gn',
  69. '-s', 'buildtools/win/gn.exe.sha1',
  70. ],
  71. },
  72. {
  73. 'name': 'gn_mac',
  74. 'pattern': '.',
  75. 'action': [ 'download_from_google_storage',
  76. '--no_resume',
  77. '--platform=darwin',
  78. '--no_auth',
  79. '--bucket', 'chromium-gn',
  80. '-s', 'buildtools/mac/gn.sha1',
  81. ],
  82. },
  83. {
  84. 'name': 'gn_linux64',
  85. 'pattern': '.',
  86. 'action': [ 'download_from_google_storage',
  87. '--no_resume',
  88. '--platform=linux*',
  89. '--no_auth',
  90. '--bucket', 'chromium-gn',
  91. '-s', 'buildtools/linux64/gn.sha1',
  92. ],
  93. },
  94. {
  95. # A change to a .gyp, .gypi, or to GYP itself should run the generator.
  96. "pattern": ".",
  97. "action": ["python", "build/gyp_angle"],
  98. },
  99. ]