@@ -29,7 +29,7 @@ vars = {
2929deps = {
3030 'buildtools' :
3131 Var ('chromium_git' ) + '/chromium/src/buildtools.git@' +
32- '8b16338d17cd71b04a6ba28da7322ab6739892c2 ' ,
32+ 'efa920ce144e4dc1c1841e73179cd7e23b9f0d5e ' ,
3333 'buildtools/clang_format/script' :
3434 Var ('chromium_git' ) +
3535 '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
@@ -44,22 +44,22 @@ deps = {
4444 'af29db7ec28d6df1c7f0f745186884091e602e07' ,
4545 'crashpad/third_party/lss/lss' :
4646 Var ('chromium_git' ) + '/linux-syscall-support.git@' +
47- 'e1e7b0ad8ee99a875b272c8e33e308472e897660 ' ,
47+ '9719c1e1e676814c456b55f5f070eabad6709d31 ' ,
4848 'crashpad/third_party/mini_chromium/mini_chromium' :
4949 Var ('chromium_git' ) + '/chromium/mini_chromium@' +
50- '4332ddb6963750e1106efdcece6d6e2de6dc6430 ' ,
50+ '7477036e238e54f220bed206f71036db8064dd34 ' ,
5151 'crashpad/third_party/libfuzzer/src' :
5252 Var ('chromium_git' ) + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' +
5353 'fda403cf93ecb8792cb1d061564d89a6553ca020' ,
5454 'crashpad/third_party/zlib/zlib' :
5555 Var ('chromium_git' ) + '/chromium/src/third_party/zlib@' +
56- '13dc246a58e4b72104d35f9b1809af95221ebda7 ' ,
56+ 'fef58692c1d7bec94c4ed3d030a45a1832a9615d ' ,
5757
5858 # CIPD packages.
5959 'buildtools/linux64' : {
6060 'packages' : [
6161 {
62- 'package' : 'gn/gn/linux-amd64 ' ,
62+ 'package' : 'gn/gn/linux-${{arch}} ' ,
6363 'version' : Var ('gn_version' ),
6464 }
6565 ],
@@ -86,11 +86,21 @@ deps = {
8686 'dep_type' : 'cipd' ,
8787 'condition' : 'host_os == "win"' ,
8888 },
89+ 'crashpad/build/fuchsia' : {
90+ 'packages' : [
91+ {
92+ 'package' : 'chromium/fuchsia/test-scripts' ,
93+ 'version' : 'latest' ,
94+ }
95+ ],
96+ 'condition' : 'checkout_fuchsia' ,
97+ 'dep_type' : 'cipd' ,
98+ },
8999 'crashpad/third_party/linux/clang/linux-amd64' : {
90100 'packages' : [
91101 {
92- 'package' : 'fuchsia/clang/linux-amd64' ,
93- 'version' : 'goma ' ,
102+ 'package' : 'fuchsia/third_party/ clang/linux-amd64' ,
103+ 'version' : 'Tpc85d1ZwSlZ6UKl2d96GRUBGNA5JKholOKe24sRDr0C ' ,
94104 },
95105 ],
96106 'condition' : 'checkout_linux and pull_linux_clang' ,
@@ -99,8 +109,8 @@ deps = {
99109 'crashpad/third_party/fuchsia/clang/mac-amd64' : {
100110 'packages' : [
101111 {
102- 'package' : 'fuchsia/clang/mac-amd64' ,
103- 'version' : 'goma ' ,
112+ 'package' : 'fuchsia/third_party/ clang/mac-amd64' ,
113+ 'version' : 'latest ' ,
104114 },
105115 ],
106116 'condition' : 'checkout_fuchsia and host_os == "mac"' ,
@@ -109,27 +119,40 @@ deps = {
109119 'crashpad/third_party/fuchsia/clang/linux-amd64' : {
110120 'packages' : [
111121 {
112- 'package' : 'fuchsia/clang/linux-amd64' ,
113- 'version' : 'goma ' ,
122+ 'package' : 'fuchsia/third_party/ clang/linux-amd64' ,
123+ 'version' : 'latest ' ,
114124 },
115125 ],
116126 'condition' : 'checkout_fuchsia and host_os == "linux"' ,
117127 'dep_type' : 'cipd'
118128 },
119- 'crashpad/third_party/fuchsia/sdk/mac-amd64' : {
129+ 'crashpad/third_party/windows/clang/win-amd64' : {
130+ 'bucket' : 'chromium-browser-clang' ,
131+ 'objects' : [
132+ {
133+ 'object_name' : 'Win/clang-llvmorg-20-init-17108-g29ed6000-2.tar.xz' ,
134+ 'sha256sum' : '1c71efd923a91480480d4f31c2fd5f1369e01e14f15776a9454abbce0bc13548' ,
135+ 'size_bytes' : 46357580 ,
136+ 'generation' : 1737590897363452 ,
137+ },
138+ ],
139+ 'condition' : 'checkout_win and host_os == "win"' ,
140+ 'dep_type' : 'gcs' ,
141+ },
142+ 'crashpad/third_party/fuchsia-gn-sdk' : {
120143 'packages' : [
121144 {
122- 'package' : 'fuchsia/sdk/gn/mac-amd64 ' ,
145+ 'package' : 'chromium/ fuchsia/gn-sdk ' ,
123146 'version' : 'latest'
124147 },
125148 ],
126- 'condition' : 'checkout_fuchsia and host_os == "mac" ' ,
149+ 'condition' : 'checkout_fuchsia' ,
127150 'dep_type' : 'cipd'
128151 },
129152 'crashpad/third_party/fuchsia/sdk/linux-amd64' : {
130153 'packages' : [
131154 {
132- 'package' : 'fuchsia/sdk/gn /linux-amd64' ,
155+ 'package' : 'fuchsia/sdk/core /linux-amd64' ,
133156 'version' : 'latest'
134157 },
135158 ],
@@ -199,54 +222,35 @@ deps = {
199222
200223hooks = [
201224 {
202- 'name' : 'clang_format_mac' ,
203- 'pattern' : '.' ,
204- 'condition' : 'host_os == "mac"' ,
205- 'action' : [
206- 'download_from_google_storage' ,
207- '--no_resume' ,
208- '--no_auth' ,
209- '--bucket=chromium-clang-format' ,
210- '--sha1_file' ,
211- 'buildtools/mac/clang-format.{host_cpu}.sha1' ,
212- '--output' ,
213- 'buildtools/mac/clang-format' ,
214- ],
215- },
216- {
217- 'name' : 'clang_format_linux' ,
225+ # If using a local clang ("pull_linux_clang" above), also pull down a
226+ # sysroot.
227+ 'name' : 'sysroot_linux' ,
218228 'pattern' : '.' ,
219- 'condition' : 'host_os == "linux" ' ,
229+ 'condition' : 'checkout_linux and pull_linux_clang ' ,
220230 'action' : [
221- 'download_from_google_storage' ,
222- '--no_resume' ,
223- '--no_auth' ,
224- '--bucket=chromium-clang-format' ,
225- '--sha1_file' ,
226- 'buildtools/linux64/clang-format.sha1' ,
231+ 'crashpad/build/install_linux_sysroot.py' ,
227232 ],
228233 },
229234 {
230- 'name' : 'clang_format_win' ,
235+ # Avoid introducing unnecessary PRESUBMIT.py file from build/fuchsia.
236+ # Never fail and ignore the error if the file does not exist.
237+ 'name' : 'Remove the PRESUBMIT.py from build/fuchsia' ,
231238 'pattern' : '.' ,
232- 'condition' : 'host_os == "win" ' ,
239+ 'condition' : 'checkout_fuchsia ' ,
233240 'action' : [
234- 'download_from_google_storage' ,
235- '--no_resume' ,
236- '--no_auth' ,
237- '--bucket=chromium-clang-format' ,
238- '--sha1_file' ,
239- 'buildtools/win/clang-format.exe.sha1' ,
241+ 'rm' ,
242+ '-f' ,
243+ 'crashpad/build/fuchsia/PRESUBMIT.py' ,
240244 ],
241245 },
242246 {
243- # If using a local clang ("pull_linux_clang" above), also pull down a
244- # sysroot.
245- 'name' : 'sysroot_linux' ,
247+ 'name' : 'Generate Fuchsia Build Definitions' ,
246248 'pattern' : '.' ,
247- 'condition' : 'checkout_linux and pull_linux_clang ' ,
249+ 'condition' : 'checkout_fuchsia ' ,
248250 'action' : [
249- 'crashpad/build/install_linux_sysroot.py' ,
251+ 'python3' ,
252+ 'crashpad/build/fuchsia_envs.py' ,
253+ 'crashpad/build/fuchsia/gen_build_defs.py'
250254 ],
251255 },
252256 {
0 commit comments