Debian Codegraph @

external/boringssl/util/bot/DEPS

raw
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
15 vars = {
16 'chromium_git': 'https://chromium.googlesource.com',
17 }
18
19 deps = {
20 'boringssl/util/bot/gyp':
21 Var('chromium_git') + '/external/gyp.git' + '@' + '4cf07e8d616739f6484e46c9359b2a35196b2585',
22 }
23
24 deps_os = {
25 'android': {
26 'boringssl/util/bot/android_tools':
27 Var('chromium_git') + '/android_tools.git' + '@' + '5b5f2f60b78198eaef25d442ac60f823142a8a6e',
28 },
29 }
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 ]