Lei Zhang | e4bf834 | 2015-10-21 17:11:04 -0700 | [diff] [blame] | 1 | use_relative_paths = True |
| 2 | |
Lei Zhang | 323ade8 | 2020-07-13 22:07:03 +0000 | [diff] [blame] | 3 | gclient_gn_args_file = 'build/config/gclient_args.gni' |
K. Moon | 4948d0e | 2022-11-11 18:54:40 +0000 | [diff] [blame] | 4 | gclient_gn_args = [ |
| 5 | 'checkout_skia', |
| 6 | ] |
Lei Zhang | 5dc5c5b | 2020-07-06 22:50:02 +0000 | [diff] [blame] | 7 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 8 | vars = { |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 9 | # By default, we should check out everything needed to run on the main |
Lei Zhang | b153655 | 2022-07-12 20:59:06 +0000 | [diff] [blame] | 10 | # pdfium waterfalls. This var can be also be set to 'small', in order to skip |
| 11 | # things are not strictly needed to build pdfium for development purposes, |
| 12 | # by adding the following line to the .gclient file inside a solutions entry: |
| 13 | # "custom_vars": { "checkout_configuration": "small" }, |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 14 | # Similarly, this var can be set to 'minimal' to also skip the Skia and V8 |
| 15 | # checkouts for the smallest possible checkout, where some features will not |
| 16 | # work. |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 17 | 'checkout_configuration': 'default', |
| 18 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 19 | 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration != "small" and checkout_configuration != "minimal"', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 20 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 21 | 'checkout_skia': 'checkout_configuration != "minimal"', |
| 22 | |
| 23 | 'checkout_testing_corpus': 'checkout_configuration != "small" and checkout_configuration != "minimal"', |
| 24 | |
| 25 | 'checkout_v8': 'checkout_configuration != "minimal"', |
Lei Zhang | b153655 | 2022-07-12 20:59:06 +0000 | [diff] [blame] | 26 | |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 27 | # By default, download the fuchsia sdk from the public sdk directory. |
Chong Gu | 411f207 | 2023-06-28 22:01:35 +0000 | [diff] [blame] | 28 | 'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/core/', |
Lei Zhang | b714e7c | 2022-02-28 22:48:44 +0000 | [diff] [blame] | 29 | |
Lei Zhang | e293c09 | 2023-07-06 21:55:51 +0000 | [diff] [blame] | 30 | # Fetch configuration files required for the 'use_remoteexec' gn arg |
| 31 | 'download_remoteexec_cfg': False, |
| 32 | # RBE instance to use for running remote builds |
| 33 | 'rbe_instance': Str('projects/rbe-chrome-untrusted/instances/default_instance'), |
| 34 | # RBE project to download rewrapper config files for. Only needed if |
| 35 | # different from the project used in 'rbe_instance' |
| 36 | 'rewrapper_cfg_project': Str(''), |
| 37 | # reclient CIPD package |
| 38 | 'reclient_package': 'infra/rbe/client/', |
| 39 | # reclient CIPD package version |
| 40 | 'reclient_version': 're_client_version:0.109.0.927890d-gomaip', |
| 41 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 42 | 'chromium_git': 'https://chromium.googlesource.com', |
| 43 | 'pdfium_git': 'https://pdfium.googlesource.com', |
Lei Zhang | 7b9fe87 | 2021-11-30 21:45:18 +0000 | [diff] [blame] | 44 | 'skia_git': 'https://skia.googlesource.com', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 45 | |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 46 | # Three lines of non-changing comments so that |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 47 | # the commit queue can handle CLs rolling abseil |
| 48 | # and whatever else without interference from each other. |
Lei Zhang | acd622c | 2023-08-01 17:52:29 +0000 | [diff] [blame] | 49 | 'abseil_revision': '2288062eef9624e8b48070ed2447139d3fd4a1c5', |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 50 | # Three lines of non-changing comments so that |
K. Moon | 270f8d4 | 2023-07-06 00:16:55 +0000 | [diff] [blame] | 51 | # the commit queue can handle CLs rolling android_toolchain |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 52 | # and whatever else without interference from each other. |
K. Moon | 270f8d4 | 2023-07-06 00:16:55 +0000 | [diff] [blame] | 53 | 'android_toolchain_version': 'R_8suM8m0oHbZ1awdxGXvKEFpAOETscbfZxkkMthyk8C', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 54 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 55 | # the commit queue can handle CLs rolling build |
| 56 | # and whatever else without interference from each other. |
Lei Zhang | 49e8b09 | 2023-07-28 23:45:46 +0000 | [diff] [blame] | 57 | 'build_revision': '336e34d44c88d1160d150bd6c8d93e203a424b42', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 58 | # Three lines of non-changing comments so that |
| 59 | # the commit queue can handle CLs rolling buildtools |
| 60 | # and whatever else without interference from each other. |
Lei Zhang | 6e41cff | 2023-08-01 17:10:54 +0000 | [diff] [blame] | 61 | 'buildtools_revision': '16be42a9ff1f7e4a3e53b93b3adc181fa7ff9161', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 62 | # Three lines of non-changing comments so that |
| 63 | # the commit queue can handle CLs rolling catapult |
| 64 | # and whatever else without interference from each other. |
pdfium-autoroll | 832d6bb | 2023-08-07 05:36:37 +0000 | [diff] [blame] | 65 | 'catapult_revision': '220cbb13b5a7485be09813e7da4123088419a76a', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 66 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 67 | # the commit queue can handle CLs rolling clang format |
| 68 | # and whatever else without interference from each other. |
Lei Zhang | 76f27a1 | 2023-08-07 23:55:16 +0000 | [diff] [blame] | 69 | 'clang_format_revision': 'e5337933f2951cacd3aeacd238ce4578163ca0b9', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 70 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 71 | # the commit queue can handle CLs rolling clang |
| 72 | # and whatever else without interference from each other. |
Lei Zhang | 5d3955e | 2023-07-31 22:15:26 +0000 | [diff] [blame] | 73 | 'clang_revision': '236e66ffd61f3bd710d20d20a67e71a1f1f55cba', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 74 | # Three lines of non-changing comments so that |
| 75 | # the commit queue can handle CLs rolling code_coverage |
| 76 | # and whatever else without interference from each other. |
pdfium-autoroll | 442caf1 | 2023-08-07 05:30:45 +0000 | [diff] [blame] | 77 | 'code_coverage_revision': 'bce4cdc2309e9a7f1e0ff1d9310e0d0302aa67e0', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 78 | # Three lines of non-changing comments so that |
Hui Yingst | 9dc67f0 | 2023-06-01 23:02:35 +0000 | [diff] [blame] | 79 | # the commit queue can handle CLs rolling code_coverage |
| 80 | # and whatever else without interference from each other. |
| 81 | 'cpu_features_revision': '936b9ab5515dead115606559502e3864958f7f6e', |
| 82 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 83 | # the commit queue can handle CLs rolling depot_tools |
| 84 | # and whatever else without interference from each other. |
Lei Zhang | 3f0bf8d | 2023-08-01 00:44:19 +0000 | [diff] [blame] | 85 | 'depot_tools_revision': '59e10115417ac77f47e42c3f13a4f6b58ebe70c2', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 86 | # Three lines of non-changing comments so that |
| 87 | # the commit queue can handle CLs rolling freetype |
| 88 | # and whatever else without interference from each other. |
Lei Zhang | 7574333 | 2023-08-01 17:52:04 +0000 | [diff] [blame] | 89 | 'freetype_revision': 'b2584c738f1a92e6369890cff0504cc044315b38', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 90 | # Three lines of non-changing comments so that |
Chong Gu | 411f207 | 2023-06-28 22:01:35 +0000 | [diff] [blame] | 91 | # the commit queue can handle CLs rolling freetype |
| 92 | # and whatever else without interference from each other. |
| 93 | 'fuchsia_gn_sdk_revision': '0d6902558d92fe3d49ba9a8f638ddea829be595b', |
| 94 | # Three lines of non-changing comments so that |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 95 | # the commit queue can handle CLs rolling Fuchsia sdk |
| 96 | # and whatever else without interference from each other. |
Lei Zhang | e33975a | 2023-08-01 17:11:28 +0000 | [diff] [blame] | 97 | 'fuchsia_version': 'version:14.20230727.2.1', |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 98 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 99 | # the commit queue can handle CLs rolling GN CIPD package version |
| 100 | # and whatever else without interference from each other. |
Lei Zhang | 1dab618 | 2023-08-01 17:52:46 +0000 | [diff] [blame] | 101 | 'gn_version': 'git_revision:3fccef9033b950e8935e8debeba9fbd71617bc74', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 102 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 103 | # the commit queue can handle CLs rolling gtest |
| 104 | # and whatever else without interference from each other. |
Alan Screen | f8f29a8 | 2022-04-14 01:36:21 +0000 | [diff] [blame] | 105 | 'gtest_revision': 'af29db7ec28d6df1c7f0f745186884091e602e07', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 106 | # Three lines of non-changing comments so that |
| 107 | # the commit queue can handle CLs rolling icu |
| 108 | # and whatever else without interference from each other. |
Lei Zhang | 7f8f07e | 2023-08-01 01:31:23 +0000 | [diff] [blame] | 109 | 'icu_revision': 'de4ce0071eb47ed54cbda54869001210cf3a8ae5', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 110 | # Three lines of non-changing comments so that |
| 111 | # the commit queue can handle CLs rolling instrumented_lib |
| 112 | # and whatever else without interference from each other. |
pdfium-autoroll | 0485b62 | 2023-07-17 05:14:15 +0000 | [diff] [blame] | 113 | 'instrumented_lib_revision': '032e9c850ab975f7c088a625dcf2256917dbdfa6', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 114 | # Three lines of non-changing comments so that |
| 115 | # the commit queue can handle CLs rolling jinja2 |
| 116 | # and whatever else without interference from each other. |
pdfium-autoroll | 5967378 | 2023-07-10 06:13:47 +0000 | [diff] [blame] | 117 | 'jinja2_revision': '515dd10de9bf63040045902a4a310d2ba25213a0', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 118 | # Three lines of non-changing comments so that |
| 119 | # the commit queue can handle CLs rolling jpeg_turbo |
| 120 | # and whatever else without interference from each other. |
Lei Zhang | 0658107 | 2023-07-31 22:54:19 +0000 | [diff] [blame] | 121 | 'jpeg_turbo_revision': '30bdb85e302ecfc52593636b2f44af438e05e784', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 122 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 123 | # the commit queue can handle CLs rolling libc++ |
| 124 | # and whatever else without interference from each other. |
| 125 | # If you change this, also update the libc++ revision in |
| 126 | # //buildtools/deps_revisions.gni. |
K. Moon | adcf1e7 | 2023-07-05 23:14:07 +0000 | [diff] [blame] | 127 | 'libcxx_revision': '84fb809dd6dae36d556dc0bb702c6cc2ce9d4b80', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 128 | # Three lines of non-changing comments so that |
| 129 | # the commit queue can handle CLs rolling libc++abi |
| 130 | # and whatever else without interference from each other. |
Lei Zhang | 637bfca | 2023-08-02 17:06:13 +0000 | [diff] [blame] | 131 | 'libcxxabi_revision': 'd4760c0af99ccc9bce077960d5ddde4d66146c05', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 132 | # Three lines of non-changing comments so that |
K. Moon | efd00c2 | 2022-11-15 23:02:57 +0000 | [diff] [blame] | 133 | # the commit queue can handle CLs rolling libpng |
| 134 | # and whatever else without interference from each other. |
Andy Phan | 415349e | 2023-04-04 20:51:50 +0000 | [diff] [blame] | 135 | 'libpng_revision': '805df541c44099bb20d425ac47c666e29b1f7a80', |
K. Moon | efd00c2 | 2022-11-15 23:02:57 +0000 | [diff] [blame] | 136 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 137 | # the commit queue can handle CLs rolling libunwind |
| 138 | # and whatever else without interference from each other. |
Lei Zhang | 9f8b6bf | 2023-08-02 17:06:16 +0000 | [diff] [blame] | 139 | 'libunwind_revision': 'e5a9c50e5e0b620a8886df1c4677b12404620fb6', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 140 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 141 | # the commit queue can handle CLs rolling markupsafe |
| 142 | # and whatever else without interference from each other. |
pdfium-autoroll | c749bfe | 2023-07-10 05:46:12 +0000 | [diff] [blame] | 143 | 'markupsafe_revision': '006709ba3ed87660a17bd4548c45663628f5ed85', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 144 | # Three lines of non-changing comments so that |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 145 | # the commit queue can handle CLs rolling nasm_source |
| 146 | # and whatever else without interference from each other. |
K. Moon | 515651e | 2023-02-03 16:25:10 +0000 | [diff] [blame] | 147 | 'nasm_source_revision': '7fc833e889d1afda72c06220e5bed8fb43b2e5ce', |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 148 | # Three lines of non-changing comments so that |
Junji Watanabe | a067234 | 2022-11-14 19:51:59 +0000 | [diff] [blame] | 149 | # the commit queue can handle CLs rolling Ninja CIPD package version |
| 150 | # and whatever else without interference from each other. |
K. Moon | 613dd30 | 2023-02-03 22:47:36 +0000 | [diff] [blame] | 151 | 'ninja_version': 'version:2@1.11.1.chromium.6', |
Junji Watanabe | a067234 | 2022-11-14 19:51:59 +0000 | [diff] [blame] | 152 | # Three lines of non-changing comments so that |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 153 | # the commit queue can handle CLs rolling partition_allocator |
| 154 | # and whatever else without interference from each other. |
Tom Sepez | 1e4b7c2 | 2023-07-28 23:54:27 +0000 | [diff] [blame] | 155 | 'partition_allocator_revision': 'f91d5ba232cbe61b9740b4101a5b5bea3cd631ed', |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 156 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 157 | # the commit queue can handle CLs rolling pdfium_tests |
| 158 | # and whatever else without interference from each other. |
K. Moon | c7df602 | 2023-06-28 19:12:03 +0000 | [diff] [blame] | 159 | 'pdfium_tests_revision': 'dc2cd9afdd1bad8666072416c340ad1c6a01e388', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 160 | # Three lines of non-changing comments so that |
K. Moon | 643278d | 2022-10-06 20:41:42 +0000 | [diff] [blame] | 161 | # the commit queue can handle CLs rolling resultdb |
| 162 | # and whatever else without interference from each other. |
Lei Zhang | 82473b6 | 2023-03-07 16:00:43 +0000 | [diff] [blame] | 163 | 'resultdb_version': 'git_revision:ebc74d10fa0d64057daa6f128e89f3672eeeec95', |
K. Moon | 643278d | 2022-10-06 20:41:42 +0000 | [diff] [blame] | 164 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 165 | # the commit queue can handle CLs rolling skia |
| 166 | # and whatever else without interference from each other. |
Brian Osman | 5cac3f6 | 2023-08-15 20:14:13 +0000 | [diff] [blame] | 167 | 'skia_revision': 'b5f614a8521b36e892798e6f42d85c3c439add38', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 168 | # Three lines of non-changing comments so that |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 169 | # the commit queue can handle CLs rolling test_fonts |
| 170 | # and whatever else without interference from each other. |
| 171 | 'test_fonts_revision': '7f51783942943e965cd56facf786544ccfc07713', |
| 172 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 173 | # the commit queue can handle CLs rolling tools_memory |
| 174 | # and whatever else without interference from each other. |
Lei Zhang | d647c71 | 2023-08-01 00:22:32 +0000 | [diff] [blame] | 175 | 'tools_memory_revision': '2a4c4ba1f4a94231b01280a0c63d3fe4404cc9c2', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 176 | # Three lines of non-changing comments so that |
| 177 | # the commit queue can handle CLs rolling trace_event |
| 178 | # and whatever else without interference from each other. |
Lei Zhang | c73d784 | 2023-03-01 20:35:48 +0000 | [diff] [blame] | 179 | 'trace_event_revision': '147f65333c38ddd1ebf554e89965c243c8ce50b3', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 180 | # Three lines of non-changing comments so that |
| 181 | # the commit queue can handle CLs rolling v8 |
| 182 | # and whatever else without interference from each other. |
Lei Zhang | df6fed9 | 2023-08-08 03:26:52 +0000 | [diff] [blame] | 183 | 'v8_revision': '41ff48bd620584b425618e7f8b51617c46c4d67f', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 184 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 185 | # the commit queue can handle CLs rolling zlib |
| 186 | # and whatever else without interference from each other. |
Lei Zhang | 073cb49 | 2023-08-01 01:51:03 +0000 | [diff] [blame] | 187 | 'zlib_revision': '526382e41c9c5275dc329db4328b54e4f344a204', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 188 | } |
| 189 | |
Lei Zhang | 5e0f14e | 2021-11-30 22:51:28 +0000 | [diff] [blame] | 190 | # Only these hosts are allowed for dependencies in this DEPS file. |
| 191 | # If you need to add a new host, and the new host is not in Chromium's DEPS |
| 192 | # file's allowed_hosts list, contact Chrome infrastructure team. |
| 193 | allowed_hosts = [ |
| 194 | 'chromium.googlesource.com', |
| 195 | 'pdfium.googlesource.com', |
| 196 | 'skia.googlesource.com', |
| 197 | ] |
| 198 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 199 | deps = { |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 200 | 'base/allocator/partition_allocator': |
| 201 | Var('chromium_git') + |
| 202 | '/chromium/src/base/allocator/partition_allocator.git@' + |
| 203 | Var('partition_allocator_revision'), |
| 204 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 205 | 'base/trace_event/common': |
| 206 | Var('chromium_git') + '/chromium/src/base/trace_event/common.git@' + |
thestig | 5fec597 | 2016-08-30 06:39:40 -0700 | [diff] [blame] | 207 | Var('trace_event_revision'), |
| 208 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 209 | 'build': |
| 210 | Var('chromium_git') + '/chromium/src/build.git@' + Var('build_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 211 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 212 | 'buildtools': |
| 213 | Var('chromium_git') + '/chromium/src/buildtools.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 214 | Var('buildtools_revision'), |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 215 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 216 | 'buildtools/clang_format/script': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 217 | Var('chromium_git') + |
| 218 | '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' + |
| 219 | Var('clang_format_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 220 | |
| 221 | 'buildtools/linux64': { |
| 222 | 'packages': [ |
| 223 | { |
| 224 | 'package': 'gn/gn/linux-amd64', |
| 225 | 'version': Var('gn_version'), |
| 226 | } |
| 227 | ], |
| 228 | 'dep_type': 'cipd', |
| 229 | 'condition': 'host_os == "linux"', |
| 230 | }, |
| 231 | |
| 232 | 'buildtools/mac': { |
| 233 | 'packages': [ |
| 234 | { |
| 235 | 'package': 'gn/gn/mac-${{arch}}', |
| 236 | 'version': Var('gn_version'), |
| 237 | } |
| 238 | ], |
| 239 | 'dep_type': 'cipd', |
| 240 | 'condition': 'host_os == "mac"', |
| 241 | }, |
| 242 | |
Lei Zhang | e293c09 | 2023-07-06 21:55:51 +0000 | [diff] [blame] | 243 | 'buildtools/reclient': { |
| 244 | 'packages': [ |
| 245 | { |
| 246 | 'package': Var('reclient_package') + '${{platform}}', |
| 247 | 'version': Var('reclient_version'), |
| 248 | } |
| 249 | ], |
| 250 | 'dep_type': 'cipd', |
| 251 | }, |
| 252 | |
Joanna Wang | c183fcf | 2023-07-21 21:30:10 +0000 | [diff] [blame] | 253 | # TODO(chromium:1458042): Remove these paths, when chromium builds files |
Joanna Wang | c1bd7b5 | 2023-08-02 18:42:17 +0000 | [diff] [blame] | 254 | # have moved to third_party/lib*/src paths. |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 255 | 'buildtools/third_party/libc++/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 256 | Var('chromium_git') + |
| 257 | '/external/github.com/llvm/llvm-project/libcxx.git@' + |
| 258 | Var('libcxx_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 259 | |
| 260 | 'buildtools/third_party/libc++abi/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 261 | Var('chromium_git') + |
| 262 | '/external/github.com/llvm/llvm-project/libcxxabi.git@' + |
| 263 | Var('libcxxabi_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 264 | |
| 265 | 'buildtools/third_party/libunwind/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 266 | Var('chromium_git') + |
| 267 | '/external/github.com/llvm/llvm-project/libunwind.git@' + |
| 268 | Var('libunwind_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 269 | |
| 270 | 'buildtools/win': { |
| 271 | 'packages': [ |
| 272 | { |
| 273 | 'package': 'gn/gn/windows-amd64', |
| 274 | 'version': Var('gn_version'), |
| 275 | } |
| 276 | ], |
| 277 | 'dep_type': 'cipd', |
| 278 | 'condition': 'host_os == "win"', |
| 279 | }, |
| 280 | |
Lei Zhang | b153655 | 2022-07-12 20:59:06 +0000 | [diff] [blame] | 281 | 'testing/corpus': { |
| 282 | 'url': Var('pdfium_git') + '/pdfium_tests@' + Var('pdfium_tests_revision'), |
| 283 | 'condition': 'checkout_testing_corpus', |
| 284 | }, |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 285 | |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 286 | 'third_party/abseil-cpp': |
| 287 | Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git@' + |
| 288 | Var('abseil_revision'), |
| 289 | |
K. Moon | 270f8d4 | 2023-07-06 00:16:55 +0000 | [diff] [blame] | 290 | 'third_party/android_toolchain': { |
| 291 | 'packages': [ |
| 292 | { |
| 293 | 'package': 'chromium/third_party/android_toolchain/android_toolchain', |
| 294 | 'version': Var('android_toolchain_version'), |
| 295 | }, |
| 296 | ], |
| 297 | 'condition': 'checkout_android_native_support', |
| 298 | 'dep_type': 'cipd', |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 299 | }, |
| 300 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 301 | 'third_party/catapult': { |
| 302 | 'url': Var('chromium_git') + '/catapult.git@' + Var('catapult_revision'), |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 303 | 'condition': 'checkout_android', |
| 304 | }, |
| 305 | |
Hui Yingst | 9dc67f0 | 2023-06-01 23:02:35 +0000 | [diff] [blame] | 306 | 'third_party/cpu_features/src': { |
| 307 | 'url': Var('chromium_git') + |
| 308 | '/external/github.com/google/cpu_features.git@' + |
| 309 | Var('cpu_features_revision'), |
| 310 | 'condition': 'checkout_android', |
| 311 | }, |
| 312 | |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 313 | 'third_party/depot_tools': |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 314 | Var('chromium_git') + '/chromium/tools/depot_tools.git@' + |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 315 | Var('depot_tools_revision'), |
| 316 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 317 | 'third_party/freetype/src': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 318 | Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' + |
| 319 | Var('freetype_revision'), |
| 320 | |
Chong Gu | 411f207 | 2023-06-28 22:01:35 +0000 | [diff] [blame] | 321 | 'third_party/fuchsia-gn-sdk': { |
| 322 | 'url': Var('chromium_git') + |
| 323 | '/chromium/src/third_party/fuchsia-gn-sdk.git@' + |
| 324 | Var('fuchsia_gn_sdk_revision'), |
| 325 | 'condition': 'checkout_fuchsia', |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 326 | }, |
| 327 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 328 | 'third_party/googletest/src': |
| 329 | Var('chromium_git') + '/external/github.com/google/googletest.git@' + |
Lei Zhang | c551427 | 2018-03-22 05:19:14 +0000 | [diff] [blame] | 330 | Var('gtest_revision'), |
| 331 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 332 | 'third_party/icu': |
| 333 | Var('chromium_git') + '/chromium/deps/icu.git@' + Var('icu_revision'), |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 334 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 335 | 'third_party/instrumented_libraries': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 336 | Var('chromium_git') + |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 337 | '/chromium/src/third_party/instrumented_libraries.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 338 | Var('instrumented_lib_revision'), |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 339 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 340 | 'third_party/jinja2': |
| 341 | Var('chromium_git') + '/chromium/src/third_party/jinja2.git@' + |
Dale Curtis | c758d9d | 2017-04-06 14:10:09 -0700 | [diff] [blame] | 342 | Var('jinja2_revision'), |
| 343 | |
Joanna Wang | c1bd7b5 | 2023-08-02 18:42:17 +0000 | [diff] [blame] | 344 | 'third_party/libc++/src': |
Joanna Wang | c183fcf | 2023-07-21 21:30:10 +0000 | [diff] [blame] | 345 | Var('chromium_git') + |
| 346 | '/external/github.com/llvm/llvm-project/libcxx.git@' + |
| 347 | Var('libcxx_revision'), |
| 348 | |
Joanna Wang | c1bd7b5 | 2023-08-02 18:42:17 +0000 | [diff] [blame] | 349 | 'third_party/libc++abi/src': |
Joanna Wang | c183fcf | 2023-07-21 21:30:10 +0000 | [diff] [blame] | 350 | Var('chromium_git') + |
| 351 | '/external/github.com/llvm/llvm-project/libcxxabi.git@' + |
| 352 | Var('libcxxabi_revision'), |
| 353 | |
Joanna Wang | c1bd7b5 | 2023-08-02 18:42:17 +0000 | [diff] [blame] | 354 | 'third_party/libunwind/src': |
Joanna Wang | c183fcf | 2023-07-21 21:30:10 +0000 | [diff] [blame] | 355 | Var('chromium_git') + |
| 356 | '/external/github.com/llvm/llvm-project/libunwind.git@' + |
| 357 | Var('libunwind_revision'), |
| 358 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 359 | 'third_party/libjpeg_turbo': |
| 360 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git@' + |
Lei Zhang | 0e5d892 | 2017-04-06 21:43:50 -0700 | [diff] [blame] | 361 | Var('jpeg_turbo_revision'), |
| 362 | |
K. Moon | efd00c2 | 2022-11-15 23:02:57 +0000 | [diff] [blame] | 363 | 'third_party/libpng': |
| 364 | Var('chromium_git') + '/chromium/src/third_party/libpng.git@' + |
| 365 | Var('libpng_revision'), |
| 366 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 367 | 'third_party/markupsafe': |
| 368 | Var('chromium_git') + '/chromium/src/third_party/markupsafe.git@' + |
| 369 | Var('markupsafe_revision'), |
| 370 | |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 371 | 'third_party/nasm': |
| 372 | Var('chromium_git') + '/chromium/deps/nasm.git@' + |
| 373 | Var('nasm_source_revision'), |
| 374 | |
Junji Watanabe | a067234 | 2022-11-14 19:51:59 +0000 | [diff] [blame] | 375 | 'third_party/ninja': { |
| 376 | 'packages': [ |
| 377 | { |
| 378 | # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja |
| 379 | 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 380 | 'version': Var('ninja_version'), |
| 381 | } |
| 382 | ], |
| 383 | 'dep_type': 'cipd', |
| 384 | }, |
| 385 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 386 | 'third_party/skia': { |
| 387 | 'url': Var('skia_git') + '/skia.git@' + Var('skia_revision'), |
| 388 | 'condition': 'checkout_skia', |
| 389 | }, |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 390 | |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 391 | 'third_party/test_fonts': |
| 392 | Var('chromium_git') + '/chromium/src/third_party/test_fonts.git@' + |
| 393 | Var('test_fonts_revision'), |
| 394 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 395 | 'third_party/zlib': |
| 396 | Var('chromium_git') + '/chromium/src/third_party/zlib.git@' + |
Lei Zhang | a2af7de | 2017-03-31 13:33:12 -0700 | [diff] [blame] | 397 | Var('zlib_revision'), |
| 398 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 399 | 'tools/clang': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 400 | Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision'), |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 401 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 402 | 'tools/code_coverage': |
| 403 | Var('chromium_git') + '/chromium/src/tools/code_coverage.git@' + |
Ryan Harrison | a7b65b8 | 2018-05-30 19:56:11 +0000 | [diff] [blame] | 404 | Var('code_coverage_revision'), |
| 405 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 406 | 'tools/memory': |
| 407 | Var('chromium_git') + '/chromium/src/tools/memory@' + |
dsinclair | fb96900 | 2016-05-31 12:55:32 -0700 | [diff] [blame] | 408 | Var('tools_memory_revision'), |
| 409 | |
K. Moon | 643278d | 2022-10-06 20:41:42 +0000 | [diff] [blame] | 410 | 'tools/resultdb': { |
| 411 | 'packages': [ |
| 412 | { |
| 413 | 'package': 'infra/tools/result_adapter/${{platform}}', |
| 414 | 'version': Var('resultdb_version'), |
| 415 | }, |
| 416 | ], |
| 417 | 'dep_type': 'cipd', |
| 418 | }, |
| 419 | |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 420 | # TODO(crbug.com/pdfium/1650): Set up autorollers for goldctl. |
| 421 | 'tools/skia_goldctl/linux': { |
| 422 | 'packages': [ |
| 423 | { |
| 424 | 'package': 'skia/tools/goldctl/linux-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 425 | 'version': 'eZ3k373CYgRxlu4JKph6e-_7xkP02swy_jePFFMiyIQC', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 426 | } |
| 427 | ], |
| 428 | 'dep_type': 'cipd', |
| 429 | 'condition': 'checkout_linux', |
| 430 | }, |
| 431 | |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 432 | 'tools/skia_goldctl/mac_amd64': { |
| 433 | 'packages': [ |
| 434 | { |
| 435 | 'package': 'skia/tools/goldctl/mac-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 436 | 'version': 'nHUjLIViYsLxRjv-zDdmzqT8p1R3VoyHq5gdGkKeMYwC', |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 437 | } |
| 438 | ], |
| 439 | 'dep_type': 'cipd', |
| 440 | 'condition': 'checkout_mac', |
| 441 | }, |
| 442 | |
| 443 | 'tools/skia_goldctl/mac_arm64': { |
| 444 | 'packages': [ |
| 445 | { |
| 446 | 'package': 'skia/tools/goldctl/mac-arm64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 447 | 'version': '-mc865SGfJAqreLZM6fkn8tgCJ7u5QLk5zm7r-ZRJ9gC', |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 448 | } |
| 449 | ], |
| 450 | 'dep_type': 'cipd', |
| 451 | 'condition': 'checkout_mac', |
| 452 | }, |
| 453 | |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 454 | 'tools/skia_goldctl/win': { |
| 455 | 'packages': [ |
| 456 | { |
| 457 | 'package': 'skia/tools/goldctl/windows-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 458 | 'version': 'iEqqRADI7znrc6pG-MVnc5pBZwD25koILREPC6x2AFAC', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 459 | } |
| 460 | ], |
| 461 | 'dep_type': 'cipd', |
| 462 | 'condition': 'checkout_win', |
| 463 | }, |
| 464 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 465 | 'v8': { |
| 466 | 'url': Var('chromium_git') + '/v8/v8.git@' + Var('v8_revision'), |
| 467 | 'condition': 'checkout_v8', |
| 468 | }, |
| 469 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 470 | } |
| 471 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 472 | recursedeps = [] |
thestig | 3873f30 | 2016-09-28 17:39:26 -0700 | [diff] [blame] | 473 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 474 | include_rules = [ |
Lei Zhang | 8fec3e4 | 2015-11-04 15:32:02 -0800 | [diff] [blame] | 475 | # Basic stuff that everyone can use. |
| 476 | # Note: public is not here because core cannot depend on public. |
Lei Zhang | f79e15b | 2019-03-19 23:15:50 +0000 | [diff] [blame] | 477 | '+build/build_config.h', |
Lei Zhang | 2617056 | 2018-04-17 17:01:52 +0000 | [diff] [blame] | 478 | '+constants', |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 479 | '+testing', |
| 480 | '+third_party/base', |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 481 | |
| 482 | # Abseil features must be allowlisted explicitly for now. See Chromium's |
| 483 | # //styleguide/c++/c++11.html. Allowed features' headers will be listed |
| 484 | # explicitly here. |
| 485 | '-absl', |
| 486 | '-third_party/abseil-cpp', |
| 487 | '+third_party/abseil-cpp/absl/types/optional.h', |
| 488 | '+third_party/abseil-cpp/absl/types/variant.h', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 489 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 490 | |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 491 | specific_include_rules = { |
| 492 | # Allow embedder tests to use public APIs. |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 493 | '(.*embeddertest\.cpp)': [ |
| 494 | '+public', |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 495 | ] |
| 496 | } |
| 497 | |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 498 | hooks = [ |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 499 | { |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 500 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 501 | # disabled. |
| 502 | 'name': 'disable_depot_tools_selfupdate', |
| 503 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 504 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 505 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 506 | '--disable', |
| 507 | ], |
| 508 | }, |
| 509 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 510 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 511 | 'name': 'ciopfs_linux', |
| 512 | 'pattern': '.', |
| 513 | 'condition': 'checkout_win and host_os == "linux"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 514 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 515 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 516 | '--no_resume', |
| 517 | '--no_auth', |
| 518 | '--bucket', 'chromium-browser-clang/ciopfs', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 519 | '-s', 'build/ciopfs.sha1', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 520 | ] |
| 521 | }, |
| 522 | { |
| 523 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 524 | 'name': 'win_toolchain', |
| 525 | 'pattern': '.', |
| 526 | 'condition': 'checkout_win', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 527 | 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 528 | }, |
| 529 | { |
| 530 | # Update the Mac toolchain if necessary. |
| 531 | 'name': 'mac_toolchain', |
| 532 | 'pattern': '.', |
Lei Zhang | 791eaff | 2020-07-28 19:44:41 +0000 | [diff] [blame] | 533 | 'condition': 'checkout_mac', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 534 | 'action': ['python3', 'build/mac_toolchain.py'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 535 | }, |
Lei Zhang | 9612285 | 2022-05-04 00:43:55 +0000 | [diff] [blame] | 536 | # Pull dsymutil binaries using checked-in hashes. |
| 537 | { |
| 538 | 'name': 'dsymutil_mac_arm64', |
| 539 | 'pattern': '.', |
| 540 | 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| 541 | 'action': [ 'python3', |
| 542 | 'third_party/depot_tools/download_from_google_storage.py', |
| 543 | '--no_resume', |
| 544 | '--no_auth', |
| 545 | '--bucket', 'chromium-browser-clang', |
| 546 | '-s', 'tools/clang/dsymutil/bin/dsymutil.arm64.sha1', |
| 547 | '-o', 'tools/clang/dsymutil/bin/dsymutil', |
| 548 | ], |
| 549 | }, |
| 550 | { |
| 551 | 'name': 'dsymutil_mac_x64', |
| 552 | 'pattern': '.', |
| 553 | 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| 554 | 'action': [ 'python3', |
| 555 | 'third_party/depot_tools/download_from_google_storage.py', |
| 556 | '--no_resume', |
| 557 | '--no_auth', |
| 558 | '--bucket', 'chromium-browser-clang', |
| 559 | '-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1', |
| 560 | '-o', 'tools/clang/dsymutil/bin/dsymutil', |
| 561 | ], |
| 562 | }, |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 563 | # Pull clang-format binaries using checked-in hashes. |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 564 | { |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 565 | 'name': 'clang_format_win', |
| 566 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 567 | 'condition': 'host_os == "win"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 568 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 569 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 570 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 571 | '--no_auth', |
| 572 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 573 | '-s', 'buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 574 | ], |
| 575 | }, |
| 576 | { |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 577 | 'name': 'clang_format_mac_x64', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 578 | 'pattern': '.', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 579 | 'condition': 'host_os == "mac" and host_cpu == "x64"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 580 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 581 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 582 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 583 | '--no_auth', |
| 584 | '--bucket', 'chromium-clang-format', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 585 | '-s', 'buildtools/mac/clang-format.x64.sha1', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 586 | '-o', 'buildtools/mac/clang-format', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 587 | ], |
| 588 | }, |
| 589 | { |
| 590 | 'name': 'clang_format_mac_arm64', |
| 591 | 'pattern': '.', |
| 592 | 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| 593 | 'action': [ 'python3', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 594 | 'third_party/depot_tools/download_from_google_storage.py', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 595 | '--no_resume', |
| 596 | '--no_auth', |
| 597 | '--bucket', 'chromium-clang-format', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 598 | '-s', 'buildtools/mac/clang-format.arm64.sha1', |
| 599 | '-o', 'buildtools/mac/clang-format', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 600 | ], |
| 601 | }, |
| 602 | { |
| 603 | 'name': 'clang_format_linux', |
| 604 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 605 | 'condition': 'host_os == "linux"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 606 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 607 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 608 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 609 | '--no_auth', |
| 610 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 611 | '-s', 'buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 612 | ], |
| 613 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 614 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 615 | # Note: On Win, this should run after win_toolchain, as it may use it. |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 616 | 'name': 'clang', |
| 617 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 618 | 'action': ['python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 619 | 'tools/clang/scripts/update.py' |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 620 | ], |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 621 | }, |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 622 | { |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 623 | 'name': 'sysroot_arm', |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 624 | 'pattern': '.', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 625 | 'condition': 'checkout_linux and checkout_arm', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 626 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 627 | '--arch=arm'], |
| 628 | }, |
| 629 | { |
| 630 | 'name': 'sysroot_arm64', |
| 631 | 'pattern': '.', |
| 632 | 'condition': 'checkout_linux and checkout_arm64', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 633 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 634 | '--arch=arm64'], |
| 635 | }, |
| 636 | { |
| 637 | 'name': 'sysroot_x86', |
| 638 | 'pattern': '.', |
| 639 | 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 640 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 641 | '--arch=x86'], |
| 642 | }, |
| 643 | { |
| 644 | 'name': 'sysroot_mips', |
| 645 | 'pattern': '.', |
| 646 | 'condition': 'checkout_linux and checkout_mips', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 647 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 648 | '--arch=mips'], |
| 649 | }, |
| 650 | { |
| 651 | 'name': 'sysroot_x64', |
| 652 | 'pattern': '.', |
| 653 | 'condition': 'checkout_linux and checkout_x64', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 654 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 655 | '--arch=x64'], |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 656 | }, |
| 657 | { |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 658 | 'name': 'test_fonts', |
| 659 | 'pattern': '.', |
| 660 | 'action': [ 'python3', |
| 661 | 'third_party/depot_tools/download_from_google_storage.py', |
| 662 | '--no_resume', |
| 663 | '--extract', |
| 664 | '--no_auth', |
| 665 | '--bucket', 'chromium-fonts', |
| 666 | '-s', 'third_party/test_fonts/test_fonts.tar.gz.sha1', |
| 667 | ], |
| 668 | }, |
| 669 | { |
Lei Zhang | f5057c7 | 2023-03-17 15:58:46 +0000 | [diff] [blame] | 670 | 'name': 'msan_chained_origins_focal', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 671 | 'pattern': '.', |
| 672 | 'condition': 'checkout_instrumented_libraries', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 673 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 674 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 675 | '--no_resume', |
| 676 | '--no_auth', |
| 677 | '--bucket', 'chromium-instrumented-libraries', |
Lei Zhang | f5057c7 | 2023-03-17 15:58:46 +0000 | [diff] [blame] | 678 | '-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins-focal.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 679 | ], |
| 680 | }, |
| 681 | { |
Lei Zhang | f5057c7 | 2023-03-17 15:58:46 +0000 | [diff] [blame] | 682 | 'name': 'msan_no_origins_focal', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 683 | 'pattern': '.', |
| 684 | 'condition': 'checkout_instrumented_libraries', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 685 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 686 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 687 | '--no_resume', |
| 688 | '--no_auth', |
| 689 | '--bucket', 'chromium-instrumented-libraries', |
Lei Zhang | f5057c7 | 2023-03-17 15:58:46 +0000 | [diff] [blame] | 690 | '-s', 'third_party/instrumented_libraries/binaries/msan-no-origins-focal.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 691 | ], |
Tom Anderson | 4e8edf5 | 2017-03-30 18:27:21 -0700 | [diff] [blame] | 692 | }, |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 693 | { |
| 694 | # Update LASTCHANGE. |
| 695 | 'name': 'lastchange', |
| 696 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 697 | 'action': ['python3', 'build/util/lastchange.py', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 698 | '-o', 'build/util/LASTCHANGE'], |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 699 | }, |
Chong Gu | 411f207 | 2023-06-28 22:01:35 +0000 | [diff] [blame] | 700 | { |
| 701 | 'name': 'Download Fuchsia SDK from GCS', |
| 702 | 'pattern': '.', |
| 703 | 'condition': 'checkout_fuchsia', |
| 704 | 'action': [ |
| 705 | 'python3', |
| 706 | 'build/fuchsia/update_sdk.py', |
| 707 | '--cipd-prefix={fuchsia_sdk_cipd_prefix}', |
| 708 | '--version={fuchsia_version}', |
| 709 | ], |
| 710 | }, |
Lei Zhang | e293c09 | 2023-07-06 21:55:51 +0000 | [diff] [blame] | 711 | # Download remote exec cfg files |
| 712 | { |
| 713 | 'name': 'fetch_reclient_cfgs', |
| 714 | 'pattern': '.', |
| 715 | 'condition': 'download_remoteexec_cfg', |
| 716 | 'action': ['python3', |
| 717 | 'buildtools/reclient_cfgs/fetch_reclient_cfgs.py', |
| 718 | '--rbe_instance', |
| 719 | Var('rbe_instance'), |
| 720 | '--reproxy_cfg_template', |
| 721 | 'reproxy.cfg.template', |
| 722 | '--rewrapper_cfg_project', |
| 723 | Var('rewrapper_cfg_project'), |
| 724 | '--quiet', |
| 725 | '--hook', |
| 726 | ], |
| 727 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 728 | ] |