DEPS 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # Copyright 2014 The Crashpad Authors. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. vars = {
  15. 'chromium_git': 'https://chromium.googlesource.com',
  16. }
  17. deps = {
  18. 'buildtools':
  19. Var('chromium_git') + '/chromium/buildtools.git@' +
  20. 'f6d165d9d842ddd29056c127a5f3a3c5d8e0d2e3',
  21. 'crashpad/third_party/gtest/gtest':
  22. Var('chromium_git') + '/external/github.com/google/googletest@' +
  23. '7b6561c56e353100aca8458d7bc49c4e0119bae8',
  24. 'crashpad/third_party/gyp/gyp':
  25. Var('chromium_git') + '/external/gyp@' +
  26. 'f72586209ecbf70b71ce690f2182ebe51669cbb3',
  27. # TODO(scottmg): Consider pinning these. For now, we don't have any particular
  28. # reason to do so.
  29. 'crashpad/third_party/llvm':
  30. Var('chromium_git') + '/external/llvm.org/llvm.git@HEAD',
  31. 'crashpad/third_party/llvm/tools/clang':
  32. Var('chromium_git') + '/external/llvm.org/clang.git@HEAD',
  33. 'crashpad/third_party/llvm/tools/lldb':
  34. Var('chromium_git') + '/external/llvm.org/lldb.git@HEAD',
  35. 'crashpad/third_party/mini_chromium/mini_chromium':
  36. Var('chromium_git') + '/chromium/mini_chromium@' +
  37. 'dd0c3e9680ae3c4c22f2221a2a75e48dd4a562ec',
  38. 'crashpad/third_party/zlib/zlib':
  39. Var('chromium_git') + '/chromium/src/third_party/zlib@' +
  40. '13dc246a58e4b72104d35f9b1809af95221ebda7',
  41. }
  42. hooks = [
  43. {
  44. 'name': 'clang_format_mac',
  45. 'pattern': '.',
  46. 'action': [
  47. 'download_from_google_storage',
  48. '--platform=^darwin$',
  49. '--no_resume',
  50. '--no_auth',
  51. '--bucket=chromium-clang-format',
  52. '--sha1_file',
  53. 'buildtools/mac/clang-format.sha1',
  54. ],
  55. },
  56. {
  57. 'name': 'clang_format_win',
  58. 'pattern': '.',
  59. 'action': [
  60. 'download_from_google_storage',
  61. '--platform=^win32$',
  62. '--no_resume',
  63. '--no_auth',
  64. '--bucket=chromium-clang-format',
  65. '--sha1_file',
  66. 'buildtools/win/clang-format.exe.sha1',
  67. ],
  68. },
  69. {
  70. 'name': 'clang_format_linux',
  71. 'pattern': '.',
  72. 'action': [
  73. 'download_from_google_storage',
  74. '--platform=^linux2?$',
  75. '--no_resume',
  76. '--no_auth',
  77. '--bucket=chromium-clang-format',
  78. '--sha1_file',
  79. 'buildtools/linux64/clang-format.sha1',
  80. ],
  81. },
  82. {
  83. 'name': 'gn_mac',
  84. 'pattern': '.',
  85. 'action': [
  86. 'download_from_google_storage',
  87. '--platform=^darwin$',
  88. '--no_resume',
  89. '--no_auth',
  90. '--bucket=chromium-gn',
  91. '--sha1_file',
  92. 'buildtools/mac/gn.sha1',
  93. ],
  94. },
  95. {
  96. 'name': 'gn_win',
  97. 'pattern': '.',
  98. 'action': [
  99. 'download_from_google_storage',
  100. '--platform=^win32$',
  101. '--no_resume',
  102. '--no_auth',
  103. '--bucket=chromium-gn',
  104. '--sha1_file',
  105. 'buildtools/win/gn.exe.sha1',
  106. ],
  107. },
  108. {
  109. 'name': 'gn_linux',
  110. 'pattern': '.',
  111. 'action': [
  112. 'download_from_google_storage',
  113. '--platform=^linux2?$',
  114. '--no_resume',
  115. '--no_auth',
  116. '--bucket=chromium-gn',
  117. '--sha1_file',
  118. 'buildtools/linux64/gn.sha1',
  119. ],
  120. },
  121. {
  122. 'name': 'gyp',
  123. 'pattern': '\.gypi?$',
  124. 'action': ['python', 'crashpad/build/gyp_crashpad.py'],
  125. },
  126. ]
  127. recursedeps = [
  128. 'buildtools',
  129. ]