Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

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