blob: 3642da610a34aca2233c1c35bf8489818efa9179 [file] [log] [blame]
David Benjamin1b5cfb52015-02-13 18:38:43 -05001# 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
David Benjamin05a5beb2015-03-12 20:13:41 -040015vars = {
16 'chromium_git': 'https://chromium.googlesource.com',
17}
18
19deps = {
20 'boringssl/util/bot/gyp':
David Benjaminebc4de62017-05-10 15:21:09 -040021 Var('chromium_git') + '/external/gyp.git' + '@' + 'eb296f67da078ec01f5e3a9ea9cdc6d26d680161',
David Benjamin05a5beb2015-03-12 20:13:41 -040022}
David Benjamin1b5cfb52015-02-13 18:38:43 -050023
David Benjamin3ccf4d62016-05-19 00:33:41 -040024deps_os = {
25 'android': {
26 'boringssl/util/bot/android_tools':
David Benjaminebc4de62017-05-10 15:21:09 -040027 Var('chromium_git') + '/android_tools.git' + '@' + 'cb6bc21107001e2f2eeee2707b482b2b755baf51',
David Benjamin3ccf4d62016-05-19 00:33:41 -040028 },
29}
30
David Benjamin49b50382016-11-13 14:19:25 +090031recursedeps = [
David Benjamin076ade52016-11-13 13:41:17 +090032 # android_tools pulls in the NDK from a separate repository.
33 'boringssl/util/bot/android_tools',
34]
35
David Benjamin1b5cfb52015-02-13 18:38:43 -050036hooks = [
37 {
38 'name': 'cmake_linux64',
39 'pattern': '.',
40 'action': [ 'download_from_google_storage',
41 '--no_resume',
42 '--platform=linux*',
43 '--no_auth',
44 '--bucket', 'chromium-tools',
45 '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1',
46 ],
47 },
David Benjamin9a7233c2015-02-26 18:34:31 -050048 {
49 'name': 'cmake_mac',
50 'pattern': '.',
51 'action': [ 'download_from_google_storage',
52 '--no_resume',
53 '--platform=darwin',
54 '--no_auth',
55 '--bucket', 'chromium-tools',
56 '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1',
57 ],
58 },
David Benjamin0d5e0802015-02-27 17:23:16 -050059 {
60 'name': 'cmake_win32',
61 'pattern': '.',
62 'action': [ 'download_from_google_storage',
63 '--no_resume',
64 '--platform=win32',
65 '--no_auth',
66 '--bucket', 'chromium-tools',
67 '-s', 'boringssl/util/bot/cmake-win32.zip.sha1',
68 ],
69 },
70 {
71 'name': 'perl_win32',
72 'pattern': '.',
73 'action': [ 'download_from_google_storage',
74 '--no_resume',
75 '--platform=win32',
76 '--no_auth',
77 '--bucket', 'chromium-tools',
78 '-s', 'boringssl/util/bot/perl-win32.zip.sha1',
79 ],
80 },
81 {
82 'name': 'yasm_win32',
83 'pattern': '.',
84 'action': [ 'download_from_google_storage',
85 '--no_resume',
86 '--platform=win32',
87 '--no_auth',
88 '--bucket', 'chromium-tools',
89 '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
90 ],
91 },
David Benjamin05a5beb2015-03-12 20:13:41 -040092 {
93 'name': 'win_toolchain',
94 'pattern': '.',
95 'action': [ 'python',
96 'boringssl/util/bot/vs_toolchain.py',
97 'update',
98 ],
99 },
David Benjamin4b0afdd2015-04-18 15:38:27 -0400100 {
101 'name': 'clang',
102 'pattern': '.',
103 'action': [ 'python',
104 'boringssl/util/bot/update_clang.py',
105 ],
106 },
David Benjamin1b5cfb52015-02-13 18:38:43 -0500107 {
108 'name': 'cmake_linux64_extract',
109 'pattern': '.',
110 'action': [ 'python',
111 'boringssl/util/bot/extract.py',
112 'boringssl/util/bot/cmake-linux64.tar.gz',
113 'boringssl/util/bot/cmake-linux64/',
114 ],
115 },
David Benjamin9a7233c2015-02-26 18:34:31 -0500116 {
117 'name': 'cmake_mac_extract',
118 'pattern': '.',
119 'action': [ 'python',
120 'boringssl/util/bot/extract.py',
121 'boringssl/util/bot/cmake-mac.tar.gz',
122 'boringssl/util/bot/cmake-mac/',
123 ],
124 },
David Benjamin0d5e0802015-02-27 17:23:16 -0500125 {
126 'name': 'cmake_win32_extract',
127 'pattern': '.',
128 'action': [ 'python',
129 'boringssl/util/bot/extract.py',
130 'boringssl/util/bot/cmake-win32.zip',
131 'boringssl/util/bot/cmake-win32/',
132 ],
133 },
134 {
135 'name': 'perl_win32_extract',
136 'pattern': '.',
137 'action': [ 'python',
138 'boringssl/util/bot/extract.py',
139 '--no-prefix',
140 'boringssl/util/bot/perl-win32.zip',
141 'boringssl/util/bot/perl-win32/',
142 ],
143 },
David Benjamin1b5cfb52015-02-13 18:38:43 -0500144]