25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

135 lines
4.0 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' + '@' + '4cf07e8d616739f6484e46c9359b2a35196b2585',
  20. }
  21. hooks = [
  22. {
  23. 'name': 'cmake_linux64',
  24. 'pattern': '.',
  25. 'action': [ 'download_from_google_storage',
  26. '--no_resume',
  27. '--platform=linux*',
  28. '--no_auth',
  29. '--bucket', 'chromium-tools',
  30. '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
  31. ],
  32. },
  33. {
  34. 'name': 'cmake_mac',
  35. 'pattern': '.',
  36. 'action': [ 'download_from_google_storage',
  37. '--no_resume',
  38. '--platform=darwin',
  39. '--no_auth',
  40. '--bucket', 'chromium-tools',
  41. '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
  42. ],
  43. },
  44. {
  45. 'name': 'cmake_win32',
  46. 'pattern': '.',
  47. 'action': [ 'download_from_google_storage',
  48. '--no_resume',
  49. '--platform=win32',
  50. '--no_auth',
  51. '--bucket', 'chromium-tools',
  52. '-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
  53. ],
  54. },
  55. {
  56. 'name': 'perl_win32',
  57. 'pattern': '.',
  58. 'action': [ 'download_from_google_storage',
  59. '--no_resume',
  60. '--platform=win32',
  61. '--no_auth',
  62. '--bucket', 'chromium-tools',
  63. '-s', 'boringssl/util/bot/perl-win32.zip.sha1',
  64. ],
  65. },
  66. {
  67. 'name': 'yasm_win32',
  68. 'pattern': '.',
  69. 'action': [ 'download_from_google_storage',
  70. '--no_resume',
  71. '--platform=win32',
  72. '--no_auth',
  73. '--bucket', 'chromium-tools',
  74. '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
  75. ],
  76. },
  77. {
  78. 'name': 'win_toolchain',
  79. 'pattern': '.',
  80. 'action': [ 'python',
  81. 'boringssl/util/bot/vs_toolchain.py',
  82. 'update',
  83. ],
  84. },
  85. {
  86. 'name': 'clang',
  87. 'pattern': '.',
  88. 'action': [ 'python',
  89. 'boringssl/util/bot/update_clang.py',
  90. ],
  91. },
  92. # TODO(davidben): Only extract archives when they've changed. Extracting perl
  93. # on Windows is a significant part of the cycle time.
  94. {
  95. 'name': 'cmake_linux64_extract',
  96. 'pattern': '.',
  97. 'action': [ 'python',
  98. 'boringssl/util/bot/extract.py',
  99. 'boringssl/util/bot/cmake-linux64.tar.gz',
  100. 'boringssl/util/bot/cmake-linux64/',
  101. ],
  102. },
  103. {
  104. 'name': 'cmake_mac_extract',
  105. 'pattern': '.',
  106. 'action': [ 'python',
  107. 'boringssl/util/bot/extract.py',
  108. 'boringssl/util/bot/cmake-mac.tar.gz',
  109. 'boringssl/util/bot/cmake-mac/',
  110. ],
  111. },
  112. {
  113. 'name': 'cmake_win32_extract',
  114. 'pattern': '.',
  115. 'action': [ 'python',
  116. 'boringssl/util/bot/extract.py',
  117. 'boringssl/util/bot/cmake-win32.zip',
  118. 'boringssl/util/bot/cmake-win32/',
  119. ],
  120. },
  121. {
  122. 'name': 'perl_win32_extract',
  123. 'pattern': '.',
  124. 'action': [ 'python',
  125. 'boringssl/util/bot/extract.py',
  126. '--no-prefix',
  127. 'boringssl/util/bot/perl-win32.zip',
  128. 'boringssl/util/bot/perl-win32/',
  129. ],
  130. },
  131. ]