You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

128 regels
3.8 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' + '@' + '4a9b712d5cb4a5ba7a9950128a7219569caf7263',
  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. # TODO(davidben): Only extract archives when they've changed. Extracting perl
  86. # on Windows is a significant part of the cycle time.
  87. {
  88. 'name': 'cmake_linux64_extract',
  89. 'pattern': '.',
  90. 'action': [ 'python',
  91. 'boringssl/util/bot/extract.py',
  92. 'boringssl/util/bot/cmake-linux64.tar.gz',
  93. 'boringssl/util/bot/cmake-linux64/',
  94. ],
  95. },
  96. {
  97. 'name': 'cmake_mac_extract',
  98. 'pattern': '.',
  99. 'action': [ 'python',
  100. 'boringssl/util/bot/extract.py',
  101. 'boringssl/util/bot/cmake-mac.tar.gz',
  102. 'boringssl/util/bot/cmake-mac/',
  103. ],
  104. },
  105. {
  106. 'name': 'cmake_win32_extract',
  107. 'pattern': '.',
  108. 'action': [ 'python',
  109. 'boringssl/util/bot/extract.py',
  110. 'boringssl/util/bot/cmake-win32.zip',
  111. 'boringssl/util/bot/cmake-win32/',
  112. ],
  113. },
  114. {
  115. 'name': 'perl_win32_extract',
  116. 'pattern': '.',
  117. 'action': [ 'python',
  118. 'boringssl/util/bot/extract.py',
  119. '--no-prefix',
  120. 'boringssl/util/bot/perl-win32.zip',
  121. 'boringssl/util/bot/perl-win32/',
  122. ],
  123. },
  124. ]