您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

142 行
4.1 KiB

  1. # Copyright (c) 2015, Google Inc.
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  10. # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  12. # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  13. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. vars = {
  15. 'chromium_git': 'https://chromium.googlesource.com',
  16. }
  17. deps = {
  18. 'boringssl/util/bot/gyp':
  19. Var('chromium_git') + '/external/gyp.git' + '@' + 'e7079f0e0e14108ab0dba58728ff219637458563',
  20. }
  21. deps_os = {
  22. 'android': {
  23. 'boringssl/util/bot/android_tools':
  24. Var('chromium_git') + '/android_tools.git' + '@' + 'af1c5a4cd6329ccdcf8c2bc93d9eea02f9d74869',
  25. },
  26. }
  27. hooks = [
  28. {
  29. 'name': 'cmake_linux64',
  30. 'pattern': '.',
  31. 'action': [ 'download_from_google_storage',
  32. '--no_resume',
  33. '--platform=linux*',
  34. '--no_auth',
  35. '--bucket', 'chromium-tools',
  36. '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
  37. ],
  38. },
  39. {
  40. 'name': 'cmake_mac',
  41. 'pattern': '.',
  42. 'action': [ 'download_from_google_storage',
  43. '--no_resume',
  44. '--platform=darwin',
  45. '--no_auth',
  46. '--bucket', 'chromium-tools',
  47. '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
  48. ],
  49. },
  50. {
  51. 'name': 'cmake_win32',
  52. 'pattern': '.',
  53. 'action': [ 'download_from_google_storage',
  54. '--no_resume',
  55. '--platform=win32',
  56. '--no_auth',
  57. '--bucket', 'chromium-tools',
  58. '-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
  59. ],
  60. },
  61. {
  62. 'name': 'perl_win32',
  63. 'pattern': '.',
  64. 'action': [ 'download_from_google_storage',
  65. '--no_resume',
  66. '--platform=win32',
  67. '--no_auth',
  68. '--bucket', 'chromium-tools',
  69. '-s', 'boringssl/util/bot/perl-win32.zip.sha1',
  70. ],
  71. },
  72. {
  73. 'name': 'yasm_win32',
  74. 'pattern': '.',
  75. 'action': [ 'download_from_google_storage',
  76. '--no_resume',
  77. '--platform=win32',
  78. '--no_auth',
  79. '--bucket', 'chromium-tools',
  80. '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
  81. ],
  82. },
  83. {
  84. 'name': 'win_toolchain',
  85. 'pattern': '.',
  86. 'action': [ 'python',
  87. 'boringssl/util/bot/vs_toolchain.py',
  88. 'update',
  89. ],
  90. },
  91. {
  92. 'name': 'clang',
  93. 'pattern': '.',
  94. 'action': [ 'python',
  95. 'boringssl/util/bot/update_clang.py',
  96. ],
  97. },
  98. # TODO(davidben): Only extract archives when they've changed. Extracting perl
  99. # on Windows is a significant part of the cycle time.
  100. {
  101. 'name': 'cmake_linux64_extract',
  102. 'pattern': '.',
  103. 'action': [ 'python',
  104. 'boringssl/util/bot/extract.py',
  105. 'boringssl/util/bot/cmake-linux64.tar.gz',
  106. 'boringssl/util/bot/cmake-linux64/',
  107. ],
  108. },
  109. {
  110. 'name': 'cmake_mac_extract',
  111. 'pattern': '.',
  112. 'action': [ 'python',
  113. 'boringssl/util/bot/extract.py',
  114. 'boringssl/util/bot/cmake-mac.tar.gz',
  115. 'boringssl/util/bot/cmake-mac/',
  116. ],
  117. },
  118. {
  119. 'name': 'cmake_win32_extract',
  120. 'pattern': '.',
  121. 'action': [ 'python',
  122. 'boringssl/util/bot/extract.py',
  123. 'boringssl/util/bot/cmake-win32.zip',
  124. 'boringssl/util/bot/cmake-win32/',
  125. ],
  126. },
  127. {
  128. 'name': 'perl_win32_extract',
  129. 'pattern': '.',
  130. 'action': [ 'python',
  131. 'boringssl/util/bot/extract.py',
  132. '--no-prefix',
  133. 'boringssl/util/bot/perl-win32.zip',
  134. 'boringssl/util/bot/perl-win32/',
  135. ],
  136. },
  137. ]