Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 1 | # Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 5 | use_relative_paths = True |
Philip Pfaffe | f9efa2a | 2023-08-04 10:07:42 | [diff] [blame] | 6 | git_dependencies = 'SYNC' |
Ergün Erdoğmuş | 3e2bc4d | 2022-06-13 08:33:00 | [diff] [blame] | 7 | gclient_gn_args_file = 'build/config/gclient_args.gni' |
| 8 | gclient_gn_args = [ |
| 9 | ] |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 10 | |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 11 | vars = { |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 12 | 'build_with_chromium': False, |
| 13 | |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 14 | 'build_url': 'https://chromium.googlesource.com/chromium/src/build.git', |
devtools-ci-autoroll-builder | 609d296 | 2023-08-05 03:16:03 | [diff] [blame] | 15 | 'build_revision': 'd80b6bfa269d08b8743be6c00a2955ca83b782df', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 16 | |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 17 | 'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git', |
devtools-ci-autoroll-builder | 609d296 | 2023-08-05 03:16:03 | [diff] [blame] | 18 | 'buildtools_revision': 'a9a6f0c49d0e8fa0cda37337430b4736ab3dc944', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 19 | |
Michael Achenbach | 4b5276f | 2019-12-02 14:18:01 | [diff] [blame] | 20 | 'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git', |
devtools-ci-autoroll-builder | 609d296 | 2023-08-05 03:16:03 | [diff] [blame] | 21 | 'depot_tools_revision': '138e18725c25c47d89b2f31fa3bb80b6ddb1bcdb', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 22 | |
| 23 | 'inspector_protocol_url': 'https://chromium.googlesource.com/deps/inspector_protocol', |
devtools-ci-autoroll-builder | 55a4d56 | 2023-07-25 03:15:49 | [diff] [blame] | 24 | 'inspector_protocol_revision': '916f43c554c65ebf4ccd896b0f4e2ac99a67c434', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 25 | |
Almothana Athamneh | 908bbc5 | 2021-02-11 12:57:15 | [diff] [blame] | 26 | 'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git', |
devtools-ci-autoroll-builder | d1c859a | 2023-08-02 03:15:18 | [diff] [blame] | 27 | 'clang_format_revision': 'e5337933f2951cacd3aeacd238ce4578163ca0b9', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 28 | |
Philip Pfaffe | 208ac9a | 2022-06-29 09:53:55 | [diff] [blame] | 29 | 'emscripten_tag': 'ade9d780ff17c88d81aa13860361743e3c1e1396', |
Philip Pfaffe | 0237609 | 2020-09-29 11:10:05 | [diff] [blame] | 30 | |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 31 | # GN CIPD package version. |
devtools-ci-autoroll-builder | d1c859a | 2023-08-02 03:15:18 | [diff] [blame] | 32 | 'gn_version': 'git_revision:811d332bd90551342c5cbd39e133aa276022d7f8', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 33 | |
Philip Pfaffe | 686b12a | 2023-07-05 11:51:48 | [diff] [blame] | 34 | 'cmake_version': 'version:3.16.1', |
| 35 | |
| 36 | 'llvm_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/', |
| 37 | 'llvm_revision': 'c08d3b08f6d71e974537de226c68d4c94c396a46', |
| 38 | |
| 39 | 'lldb_eval_url': 'https://chromium.googlesource.com/external/github.com/google/lldb-eval.git', |
| 40 | 'lldb_eval_revision': 'e87123a7e639bf1d86f24c37079570fb7fa00b72', |
| 41 | |
Junji Watanabe | 4c80576 | 2022-09-30 02:43:29 | [diff] [blame] | 42 | # ninja CIPD package version. |
| 43 | # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja |
devtools-ci-autoroll-builder | 9ca5717 | 2023-01-17 12:23:12 | [diff] [blame] | 44 | 'ninja_version': 'version:2@1.11.1.chromium.6', |
Junji Watanabe | 4c80576 | 2022-09-30 02:43:29 | [diff] [blame] | 45 | |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 46 | # Chrome version used for tests. It should be regularly updated to |
| 47 | # match the Canary version listed here: |
| 48 | # https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json |
devtools-ci-autoroll-builder | 1f1d326 | 2023-08-06 03:14:46 | [diff] [blame^] | 49 | 'chrome': '117.0.5931.0', |
Josip Sokcevic | b2614aa | 2023-08-02 16:29:19 | [diff] [blame] | 50 | |
| 51 | # 'magic' text to tell depot_tools that git submodules should be accepted but |
| 52 | # but parity with DEPS file is expected. |
| 53 | 'SUBMODULE_MIGRATION': 'True' |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | # Only these hosts are allowed for dependencies in this DEPS file. |
| 57 | # If you need to add a new host, contact chrome infrastracture team. |
Thiago Perrotta | c88c391 | 2022-07-14 08:36:22 | [diff] [blame] | 58 | allowed_hosts = [ 'chromium.googlesource.com', 'chrome-infra-packages.appspot.com' ] |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 59 | |
| 60 | deps = { |
Joanna Wang | 7c29259 | 2023-05-25 22:16:42 | [diff] [blame] | 61 | 'third_party/clang-format/script': { |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 62 | 'url': Var('clang_format_url') + '@' + Var('clang_format_revision'), |
| 63 | 'condition': 'build_with_chromium == False', |
| 64 | }, |
Philip Pfaffe | 686b12a | 2023-07-05 11:51:48 | [diff] [blame] | 65 | 'third_party/cmake': { |
| 66 | 'packages': [{ |
| 67 | 'package': 'infra/cmake/${{platform}}', |
| 68 | 'version': Var('cmake_version') |
| 69 | }], |
| 70 | 'dep_type': |
| 71 | 'cipd', |
| 72 | 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| 73 | }, |
| 74 | 'extensions/cxx_debugging/third_party/llvm/src': { |
| 75 | 'url': Var('llvm_url') + '@' + Var('llvm_revision'), |
| 76 | 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| 77 | }, |
| 78 | 'extensions/cxx_debugging/third_party/lldb-eval/src': { |
| 79 | 'url': Var('lldb_eval_url') + '@' + Var('lldb_eval_revision'), |
| 80 | 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| 81 | }, |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 82 | |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 83 | 'buildtools': { |
| 84 | 'url': Var('buildtools_url') + '@' + Var('buildtools_revision'), |
| 85 | 'condition': 'build_with_chromium == False', |
| 86 | }, |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 87 | |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 88 | 'buildtools/linux64': { |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 89 | 'packages': [ |
| 90 | { |
Liviu Rau | f1dd544 | 2022-05-19 10:45:26 | [diff] [blame] | 91 | 'package': 'gn/gn/linux-${{arch}}', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 92 | 'version': Var('gn_version'), |
| 93 | } |
| 94 | ], |
| 95 | 'dep_type': 'cipd', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 96 | 'condition': 'host_os == "linux" and build_with_chromium == False', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 97 | }, |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 98 | 'buildtools/mac': { |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 99 | 'packages': [ |
| 100 | { |
Liviu Rau | f1dd544 | 2022-05-19 10:45:26 | [diff] [blame] | 101 | 'package': 'gn/gn/mac-${{arch}}', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 102 | 'version': Var('gn_version'), |
| 103 | } |
| 104 | ], |
| 105 | 'dep_type': 'cipd', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 106 | 'condition': 'host_os == "mac" and build_with_chromium == False', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 107 | }, |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 108 | 'buildtools/win': { |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 109 | 'packages': [ |
| 110 | { |
Liviu Rau | f1dd544 | 2022-05-19 10:45:26 | [diff] [blame] | 111 | 'package': 'gn/gn/windows-${{arch}}', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 112 | 'version': Var('gn_version'), |
| 113 | } |
| 114 | ], |
| 115 | 'dep_type': 'cipd', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 116 | 'condition': 'host_os == "win" and build_with_chromium == False', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 117 | }, |
Takuto Ikuta | e8cb209 | 2022-01-18 10:29:54 | [diff] [blame] | 118 | 'third_party/esbuild': { |
| 119 | 'packages': [ |
| 120 | { |
| 121 | 'package': 'infra/3pp/tools/esbuild/${{platform}}', |
Jack Franklin | 5ee20e3 | 2022-12-01 10:35:54 | [diff] [blame] | 122 | 'version': 'version:2@0.14.13.chromium.2', |
Takuto Ikuta | e8cb209 | 2022-01-18 10:29:54 | [diff] [blame] | 123 | } |
| 124 | ], |
| 125 | 'dep_type': 'cipd', |
| 126 | }, |
| 127 | |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 128 | 'build': { |
| 129 | 'url': Var('build_url') + '@' + Var('build_revision'), |
| 130 | 'condition': 'build_with_chromium == False', |
| 131 | }, |
| 132 | 'third_party/depot_tools': { |
| 133 | 'url': Var('depot_tools_url') + '@' + Var('depot_tools_revision'), |
| 134 | 'condition': 'build_with_chromium == False', |
| 135 | }, |
| 136 | 'third_party/inspector_protocol': { |
| 137 | 'url': Var('inspector_protocol_url') + '@' + Var('inspector_protocol_revision'), |
| 138 | 'condition': 'build_with_chromium == False', |
| 139 | }, |
Junji Watanabe | 4c80576 | 2022-09-30 02:43:29 | [diff] [blame] | 140 | 'third_party/ninja': { |
| 141 | 'packages': [ |
| 142 | { |
| 143 | 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 144 | 'version': Var('ninja_version'), |
| 145 | } |
| 146 | ], |
| 147 | 'dep_type': 'cipd', |
Junji Watanabe | de0a982 | 2022-11-30 12:37:45 | [diff] [blame] | 148 | 'condition': 'build_with_chromium == False', |
Junji Watanabe | 4c80576 | 2022-09-30 02:43:29 | [diff] [blame] | 149 | }, |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 150 | } |
| 151 | |
| 152 | hooks = [ |
| 153 | # Pull down Node binaries for WebUI toolchain. |
| 154 | { |
| 155 | 'name': 'node_linux64', |
| 156 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 157 | 'condition': 'host_os == "linux" and build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 158 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 159 | 'third_party/depot_tools/download_from_google_storage.py', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 160 | '--no_resume', |
| 161 | '--extract', |
| 162 | '--no_auth', |
Tim van der Lippe | 6067910 | 2021-11-02 12:20:51 | [diff] [blame] | 163 | '--bucket', 'chromium-nodejs/16.13.0', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 164 | '-s', 'third_party/node/linux/node-linux-x64.tar.gz.sha1', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 165 | ], |
| 166 | }, |
| 167 | { |
| 168 | 'name': 'node_mac', |
| 169 | 'pattern': '.', |
Alex Rudenko | 09215f4 | 2023-04-18 14:12:00 | [diff] [blame] | 170 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64"', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 171 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 172 | 'third_party/depot_tools/download_from_google_storage.py', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 173 | '--no_resume', |
| 174 | '--extract', |
| 175 | '--no_auth', |
Tim van der Lippe | 6067910 | 2021-11-02 12:20:51 | [diff] [blame] | 176 | '--bucket', 'chromium-nodejs/16.13.0', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 177 | '-s', 'third_party/node/mac/node-darwin-x64.tar.gz.sha1', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 178 | ], |
| 179 | }, |
Alex Rudenko | 09215f4 | 2023-04-18 14:12:00 | [diff] [blame] | 180 | { |
| 181 | 'name': 'node_mac', |
| 182 | 'pattern': '.', |
| 183 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"', |
| 184 | 'action': [ 'python3', |
| 185 | 'third_party/depot_tools/download_from_google_storage.py', |
| 186 | '--no_resume', |
| 187 | '--extract', |
| 188 | '--no_auth', |
| 189 | '--bucket', 'chromium-nodejs/16.13.0', |
| 190 | '-s', 'third_party/node/mac/node-darwin-arm64.tar.gz.sha1', |
| 191 | ], |
| 192 | }, |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 193 | { |
| 194 | 'name': 'node_win', |
| 195 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 196 | 'condition': 'host_os == "win" and build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 197 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 198 | 'third_party/depot_tools/download_from_google_storage.py', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 199 | '--no_resume', |
| 200 | '--no_auth', |
Tim van der Lippe | 6067910 | 2021-11-02 12:20:51 | [diff] [blame] | 201 | '--bucket', 'chromium-nodejs/16.13.0', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 202 | '-s', 'third_party/node/win/node.exe.sha1', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 203 | ], |
| 204 | }, |
| 205 | |
| 206 | { |
| 207 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 208 | # disabled. |
| 209 | 'name': 'disable_depot_tools_selfupdate', |
| 210 | 'pattern': '.', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 211 | 'condition': 'build_with_chromium == False', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 212 | 'action': [ |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 213 | 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 214 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 215 | '--disable', |
| 216 | ], |
| 217 | }, |
| 218 | |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 219 | # Pull clang-format binaries using checked-in hashes. |
| 220 | { |
| 221 | 'name': 'clang_format_win', |
| 222 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 223 | 'condition': 'host_os == "win" and build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 224 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 225 | 'third_party/depot_tools/download_from_google_storage.py', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 226 | '--no_resume', |
| 227 | '--no_auth', |
| 228 | '--bucket', 'chromium-clang-format', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 229 | '-s', 'buildtools/win/clang-format.exe.sha1', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 230 | ], |
| 231 | }, |
| 232 | { |
Eric Leese | 969a65f | 2022-03-22 14:48:27 | [diff] [blame] | 233 | 'name': 'clang_format_mac_x64', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 234 | 'pattern': '.', |
Eric Leese | 969a65f | 2022-03-22 14:48:27 | [diff] [blame] | 235 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "x64"', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 236 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 237 | 'third_party/depot_tools/download_from_google_storage.py', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 238 | '--no_resume', |
| 239 | '--no_auth', |
| 240 | '--bucket', 'chromium-clang-format', |
Eric Leese | 969a65f | 2022-03-22 14:48:27 | [diff] [blame] | 241 | '-s', 'buildtools/mac/clang-format.x64.sha1', |
| 242 | '-o', 'buildtools/mac/clang-format', |
| 243 | ], |
| 244 | }, |
| 245 | { |
| 246 | 'name': 'clang_format_mac_arm64', |
| 247 | 'pattern': '.', |
| 248 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"', |
| 249 | 'action': [ 'python3', |
| 250 | 'third_party/depot_tools/download_from_google_storage.py', |
| 251 | '--no_resume', |
| 252 | '--no_auth', |
| 253 | '--bucket', 'chromium-clang-format', |
| 254 | '-s', 'buildtools/mac/clang-format.arm64.sha1', |
| 255 | '-o', 'buildtools/mac/clang-format', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 256 | ], |
| 257 | }, |
| 258 | { |
| 259 | 'name': 'clang_format_linux', |
| 260 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 261 | 'condition': 'host_os == "linux" and build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 262 | 'action': [ 'python3', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 263 | 'third_party/depot_tools/download_from_google_storage.py', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 264 | '--no_resume', |
| 265 | '--no_auth', |
| 266 | '--bucket', 'chromium-clang-format', |
Philip Pfaffe | a767331 | 2020-07-10 13:06:49 | [diff] [blame] | 267 | '-s', 'buildtools/linux64/clang-format.sha1', |
Tim van der Lippe | f7bc2e3 | 2019-11-09 20:17:44 | [diff] [blame] | 268 | ], |
| 269 | }, |
Yang Guo | d97dd18 | 2019-11-19 14:18:02 | [diff] [blame] | 270 | |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 271 | # Pull Chrome binaries from CfT buckets. |
| 272 | { |
| 273 | 'name': 'download_chrome_win', |
| 274 | 'pattern': '.', |
| 275 | 'condition': 'host_os == "win" and build_with_chromium == False', |
| 276 | 'action': [ 'python3', |
| 277 | 'scripts/deps/download_chrome.py', |
Mathias Bynens | a017ced | 2023-07-27 10:38:02 | [diff] [blame] | 278 | '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/win64/chrome-win64.zip', |
| 279 | '--target=third_party/chrome', |
| 280 | '--rename_from=chrome-win64', |
| 281 | '--rename_to=chrome-win', |
| 282 | '--path_to_binary=chrome-win/chrome.exe', |
| 283 | '--version_number=' + Var('chrome'), |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 284 | ], |
| 285 | }, |
| 286 | { |
| 287 | 'name': 'download_chrome_mac', |
| 288 | 'pattern': '.', |
| 289 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64"', |
| 290 | 'action': [ 'python3', |
| 291 | 'scripts/deps/download_chrome.py', |
Mathias Bynens | a017ced | 2023-07-27 10:38:02 | [diff] [blame] | 292 | '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/mac-x64/chrome-mac-x64.zip', |
| 293 | '--target=third_party/chrome', |
| 294 | '--rename_from=chrome-mac-x64', |
| 295 | '--rename_to=chrome-mac', |
| 296 | '--path_to_binary=chrome-mac/Google Chrome for Testing.app/Contents', |
| 297 | '--version_number=' + Var('chrome'), |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 298 | ], |
| 299 | }, |
| 300 | { |
| 301 | 'name': 'download_chrome_mac', |
| 302 | 'pattern': '.', |
| 303 | 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64"', |
| 304 | 'action': [ 'python3', |
| 305 | 'scripts/deps/download_chrome.py', |
Mathias Bynens | a017ced | 2023-07-27 10:38:02 | [diff] [blame] | 306 | '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/mac-arm64/chrome-mac-arm64.zip', |
| 307 | '--target=third_party/chrome', |
| 308 | '--rename_from=chrome-mac-arm64', |
| 309 | '--rename_to=chrome-mac', |
| 310 | '--path_to_binary=chrome-mac/Google Chrome for Testing.app/Contents', |
| 311 | '--version_number=' + Var('chrome'), |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 312 | ], |
| 313 | }, |
| 314 | { |
| 315 | 'name': 'download_chrome_linux', |
| 316 | 'pattern': '.', |
| 317 | 'condition': 'host_os == "linux" and build_with_chromium == False', |
| 318 | 'action': [ 'python3', |
| 319 | 'scripts/deps/download_chrome.py', |
Mathias Bynens | a017ced | 2023-07-27 10:38:02 | [diff] [blame] | 320 | '--url=https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + Var('chrome') + '/linux64/chrome-linux64.zip', |
| 321 | '--target=third_party/chrome', |
| 322 | '--rename_from=chrome-linux64', |
| 323 | '--rename_to=chrome-linux', |
| 324 | '--path_to_binary=chrome-linux/chrome', |
| 325 | '--version_number=' + Var('chrome'), |
Mathias Bynens | 5c9b5f1 | 2023-07-18 14:05:52 | [diff] [blame] | 326 | ], |
| 327 | }, |
| 328 | |
Liviu Rau | 2a63290 | 2020-05-13 08:02:15 | [diff] [blame] | 329 | { |
Tim van der Lippe | 08285ab | 2022-01-07 10:43:33 | [diff] [blame] | 330 | # Update LASTCHANGE for build script timestamps |
| 331 | 'name': 'lastchange', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 332 | 'condition': 'build_with_chromium == False', |
Tim van der Lippe | 08285ab | 2022-01-07 10:43:33 | [diff] [blame] | 333 | 'pattern': '.', |
| 334 | 'action': ['python3', 'build/util/lastchange.py', |
| 335 | '-o', 'build/util/LASTCHANGE'], |
| 336 | }, |
| 337 | { |
Simon Que | c6c55b6 | 2020-06-25 08:42:32 | [diff] [blame] | 338 | 'name': 'sysroot_x64', |
| 339 | 'pattern': '.', |
Takuto Ikuta | 6ed5f9a | 2022-01-19 09:13:47 | [diff] [blame] | 340 | 'condition': 'checkout_linux and checkout_x64 and build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 341 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Simon Que | c6c55b6 | 2020-06-25 08:42:32 | [diff] [blame] | 342 | '--arch=x64'], |
| 343 | }, |
Philip Pfaffe | 0237609 | 2020-09-29 11:10:05 | [diff] [blame] | 344 | { |
| 345 | 'name': 'emscripten', |
| 346 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 347 | 'condition': 'build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 348 | 'action': ['python3', 'scripts/deps/download_emscripten.py', Var('emscripten_tag'), 'third_party/emscripten-releases'], |
Philip Pfaffe | 0237609 | 2020-09-29 11:10:05 | [diff] [blame] | 349 | }, |
Tim van der Lippe | 7882ce0 | 2021-05-11 13:34:27 | [diff] [blame] | 350 | { |
| 351 | 'name': 'VS Code settings', |
| 352 | 'pattern': '.', |
Tim van der Lippe | ceded1a | 2021-07-20 10:16:47 | [diff] [blame] | 353 | 'condition': 'build_with_chromium == False', |
Takuto Ikuta | 0319fe0 | 2021-11-25 05:38:09 | [diff] [blame] | 354 | 'action': ['python3', 'third_party/node/node.py', '--output', 'scripts/deps/sync-vscode-settings.js'] |
Tim van der Lippe | 7882ce0 | 2021-05-11 13:34:27 | [diff] [blame] | 355 | }, |
Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 356 | ] |