The "Cross-compiling Chrome/win" doc says:
----
gclient sync, follow instructions on screen...
These commands create a zip file named <hash value>.zip. Then, to use
the generated file in a Linux or Mac host, the following environment
variables need to be set:
export DEPOT_TOOLS_WIN_TOOLCHAIN_BASE_URL=<path/to/sdk/zip/file>
----
OK... I think "gclient sync" downloaded a zip file. But I don't know
where on the local file system it downloaded it to, and hence what to
set DEPOT_TOOLS_WIN_TOOLCHAIN_BASE_URL to. The "gclient sync" output
(short extract and full text below) mention
"/tmp/tmp9Iia3U/20d5f2553f.zip" but that file doesn't exist any more.
Where would you expect it to be?
I also ran "download_from_google_storage --config" but AFAICT that
just created a .boto file.
Short extract:
----
Running hooks: 12% (13/101) win_toolchain
________ running 'vpython src/build/vs_toolchain.py update --force' in
'/usr/local/google/home/nigeltao/chromium'
Windows toolchain out of date or doesn't exist, updating (Pro)...
current_hashes:
desired_hash: 20d5f2553f
Copying gs://chrome-wintoolchain/20d5f2553f.zip...
/ [1 files][ 1.2 GiB/ 1.2 GiB] 76.6 MiB/s
Operation completed over 1 objects/1.2 GiB.
Extracting /tmp/tmp9Iia3U/20d5f2553f.zip...
Calculating hash of toolchain in vs_files/20d5f2553f. Please wait...
Hook 'vpython src/build/vs_toolchain.py update --force' took 148.82 secs
Running hooks: 14% (15/101) clang
----
Full text:
----
$ gclient sync
use_relative_hooks is deprecated, please remove it from DEPS. (it was
merged in use_relative_paths)
Syncing projects: 100% (237/237), done.
Running hooks: 12% (13/101) win_toolchain
________ running 'vpython src/build/vs_toolchain.py update --force' in
'/usr/local/google/home/nigeltao/chromium'
Windows toolchain out of date or doesn't exist, updating (Pro)...
current_hashes:
desired_hash: 20d5f2553f
Copying gs://chrome-wintoolchain/20d5f2553f.zip...
/ [1 files][ 1.2 GiB/ 1.2 GiB] 76.6 MiB/s
Operation completed over 1 objects/1.2 GiB.
Extracting /tmp/tmp9Iia3U/20d5f2553f.zip...
Calculating hash of toolchain in vs_files/20d5f2553f. Please wait...
Hook 'vpython src/build/vs_toolchain.py update --force' took 148.82 secs
Running hooks: 14% (15/101) clang
________ running 'vpython src/tools/clang/scripts/update.py' in
'/usr/local/google/home/nigeltao/chromium'
Downloading
https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-13-init-3462-gfe5c2c3c-2.tgz
.......... Done.
Downloading
https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-13-init-3462-gfe5c2c3c-2.tgz
.......... Done.
Running hooks: 28% (29/101) rc_linux
________ running 'vpython
src/third_party/depot_tools/download_from_google_storage.py
--no_resume --no_auth --bucket chromium-browser-clang/rc -s
src/build/toolchain/win/rc/linux64/rc.sha1' in
'/usr/local/google/home/nigeltao/chromium'
0> Downloading src/build/toolchain/win/rc/linux64/rc@2d0c766039264dc2514d005a42f074af4838a446...
Downloading 1 files took 7.998627 second(s)
Running hooks: 32% (33/101) apache_win32
________ running 'vpython
src/third_party/depot_tools/download_from_google_storage.py
--no_resume --directory --recursive --no_auth --num_threads=16
--bucket chromium-apache-win32 src/third_party/apache-win32' in
'/usr/local/google/home/nigeltao/chromium'
5> Downloading src/third_party/apache-win32/modules/mod_cgi.so@9fe78b0bc590613933f10ed037216449a9854080...
15> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-file-l2-1-0.dll@402b7b8f8dcfd321b1d12fc85a1ee5137a5569b2...
10> Downloading
src/third_party/apache-win32/modules/mod_authz_host.so@b6db200f1e4d8921f5ea13867902926b37de99a0...
12> Downloading
src/third_party/apache-win32/modules/mod_access_compat.so@15cb4ef42fe094ab865859900be14421741b4e74...
11> Downloading
src/third_party/apache-win32/modules/mod_mime.so@27a07dd6f2cc214a22bf6beedbcb4624aa594623...
8> Downloading src/third_party/apache-win32/modules/php7apache2_4.dll@454aedd338235a5618c34401077e639dde69dbef...
1> Downloading src/third_party/apache-win32/modules/mod_rewrite.so@83c43f08fc010f43345843818666c82254d79cd2...
3> Downloading src/third_party/apache-win32/modules/mod_ssl.so@03e42dcbd0064b2e3be7952df01849a870464db3...
6> Downloading src/third_party/apache-win32/modules/mod_headers.so@fb6530a211bfa3859dbcc3330febf2eed5a5d579...
0> Downloading src/third_party/apache-win32/modules/mod_autoindex.so@f4ff8a89d66963f79c0dc42ed4002080f7c5b49f...
2> Downloading src/third_party/apache-win32/modules/mod_env.so@632c51d3ebb008eb072362eab76d0c435f385882...
7> Downloading src/third_party/apache-win32/modules/mod_alias.so@a1ce8466c07eda65049e96360af7d6052363fabe...
9> Downloading src/third_party/apache-win32/modules/mod_log_config.so@a7ceec0a4432a1b353d7d27191064596eab01414...
4> Downloading src/third_party/apache-win32/modules/mod_asis.so@c66f70fa6dd25400787ec7816a55743bbb2cae90...
13> Downloading
src/third_party/apache-win32/modules/mod_authz_core.so@c549d87dbb75923d9df934bef591438fd629ffe1...
14> Downloading
src/third_party/apache-win32/modules/mod_authn_core.so@cbc0f27732a85e19057d2eaa99c787348fae637c...
10> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-processthreads-l1-1-0.dll@50699041060d14576ed7bacbd44be9af80eb902a...
4> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-string-l1-1-0.dll@7f389e6f2d6e5beb2a3baf622a0c0ea24bc4de60...
11> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-interlocked-l1-1-0.dll@f779cdef9ded19402aa72958085213d6671ca572...
6> Downloading src/third_party/apache-win32/bin/php7ts.dll@82a55130eaa2138b7e1f8ddf609552ac2f679fc9...
7> Downloading src/third_party/apache-win32/bin/openssl.exe@2dba80e3402fb7bbeb5889eef2fd9815260bc4f8...
13> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-filesystem-l1-1-0.dll@78fa03c89ea12ff93fa499c38673039cc2d55d40...
14> Downloading
src/third_party/apache-win32/modules/mod_authn_core.so@cbc0f27732a85e19057d2eaa99c787348fae637c...
10> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-processthreads-l1-1-0.dll@50699041060d14576ed7bacbd44be9af80eb902a...
4> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-string-l1-1-0.dll@7f389e6f2d6e5beb2a3baf622a0c0ea24bc4de60...
11> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-interlocked-l1-1-0.dll@f779cdef9ded19402aa72958085213d6671ca572...
6> Downloading src/third_party/apache-win32/bin/php7ts.dll@82a55130eaa2138b7e1f8ddf609552ac2f679fc9...
7> Downloading src/third_party/apache-win32/bin/openssl.exe@2dba80e3402fb7bbeb5889eef2fd9815260bc4f8...
13> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-filesystem-l1-1-0.dll@78fa03c89ea12ff93fa499c38673039cc2d55d40...
9> Downloading src/third_party/apache-win32/bin/api-ms-win-core-profile-l1-1-0.dll@e7e0b18a40a35bd8b0766ac72253de827432e148...
8> Downloading src/third_party/apache-win32/bin/ApacheMonitor.exe@a09af35e49d42ecc0aa6ef43203a709f7732bdd5...
2> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-conio-l1-1-0.dll@49002b58cb0df2ee8d868dec335133cf225657df...
15> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-utility-l1-1-0.dll@eaa07829d012206ac55fb1af5cc6a35f341d22be...
12> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-memory-l1-1-0.dll@9c03356cf48112563bb845479f40bf27b293e95e...
1> Downloading src/third_party/apache-win32/bin/api-ms-win-core-file-l1-1-0.dll@9acbeef0ac510c179b319ca69cd5378d0e70504d...
5> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-runtime-l1-1-0.dll@a19acefa3f95d1b565650fdbc40ef98c793358e9...
14> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-string-l1-1-0.dll@637e4a9946691f76e6deb69bdc21c210921d6f07...
3> Downloading src/third_party/apache-win32/bin/libcrypto-1_1-x64.dll@3b42f0b6560d1eff56e3a00756366bf260f1d608...
0> Downloading src/third_party/apache-win32/bin/api-ms-win-core-datetime-l1-1-0.dll@4940d5b92b6b80a40371f8df073bf3eb406f5658...
4> Downloading src/third_party/apache-win32/bin/pcre.dll@35481488fbc34b113885466ab3e34b6615648045...
5> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-convert-l1-1-0.dll@c84e41fdcc4ca89a76ae683cb390a9b86500d3ca...
13> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-processenvironment-l1-1-0.dll@2745259f4dbbefbf6b570ee36d224abdb18719bc...
2> Downloading src/third_party/apache-win32/bin/api-ms-win-core-handle-l1-1-0.dll@a2e2a40cea25ea4fd64b8deaf4fbe4a2db94107a...
1> Downloading src/third_party/apache-win32/bin/api-ms-win-core-synch-l1-1-0.dll@5584c189216a17228cca6cd07037aaa9a8603241...
11> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-heap-l1-1-0.dll@60b4cf246c5f414fc1cd12f506c41a1043d473ee...
9> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-stdio-l1-1-0.dll@982b5da1c1f5b9d74af6243885bcba605d54df8c...
10> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-errorhandling-l1-1-0.dll@51cbb7ba47802dc630c2507750432c55f5979c27...
14> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-sysinfo-l1-1-0.dll@f20ae25484a1c1b43748a1f0c422f48f092ad2c1...
15> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-heap-l1-1-0.dll@b4310929ccb82dd3c3a779cab68f1f9f368076f2...
0> Downloading src/third_party/apache-win32/bin/ucrtbase.dll@4189f4459c54e69c6d3155a82524bda7549a75a6...
8> Downloading src/third_party/apache-win32/bin/api-ms-win-core-console-l1-1-0.dll@724f4f91041ad595e365b724a0348c83acf12bbb...
12> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-namedpipe-l1-1-0.dll@cb59f1fe73c17446eb196fc0dd7d944a0cd9d81f...
7> Downloading src/third_party/apache-win32/bin/libapr-1.dll@d7083018a6f19148ffedc3d09416282bc69babd6...
3> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-locale-l1-1-0.dll@9c1df49a8dbdc8496ac6057f886f5c17b2c39e3e...
6> Downloading src/third_party/apache-win32/bin/api-ms-win-core-util-l1-1-0.dll@1e1a5ab47e4c2b3c32c81690b94954b7612bb493...
5> Downloading src/third_party/apache-win32/bin/api-ms-win-core-localization-l1-2-0.dll@9874398548891f6a08fc06437996f84eb7495783...
9> Downloading src/third_party/apache-win32/bin/api-ms-win-core-processthreads-l1-1-1.dll@0bffb9ed366853e7019452644d26e8e8f236241b...
2> Downloading src/third_party/apache-win32/bin/libapriconv-1.dll@18998f83f0115d6ebd67be781ec7b94e2fe67550...
13> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-timezone-l1-1-0.dll@4bf13db65943e708690d6256d7ddd421cc1cc72b...
14> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-environment-l1-1-0.dll@9a4818897251cacb7fe1c6fe1be3e854985186ad...
11> Downloading
src/third_party/apache-win32/bin/libhttpd.dll@4ea4b5bfa0e3301fd326f9970efacfff028c5144...
10> Downloading
src/third_party/apache-win32/bin/vcruntime140.dll@aaccc47a71fbcadf980932874056c9570a824890...
1> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-time-l1-1-0.dll@ee815a158baacb357d9e074c0755b6f6c286b625...
8> Downloading src/third_party/apache-win32/bin/zlib1.dll@bae633d523b5905725d50d59297d9c26997802f5...
15> Downloading
src/third_party/apache-win32/bin/api-ms-win-core-debug-l1-1-0.dll@e7c8a6c29c3158f8b332eea5c33c3b1e044b5f73...
12> Downloading
src/third_party/apache-win32/bin/libssl-1_1-x64.dll@a771c64188a388109c0f88a0b72593ca63b734fa...
4> Downloading src/third_party/apache-win32/bin/api-ms-win-core-rtlsupport-l1-1-0.dll@24f37d46dfc0ef303ef04abf9956241af55d25c9...
7> Downloading src/third_party/apache-win32/bin/api-ms-win-core-libraryloader-l1-1-0.dll@47143a66b4a2e2ba019bf1fd07bcca9cfb8bb117...
0> Downloading src/third_party/apache-win32/bin/libaprutil-1.dll@ad35bc0f054af6a4e02f2e9a55c9213def6cb2cf...
3> Downloading src/third_party/apache-win32/bin/api-ms-win-core-synch-l1-2-0.dll@a9aebbbb73b7b846b051325d7572f2398f5986ee...
6> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-process-l1-1-0.dll@ec96f7beeaec14d3b6c437b97b4a18a365534b9b...
9> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-multibyte-l1-1-0.dll@91eef52c557aefd0fde27e8df4e3c3b7f99862f2...
5> Downloading src/third_party/apache-win32/bin/api-ms-win-core-file-l1-2-0.dll@04669214375b25e2dc8a3635484e6eeb206bc4eb...
14> Downloading
src/third_party/apache-win32/bin/httpd.exe@db1e5983c9b91253eb253bfd6c3f498bc0d86230...
13> Downloading
src/third_party/apache-win32/bin/api-ms-win-crt-math-l1-1-0.dll@8b35ec4676bd96c2c4508dc5f98ca471b22deed7...
2> Downloading src/third_party/apache-win32/bin/api-ms-win-crt-private-l1-1-0.dll@0c33cfe40edd278a692c2e73e941184fd24286d9...
Downloading 69 files took 37.936652 second(s)
Hook 'vpython src/third_party/depot_tools/download_from_google_storage.py
--no_resume --directory --recursive --no_auth --num_threads=16
--bucket chromium-apache-win32 src/third_party/apache-win32' took
39.76 secs
Running hooks: 100% (101/101), done.
----