blob: 3047f145b819152d26185263ec256bf85d3b176b [file] [log] [blame]
Adam Langleye9ada862015-05-11 17:20:37 -07001# 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
15vars = {
16 'chromium_git': 'https://chromium.googlesource.com',
17}
18
19deps = {
20 'boringssl/util/bot/gyp':
Robert Sloan8ff03552017-06-14 12:40:58 -070021 Var('chromium_git') + '/external/gyp.git' + '@' + 'eb296f67da078ec01f5e3a9ea9cdc6d26d680161',
Adam Langleye9ada862015-05-11 17:20:37 -070022}
23
David Benjamind316cba2016-06-02 16:17:39 -040024deps_os = {
25 'android': {
26 'boringssl/util/bot/android_tools':
Robert Sloan8ff03552017-06-14 12:40:58 -070027 Var('chromium_git') + '/android_tools.git' + '@' + 'cb6bc21107001e2f2eeee2707b482b2b755baf51',
28 },
29 'unix': {
30 'boringssl/util/bot/libFuzzer':
31 Var('chromium_git') + '/chromium/llvm-project/llvm/lib/Fuzzer.git' + '@' + '16f5f743c188c836d32cdaf349d5d3effb8a3518',
David Benjamind316cba2016-06-02 16:17:39 -040032 },
33}
34
Steven Valdez909b19f2016-11-21 15:35:44 -050035recursedeps = [
36 # android_tools pulls in the NDK from a separate repository.
37 'boringssl/util/bot/android_tools',
38]
39
Adam Langleye9ada862015-05-11 17:20:37 -070040hooks = [
41 {
42 'name': 'cmake_linux64',
43 'pattern': '.',
44 'action': [ 'download_from_google_storage',
45 '--no_resume',
46 '--platform=linux*',
47 '--no_auth',
48 '--bucket', 'chromium-tools',
49 '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
50 ],
51 },
52 {
53 'name': 'cmake_mac',
54 'pattern': '.',
55 'action': [ 'download_from_google_storage',
56 '--no_resume',
57 '--platform=darwin',
58 '--no_auth',
59 '--bucket', 'chromium-tools',
60 '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
61 ],
62 },
63 {
64 'name': 'cmake_win32',
65 'pattern': '.',
66 'action': [ 'download_from_google_storage',
67 '--no_resume',
68 '--platform=win32',
69 '--no_auth',
70 '--bucket', 'chromium-tools',
71 '-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
72 ],
73 },
74 {
75 'name': 'perl_win32',
76 'pattern': '.',
77 'action': [ 'download_from_google_storage',
78 '--no_resume',
79 '--platform=win32',
80 '--no_auth',
81 '--bucket', 'chromium-tools',
82 '-s', 'boringssl/util/bot/perl-win32.zip.sha1',
83 ],
84 },
85 {
86 'name': 'yasm_win32',
87 'pattern': '.',
88 'action': [ 'download_from_google_storage',
89 '--no_resume',
90 '--platform=win32',
91 '--no_auth',
92 '--bucket', 'chromium-tools',
93 '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
94 ],
95 },
96 {
97 'name': 'win_toolchain',
98 'pattern': '.',
99 'action': [ 'python',
100 'boringssl/util/bot/vs_toolchain.py',
101 'update',
102 ],
103 },
104 {
105 'name': 'clang',
106 'pattern': '.',
107 'action': [ 'python',
108 'boringssl/util/bot/update_clang.py',
109 ],
110 },
Adam Langleye9ada862015-05-11 17:20:37 -0700111 {
112 'name': 'cmake_linux64_extract',
113 'pattern': '.',
114 'action': [ 'python',
115 'boringssl/util/bot/extract.py',
116 'boringssl/util/bot/cmake-linux64.tar.gz',
117 'boringssl/util/bot/cmake-linux64/',
118 ],
119 },
120 {
121 'name': 'cmake_mac_extract',
122 'pattern': '.',
123 'action': [ 'python',
124 'boringssl/util/bot/extract.py',
125 'boringssl/util/bot/cmake-mac.tar.gz',
126 'boringssl/util/bot/cmake-mac/',
127 ],
128 },
129 {
130 'name': 'cmake_win32_extract',
131 'pattern': '.',
132 'action': [ 'python',
133 'boringssl/util/bot/extract.py',
134 'boringssl/util/bot/cmake-win32.zip',
135 'boringssl/util/bot/cmake-win32/',
136 ],
137 },
138 {
139 'name': 'perl_win32_extract',
140 'pattern': '.',
141 'action': [ 'python',
142 'boringssl/util/bot/extract.py',
143 '--no-prefix',
144 'boringssl/util/bot/perl-win32.zip',
145 'boringssl/util/bot/perl-win32/',
146 ],
147 },
148]