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. |
Lei Zhang | b988054 | 2022-05-05 01:14:12 +0000 | [diff] [blame] | 28 | 'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/gn/', |
Lei Zhang | b714e7c | 2022-02-28 22:48:44 +0000 | [diff] [blame] | 29 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 30 | 'chromium_git': 'https://chromium.googlesource.com', |
| 31 | 'pdfium_git': 'https://pdfium.googlesource.com', |
Lei Zhang | 7b9fe87 | 2021-11-30 21:45:18 +0000 | [diff] [blame] | 32 | 'skia_git': 'https://skia.googlesource.com', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 33 | |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 34 | # Three lines of non-changing comments so that |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 35 | # the commit queue can handle CLs rolling abseil |
| 36 | # and whatever else without interference from each other. |
Lei Zhang | 8df158b | 2022-11-04 23:17:27 +0000 | [diff] [blame] | 37 | 'abseil_revision': '384efd2e85fae94657ff13c05fab21f6b44c3098', |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 38 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 39 | # the commit queue can handle CLs rolling android_ndk |
| 40 | # and whatever else without interference from each other. |
Hui Yingst | e4155bd | 2022-05-03 17:36:10 +0000 | [diff] [blame] | 41 | 'android_ndk_revision': '8388a2be5421311dc75c5f937aae13d821a27f3d', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 42 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 43 | # the commit queue can handle CLs rolling build |
| 44 | # and whatever else without interference from each other. |
Lei Zhang | a85fe54 | 2022-11-04 23:09:30 +0000 | [diff] [blame] | 45 | 'build_revision': '53351eb1617f0292f73c90a7aa7fd052a50f5f2b', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 46 | # Three lines of non-changing comments so that |
| 47 | # the commit queue can handle CLs rolling buildtools |
| 48 | # and whatever else without interference from each other. |
K. Moon | 79a701c | 2022-09-30 23:35:43 +0000 | [diff] [blame] | 49 | 'buildtools_revision': 'cccaf48c82bcf4ddafa6f8aa9f06014a1ef434bf', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 50 | # Three lines of non-changing comments so that |
| 51 | # the commit queue can handle CLs rolling catapult |
| 52 | # and whatever else without interference from each other. |
pdfium-autoroll | 8e29731 | 2022-11-28 05:06:50 +0000 | [diff] [blame] | 53 | 'catapult_revision': '07489847d9adb4d5fb5ab9348f1044acd96e523a', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 54 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 55 | # the commit queue can handle CLs rolling clang format |
| 56 | # and whatever else without interference from each other. |
Lei Zhang | c5807c5 | 2022-07-07 18:29:25 +0000 | [diff] [blame] | 57 | 'clang_format_revision': '8b525d2747f2584fc35d8c7e612e66f377858df7', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 58 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 59 | # the commit queue can handle CLs rolling clang |
| 60 | # and whatever else without interference from each other. |
Lei Zhang | 59445b0 | 2022-10-27 18:59:12 +0000 | [diff] [blame] | 61 | 'clang_revision': '38497dbb27b2589593a60a7370024d68e17c0a43', |
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 code_coverage |
| 64 | # and whatever else without interference from each other. |
pdfium-autoroll | 9cab1a6 | 2022-10-31 05:09:48 +0000 | [diff] [blame] | 65 | 'code_coverage_revision': '5afe9c957e7911df1dfe8a457d7ef9e3723af699', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 66 | # Three lines of non-changing comments so that |
| 67 | # the commit queue can handle CLs rolling depot_tools |
| 68 | # and whatever else without interference from each other. |
Lei Zhang | f84a8a5 | 2022-10-28 19:08:56 +0000 | [diff] [blame] | 69 | 'depot_tools_revision': '6f2321d1de694d4ca56784ba8b5634f9ca74b3a6', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 70 | # Three lines of non-changing comments so that |
| 71 | # the commit queue can handle CLs rolling freetype |
| 72 | # and whatever else without interference from each other. |
Lei Zhang | 247aff6 | 2022-11-15 06:41:40 +0000 | [diff] [blame] | 73 | 'freetype_revision': '63ccaef07a048db66e7ac66ee241fb3d7751736f', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 74 | # Three lines of non-changing comments so that |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 75 | # the commit queue can handle CLs rolling Fuchsia sdk |
| 76 | # and whatever else without interference from each other. |
Lei Zhang | 8dda52c | 2022-10-28 19:07:18 +0000 | [diff] [blame] | 77 | 'fuchsia_version': 'version:10.20221027.2.1', |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 78 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 79 | # the commit queue can handle CLs rolling GN CIPD package version |
| 80 | # and whatever else without interference from each other. |
Lei Zhang | ab6c904 | 2022-10-31 17:43:07 +0000 | [diff] [blame] | 81 | 'gn_version': 'git_revision:11dc0b1f438bd26380774e9d50fd4c63f346d41a', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 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 gtest |
| 84 | # and whatever else without interference from each other. |
Alan Screen | f8f29a8 | 2022-04-14 01:36:21 +0000 | [diff] [blame] | 85 | 'gtest_revision': 'af29db7ec28d6df1c7f0f745186884091e602e07', |
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 icu |
| 88 | # and whatever else without interference from each other. |
Lei Zhang | 1bc33bb | 2022-11-19 03:24:50 +0000 | [diff] [blame] | 89 | 'icu_revision': '1b7d391f0528fb3a4976b7541b387ee04f915f83', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 90 | # Three lines of non-changing comments so that |
| 91 | # the commit queue can handle CLs rolling instrumented_lib |
| 92 | # and whatever else without interference from each other. |
pdfium-autoroll | 3d4231c | 2022-11-07 06:04:39 +0000 | [diff] [blame] | 93 | 'instrumented_lib_revision': 'a8992bf8abb391dde73031d60a80147ebf6b4ee8', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 94 | # Three lines of non-changing comments so that |
| 95 | # the commit queue can handle CLs rolling jinja2 |
| 96 | # and whatever else without interference from each other. |
pdfium-autoroll | be6fac6 | 2022-10-31 05:09:42 +0000 | [diff] [blame] | 97 | 'jinja2_revision': '4633bf431193690c3491244f5a0acbe9ac776233', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 98 | # Three lines of non-changing comments so that |
| 99 | # the commit queue can handle CLs rolling jpeg_turbo |
| 100 | # and whatever else without interference from each other. |
K. Moon | 73c5b8d | 2022-09-30 21:09:36 +0000 | [diff] [blame] | 101 | 'jpeg_turbo_revision': 'ed683925e4897a84b3bffc5c1414c85b97a129a3', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 102 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 103 | # the commit queue can handle CLs rolling libc++ |
| 104 | # and whatever else without interference from each other. |
| 105 | # If you change this, also update the libc++ revision in |
| 106 | # //buildtools/deps_revisions.gni. |
K. Moon | 79a701c | 2022-09-30 23:35:43 +0000 | [diff] [blame] | 107 | 'libcxx_revision': '5ee02b299379896f90faa88f576be98c61156f26', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 108 | # Three lines of non-changing comments so that |
| 109 | # the commit queue can handle CLs rolling libc++abi |
| 110 | # and whatever else without interference from each other. |
Lei Zhang | 7d89cb0 | 2022-11-01 16:44:47 +0000 | [diff] [blame] | 111 | 'libcxxabi_revision': '8dd405113a4f3694e910b79785dd7fb7535a888a', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 112 | # Three lines of non-changing comments so that |
K. Moon | efd00c2 | 2022-11-15 23:02:57 +0000 | [diff] [blame] | 113 | # the commit queue can handle CLs rolling libpng |
| 114 | # and whatever else without interference from each other. |
| 115 | 'libpng_revision': 'e541f033515bee926ea3ddc16f67be2188b12c3f', |
| 116 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 117 | # the commit queue can handle CLs rolling libunwind |
| 118 | # and whatever else without interference from each other. |
Lei Zhang | b3cb989 | 2022-11-01 16:45:09 +0000 | [diff] [blame] | 119 | 'libunwind_revision': 'aabcd8753678f1536e15eb6385a948470debdae4', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 120 | # Three lines of non-changing comments so that |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 121 | # the commit queue can handle CLs rolling lss |
| 122 | # and whatever else without interference from each other. |
Lei Zhang | 5e80771 | 2022-09-30 15:38:46 +0000 | [diff] [blame] | 123 | 'lss_revision': 'ce877209e11aa69dcfffbd53ef90ea1d07136521', |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 124 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 125 | # the commit queue can handle CLs rolling markupsafe |
| 126 | # and whatever else without interference from each other. |
pdfium-autoroll | 59f2670 | 2022-10-31 05:12:20 +0000 | [diff] [blame] | 127 | 'markupsafe_revision': '13f4e8c9e206567eeb13bf585406ddc574005748', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 128 | # Three lines of non-changing comments so that |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 129 | # the commit queue can handle CLs rolling nasm_source |
| 130 | # and whatever else without interference from each other. |
Lei Zhang | bdbf623 | 2022-10-29 16:00:45 +0000 | [diff] [blame] | 131 | 'nasm_source_revision': 'fc8e0bd892ae133602f5a6f7a9a6840aa1b75989', |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 132 | # Three lines of non-changing comments so that |
Junji Watanabe | a067234 | 2022-11-14 19:51:59 +0000 | [diff] [blame] | 133 | # the commit queue can handle CLs rolling Ninja CIPD package version |
| 134 | # and whatever else without interference from each other. |
| 135 | 'ninja_version': 'version:2@1.8.2.chromium.3', |
| 136 | # Three lines of non-changing comments so that |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 137 | # the commit queue can handle CLs rolling partition_allocator |
| 138 | # and whatever else without interference from each other. |
Lei Zhang | cc53629 | 2022-11-15 00:03:49 +0000 | [diff] [blame] | 139 | 'partition_allocator_revision': '9f2740129bdc41a0c4f7ad08d617ba2c642a73a1', |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +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 pdfium_tests |
| 142 | # and whatever else without interference from each other. |
Hui Yingst | 05eaf8b | 2022-11-16 02:31:17 +0000 | [diff] [blame] | 143 | 'pdfium_tests_revision': '9b4c6d97414d3d90bcafc40ab5d73a410eb04bd4', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 144 | # Three lines of non-changing comments so that |
K. Moon | 643278d | 2022-10-06 20:41:42 +0000 | [diff] [blame] | 145 | # the commit queue can handle CLs rolling resultdb |
| 146 | # and whatever else without interference from each other. |
| 147 | 'resultdb_version': 'git_revision:6cc18e2763e180929d70c786b419c1f8e6bcc66c', |
| 148 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 149 | # the commit queue can handle CLs rolling skia |
| 150 | # and whatever else without interference from each other. |
Lei Zhang | 7ae9c06 | 2022-10-24 19:39:36 +0000 | [diff] [blame] | 151 | 'skia_revision': '64882739150a15844ba905a5df64f5f8c55682b5', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 152 | # Three lines of non-changing comments so that |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 153 | # the commit queue can handle CLs rolling test_fonts |
| 154 | # and whatever else without interference from each other. |
| 155 | 'test_fonts_revision': '7f51783942943e965cd56facf786544ccfc07713', |
| 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 tools_memory |
| 158 | # and whatever else without interference from each other. |
Lei Zhang | fb3d15e | 2022-11-01 16:45:37 +0000 | [diff] [blame] | 159 | 'tools_memory_revision': '8581381d92045707a699f1fc14525cac75a802e0', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 160 | # Three lines of non-changing comments so that |
| 161 | # the commit queue can handle CLs rolling trace_event |
| 162 | # and whatever else without interference from each other. |
K. Moon | 1c35dd5 | 2022-09-30 21:05:16 +0000 | [diff] [blame] | 163 | 'trace_event_revision': '521ac34ebd795939c7e16b37d9d3ddb40e8ed556', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 164 | # Three lines of non-changing comments so that |
| 165 | # the commit queue can handle CLs rolling v8 |
| 166 | # and whatever else without interference from each other. |
Lei Zhang | 4705e8b | 2022-11-19 03:08:17 +0000 | [diff] [blame] | 167 | 'v8_revision': '43396790e735ab38df59610033dd3a172127ce4d', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 168 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 169 | # the commit queue can handle CLs rolling zlib |
| 170 | # and whatever else without interference from each other. |
Lei Zhang | dab8917 | 2022-10-27 19:50:48 +0000 | [diff] [blame] | 171 | 'zlib_revision': 'cff720848d7ddad191354f153f7acbb43af09b74', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 172 | } |
| 173 | |
Lei Zhang | 5e0f14e | 2021-11-30 22:51:28 +0000 | [diff] [blame] | 174 | # Only these hosts are allowed for dependencies in this DEPS file. |
| 175 | # If you need to add a new host, and the new host is not in Chromium's DEPS |
| 176 | # file's allowed_hosts list, contact Chrome infrastructure team. |
| 177 | allowed_hosts = [ |
| 178 | 'chromium.googlesource.com', |
| 179 | 'pdfium.googlesource.com', |
| 180 | 'skia.googlesource.com', |
| 181 | ] |
| 182 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 183 | deps = { |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 184 | 'base/allocator/partition_allocator': |
| 185 | Var('chromium_git') + |
| 186 | '/chromium/src/base/allocator/partition_allocator.git@' + |
| 187 | Var('partition_allocator_revision'), |
| 188 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 189 | 'base/trace_event/common': |
| 190 | Var('chromium_git') + '/chromium/src/base/trace_event/common.git@' + |
thestig | 5fec597 | 2016-08-30 06:39:40 -0700 | [diff] [blame] | 191 | Var('trace_event_revision'), |
| 192 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 193 | 'build': |
| 194 | Var('chromium_git') + '/chromium/src/build.git@' + Var('build_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 195 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 196 | 'buildtools': |
| 197 | Var('chromium_git') + '/chromium/src/buildtools.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 198 | Var('buildtools_revision'), |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 199 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 200 | 'buildtools/clang_format/script': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 201 | Var('chromium_git') + |
| 202 | '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' + |
| 203 | Var('clang_format_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 204 | |
| 205 | 'buildtools/linux64': { |
| 206 | 'packages': [ |
| 207 | { |
| 208 | 'package': 'gn/gn/linux-amd64', |
| 209 | 'version': Var('gn_version'), |
| 210 | } |
| 211 | ], |
| 212 | 'dep_type': 'cipd', |
| 213 | 'condition': 'host_os == "linux"', |
| 214 | }, |
| 215 | |
| 216 | 'buildtools/mac': { |
| 217 | 'packages': [ |
| 218 | { |
| 219 | 'package': 'gn/gn/mac-${{arch}}', |
| 220 | 'version': Var('gn_version'), |
| 221 | } |
| 222 | ], |
| 223 | 'dep_type': 'cipd', |
| 224 | 'condition': 'host_os == "mac"', |
| 225 | }, |
| 226 | |
| 227 | 'buildtools/third_party/libc++/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 228 | Var('chromium_git') + |
| 229 | '/external/github.com/llvm/llvm-project/libcxx.git@' + |
| 230 | Var('libcxx_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 231 | |
| 232 | 'buildtools/third_party/libc++abi/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 233 | Var('chromium_git') + |
| 234 | '/external/github.com/llvm/llvm-project/libcxxabi.git@' + |
| 235 | Var('libcxxabi_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 236 | |
| 237 | 'buildtools/third_party/libunwind/trunk': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 238 | Var('chromium_git') + |
| 239 | '/external/github.com/llvm/llvm-project/libunwind.git@' + |
| 240 | Var('libunwind_revision'), |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 241 | |
| 242 | 'buildtools/win': { |
| 243 | 'packages': [ |
| 244 | { |
| 245 | 'package': 'gn/gn/windows-amd64', |
| 246 | 'version': Var('gn_version'), |
| 247 | } |
| 248 | ], |
| 249 | 'dep_type': 'cipd', |
| 250 | 'condition': 'host_os == "win"', |
| 251 | }, |
| 252 | |
Lei Zhang | b153655 | 2022-07-12 20:59:06 +0000 | [diff] [blame] | 253 | 'testing/corpus': { |
| 254 | 'url': Var('pdfium_git') + '/pdfium_tests@' + Var('pdfium_tests_revision'), |
| 255 | 'condition': 'checkout_testing_corpus', |
| 256 | }, |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 257 | |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 258 | 'third_party/abseil-cpp': |
| 259 | Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git@' + |
| 260 | Var('abseil_revision'), |
| 261 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 262 | 'third_party/android_ndk': { |
| 263 | 'url': Var('chromium_git') + '/android_ndk.git@' + |
| 264 | Var('android_ndk_revision'), |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 265 | 'condition': 'checkout_android', |
| 266 | }, |
| 267 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 268 | 'third_party/catapult': { |
| 269 | 'url': Var('chromium_git') + '/catapult.git@' + Var('catapult_revision'), |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 270 | 'condition': 'checkout_android', |
| 271 | }, |
| 272 | |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 273 | 'third_party/depot_tools': |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 274 | Var('chromium_git') + '/chromium/tools/depot_tools.git@' + |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 275 | Var('depot_tools_revision'), |
| 276 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 277 | 'third_party/freetype/src': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 278 | Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' + |
| 279 | Var('freetype_revision'), |
| 280 | |
Lei Zhang | e52951a | 2022-05-04 20:49:01 +0000 | [diff] [blame] | 281 | 'third_party/fuchsia-sdk/sdk': { |
| 282 | 'packages': [ |
| 283 | { |
| 284 | 'package': Var('fuchsia_sdk_cipd_prefix') + '${{platform}}', |
| 285 | 'version': Var('fuchsia_version'), |
| 286 | }, |
| 287 | ], |
| 288 | 'condition': 'checkout_fuchsia', |
| 289 | 'dep_type': 'cipd', |
| 290 | }, |
| 291 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 292 | 'third_party/googletest/src': |
| 293 | Var('chromium_git') + '/external/github.com/google/googletest.git@' + |
Lei Zhang | c551427 | 2018-03-22 05:19:14 +0000 | [diff] [blame] | 294 | Var('gtest_revision'), |
| 295 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 296 | 'third_party/icu': |
| 297 | Var('chromium_git') + '/chromium/deps/icu.git@' + Var('icu_revision'), |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 298 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 299 | 'third_party/instrumented_libraries': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 300 | Var('chromium_git') + |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 301 | '/chromium/src/third_party/instrumented_libraries.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 302 | Var('instrumented_lib_revision'), |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 303 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 304 | 'third_party/jinja2': |
| 305 | Var('chromium_git') + '/chromium/src/third_party/jinja2.git@' + |
Dale Curtis | c758d9d | 2017-04-06 14:10:09 -0700 | [diff] [blame] | 306 | Var('jinja2_revision'), |
| 307 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 308 | 'third_party/libjpeg_turbo': |
| 309 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git@' + |
Lei Zhang | 0e5d892 | 2017-04-06 21:43:50 -0700 | [diff] [blame] | 310 | Var('jpeg_turbo_revision'), |
| 311 | |
K. Moon | efd00c2 | 2022-11-15 23:02:57 +0000 | [diff] [blame] | 312 | 'third_party/libpng': |
| 313 | Var('chromium_git') + '/chromium/src/third_party/libpng.git@' + |
| 314 | Var('libpng_revision'), |
| 315 | |
Tom Sepez | e10b8b6 | 2022-09-16 19:35:02 +0000 | [diff] [blame] | 316 | 'third_party/lss': { |
| 317 | 'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'), |
| 318 | 'condition': 'checkout_android or checkout_linux', |
| 319 | }, |
| 320 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 321 | 'third_party/markupsafe': |
| 322 | Var('chromium_git') + '/chromium/src/third_party/markupsafe.git@' + |
| 323 | Var('markupsafe_revision'), |
| 324 | |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 325 | 'third_party/nasm': |
| 326 | Var('chromium_git') + '/chromium/deps/nasm.git@' + |
| 327 | Var('nasm_source_revision'), |
| 328 | |
Junji Watanabe | a067234 | 2022-11-14 19:51:59 +0000 | [diff] [blame] | 329 | 'third_party/ninja': { |
| 330 | 'packages': [ |
| 331 | { |
| 332 | # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja |
| 333 | 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 334 | 'version': Var('ninja_version'), |
| 335 | } |
| 336 | ], |
| 337 | 'dep_type': 'cipd', |
| 338 | }, |
| 339 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 340 | 'third_party/skia': { |
| 341 | 'url': Var('skia_git') + '/skia.git@' + Var('skia_revision'), |
| 342 | 'condition': 'checkout_skia', |
| 343 | }, |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 344 | |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 345 | 'third_party/test_fonts': |
| 346 | Var('chromium_git') + '/chromium/src/third_party/test_fonts.git@' + |
| 347 | Var('test_fonts_revision'), |
| 348 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 349 | 'third_party/zlib': |
| 350 | Var('chromium_git') + '/chromium/src/third_party/zlib.git@' + |
Lei Zhang | a2af7de | 2017-03-31 13:33:12 -0700 | [diff] [blame] | 351 | Var('zlib_revision'), |
| 352 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 353 | 'tools/clang': |
Lei Zhang | 8d31417 | 2021-11-30 22:48:19 +0000 | [diff] [blame] | 354 | Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision'), |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 355 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 356 | 'tools/code_coverage': |
| 357 | Var('chromium_git') + '/chromium/src/tools/code_coverage.git@' + |
Ryan Harrison | a7b65b8 | 2018-05-30 19:56:11 +0000 | [diff] [blame] | 358 | Var('code_coverage_revision'), |
| 359 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 360 | 'tools/memory': |
| 361 | Var('chromium_git') + '/chromium/src/tools/memory@' + |
dsinclair | fb96900 | 2016-05-31 12:55:32 -0700 | [diff] [blame] | 362 | Var('tools_memory_revision'), |
| 363 | |
K. Moon | 643278d | 2022-10-06 20:41:42 +0000 | [diff] [blame] | 364 | 'tools/resultdb': { |
| 365 | 'packages': [ |
| 366 | { |
| 367 | 'package': 'infra/tools/result_adapter/${{platform}}', |
| 368 | 'version': Var('resultdb_version'), |
| 369 | }, |
| 370 | ], |
| 371 | 'dep_type': 'cipd', |
| 372 | }, |
| 373 | |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 374 | # TODO(crbug.com/pdfium/1650): Set up autorollers for goldctl. |
| 375 | 'tools/skia_goldctl/linux': { |
| 376 | 'packages': [ |
| 377 | { |
| 378 | 'package': 'skia/tools/goldctl/linux-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 379 | 'version': 'eZ3k373CYgRxlu4JKph6e-_7xkP02swy_jePFFMiyIQC', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 380 | } |
| 381 | ], |
| 382 | 'dep_type': 'cipd', |
| 383 | 'condition': 'checkout_linux', |
| 384 | }, |
| 385 | |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 386 | 'tools/skia_goldctl/mac_amd64': { |
| 387 | 'packages': [ |
| 388 | { |
| 389 | 'package': 'skia/tools/goldctl/mac-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 390 | 'version': 'nHUjLIViYsLxRjv-zDdmzqT8p1R3VoyHq5gdGkKeMYwC', |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 391 | } |
| 392 | ], |
| 393 | 'dep_type': 'cipd', |
| 394 | 'condition': 'checkout_mac', |
| 395 | }, |
| 396 | |
| 397 | 'tools/skia_goldctl/mac_arm64': { |
| 398 | 'packages': [ |
| 399 | { |
| 400 | 'package': 'skia/tools/goldctl/mac-arm64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 401 | 'version': '-mc865SGfJAqreLZM6fkn8tgCJ7u5QLk5zm7r-ZRJ9gC', |
Daniel Hosseinian | 68bba80 | 2021-12-31 01:23:54 +0000 | [diff] [blame] | 402 | } |
| 403 | ], |
| 404 | 'dep_type': 'cipd', |
| 405 | 'condition': 'checkout_mac', |
| 406 | }, |
| 407 | |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 408 | 'tools/skia_goldctl/win': { |
| 409 | 'packages': [ |
| 410 | { |
| 411 | 'package': 'skia/tools/goldctl/windows-amd64', |
Lei Zhang | 74f8820 | 2022-03-01 17:58:58 +0000 | [diff] [blame] | 412 | 'version': 'iEqqRADI7znrc6pG-MVnc5pBZwD25koILREPC6x2AFAC', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 413 | } |
| 414 | ], |
| 415 | 'dep_type': 'cipd', |
| 416 | 'condition': 'checkout_win', |
| 417 | }, |
| 418 | |
Lei Zhang | a2ccb26 | 2022-07-26 00:56:23 +0000 | [diff] [blame] | 419 | 'v8': { |
| 420 | 'url': Var('chromium_git') + '/v8/v8.git@' + Var('v8_revision'), |
| 421 | 'condition': 'checkout_v8', |
| 422 | }, |
| 423 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 424 | } |
| 425 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 426 | recursedeps = [] |
thestig | 3873f30 | 2016-09-28 17:39:26 -0700 | [diff] [blame] | 427 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 428 | include_rules = [ |
Lei Zhang | 8fec3e4 | 2015-11-04 15:32:02 -0800 | [diff] [blame] | 429 | # Basic stuff that everyone can use. |
| 430 | # Note: public is not here because core cannot depend on public. |
Lei Zhang | f79e15b | 2019-03-19 23:15:50 +0000 | [diff] [blame] | 431 | '+build/build_config.h', |
Lei Zhang | 2617056 | 2018-04-17 17:01:52 +0000 | [diff] [blame] | 432 | '+constants', |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 433 | '+testing', |
| 434 | '+third_party/base', |
Lei Zhang | 32219d7 | 2021-09-29 21:13:27 +0000 | [diff] [blame] | 435 | |
| 436 | # Abseil features must be allowlisted explicitly for now. See Chromium's |
| 437 | # //styleguide/c++/c++11.html. Allowed features' headers will be listed |
| 438 | # explicitly here. |
| 439 | '-absl', |
| 440 | '-third_party/abseil-cpp', |
| 441 | '+third_party/abseil-cpp/absl/types/optional.h', |
| 442 | '+third_party/abseil-cpp/absl/types/variant.h', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 443 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 444 | |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 445 | specific_include_rules = { |
| 446 | # Allow embedder tests to use public APIs. |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 447 | '(.*embeddertest\.cpp)': [ |
| 448 | '+public', |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 449 | ] |
| 450 | } |
| 451 | |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 452 | hooks = [ |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 453 | { |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 454 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 455 | # disabled. |
| 456 | 'name': 'disable_depot_tools_selfupdate', |
| 457 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 458 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 459 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 460 | '--disable', |
| 461 | ], |
| 462 | }, |
| 463 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 464 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 465 | 'name': 'ciopfs_linux', |
| 466 | 'pattern': '.', |
| 467 | 'condition': 'checkout_win and host_os == "linux"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 468 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 469 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 470 | '--no_resume', |
| 471 | '--no_auth', |
| 472 | '--bucket', 'chromium-browser-clang/ciopfs', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 473 | '-s', 'build/ciopfs.sha1', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 474 | ] |
| 475 | }, |
| 476 | { |
| 477 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 478 | 'name': 'win_toolchain', |
| 479 | 'pattern': '.', |
| 480 | 'condition': 'checkout_win', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 481 | 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 482 | }, |
| 483 | { |
| 484 | # Update the Mac toolchain if necessary. |
| 485 | 'name': 'mac_toolchain', |
| 486 | 'pattern': '.', |
Lei Zhang | 791eaff | 2020-07-28 19:44:41 +0000 | [diff] [blame] | 487 | 'condition': 'checkout_mac', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 488 | 'action': ['python3', 'build/mac_toolchain.py'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 489 | }, |
Lei Zhang | 9612285 | 2022-05-04 00:43:55 +0000 | [diff] [blame] | 490 | # Pull dsymutil binaries using checked-in hashes. |
| 491 | { |
| 492 | 'name': 'dsymutil_mac_arm64', |
| 493 | 'pattern': '.', |
| 494 | 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| 495 | 'action': [ 'python3', |
| 496 | 'third_party/depot_tools/download_from_google_storage.py', |
| 497 | '--no_resume', |
| 498 | '--no_auth', |
| 499 | '--bucket', 'chromium-browser-clang', |
| 500 | '-s', 'tools/clang/dsymutil/bin/dsymutil.arm64.sha1', |
| 501 | '-o', 'tools/clang/dsymutil/bin/dsymutil', |
| 502 | ], |
| 503 | }, |
| 504 | { |
| 505 | 'name': 'dsymutil_mac_x64', |
| 506 | 'pattern': '.', |
| 507 | 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| 508 | 'action': [ 'python3', |
| 509 | 'third_party/depot_tools/download_from_google_storage.py', |
| 510 | '--no_resume', |
| 511 | '--no_auth', |
| 512 | '--bucket', 'chromium-browser-clang', |
| 513 | '-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1', |
| 514 | '-o', 'tools/clang/dsymutil/bin/dsymutil', |
| 515 | ], |
| 516 | }, |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 517 | # Pull clang-format binaries using checked-in hashes. |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 518 | { |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 519 | 'name': 'clang_format_win', |
| 520 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 521 | 'condition': 'host_os == "win"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 522 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 523 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 524 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 525 | '--no_auth', |
| 526 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 527 | '-s', 'buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 528 | ], |
| 529 | }, |
| 530 | { |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 531 | 'name': 'clang_format_mac_x64', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 532 | 'pattern': '.', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 533 | 'condition': 'host_os == "mac" and host_cpu == "x64"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 534 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 535 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 536 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 537 | '--no_auth', |
| 538 | '--bucket', 'chromium-clang-format', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 539 | '-s', 'buildtools/mac/clang-format.x64.sha1', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 540 | '-o', 'buildtools/mac/clang-format', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 541 | ], |
| 542 | }, |
| 543 | { |
| 544 | 'name': 'clang_format_mac_arm64', |
| 545 | 'pattern': '.', |
| 546 | 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| 547 | 'action': [ 'python3', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 548 | 'third_party/depot_tools/download_from_google_storage.py', |
Alan Screen | 4678e4a | 2022-04-14 01:59:14 +0000 | [diff] [blame] | 549 | '--no_resume', |
| 550 | '--no_auth', |
| 551 | '--bucket', 'chromium-clang-format', |
K. Moon | b96b71b | 2022-04-20 17:15:28 +0000 | [diff] [blame] | 552 | '-s', 'buildtools/mac/clang-format.arm64.sha1', |
| 553 | '-o', 'buildtools/mac/clang-format', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 554 | ], |
| 555 | }, |
| 556 | { |
| 557 | 'name': 'clang_format_linux', |
| 558 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 559 | 'condition': 'host_os == "linux"', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 560 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 561 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 562 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 563 | '--no_auth', |
| 564 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 565 | '-s', 'buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 566 | ], |
| 567 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 568 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 569 | # 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] | 570 | 'name': 'clang', |
| 571 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 572 | 'action': ['python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 573 | 'tools/clang/scripts/update.py' |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 574 | ], |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 575 | }, |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 576 | { |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 577 | 'name': 'sysroot_arm', |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 578 | 'pattern': '.', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 579 | 'condition': 'checkout_linux and checkout_arm', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 580 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 581 | '--arch=arm'], |
| 582 | }, |
| 583 | { |
| 584 | 'name': 'sysroot_arm64', |
| 585 | 'pattern': '.', |
| 586 | 'condition': 'checkout_linux and checkout_arm64', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 587 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 588 | '--arch=arm64'], |
| 589 | }, |
| 590 | { |
| 591 | 'name': 'sysroot_x86', |
| 592 | 'pattern': '.', |
| 593 | 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 594 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 595 | '--arch=x86'], |
| 596 | }, |
| 597 | { |
| 598 | 'name': 'sysroot_mips', |
| 599 | 'pattern': '.', |
| 600 | 'condition': 'checkout_linux and checkout_mips', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 601 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 602 | '--arch=mips'], |
| 603 | }, |
| 604 | { |
| 605 | 'name': 'sysroot_x64', |
| 606 | 'pattern': '.', |
| 607 | 'condition': 'checkout_linux and checkout_x64', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 608 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 609 | '--arch=x64'], |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 610 | }, |
| 611 | { |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 612 | 'name': 'test_fonts', |
| 613 | 'pattern': '.', |
| 614 | 'action': [ 'python3', |
| 615 | 'third_party/depot_tools/download_from_google_storage.py', |
| 616 | '--no_resume', |
| 617 | '--extract', |
| 618 | '--no_auth', |
| 619 | '--bucket', 'chromium-fonts', |
| 620 | '-s', 'third_party/test_fonts/test_fonts.tar.gz.sha1', |
| 621 | ], |
| 622 | }, |
| 623 | { |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 624 | 'name': 'msan_chained_origins', |
| 625 | 'pattern': '.', |
| 626 | 'condition': 'checkout_instrumented_libraries', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 627 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 628 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 629 | '--no_resume', |
| 630 | '--no_auth', |
| 631 | '--bucket', 'chromium-instrumented-libraries', |
Lei Zhang | 2055fc4 | 2021-10-19 00:18:59 +0000 | [diff] [blame] | 632 | '-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 633 | ], |
| 634 | }, |
| 635 | { |
| 636 | 'name': 'msan_no_origins', |
| 637 | 'pattern': '.', |
| 638 | 'condition': 'checkout_instrumented_libraries', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 639 | 'action': [ 'python3', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 640 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 641 | '--no_resume', |
| 642 | '--no_auth', |
| 643 | '--bucket', 'chromium-instrumented-libraries', |
Lei Zhang | 2055fc4 | 2021-10-19 00:18:59 +0000 | [diff] [blame] | 644 | '-s', 'third_party/instrumented_libraries/binaries/msan-no-origins.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 645 | ], |
Tom Anderson | 4e8edf5 | 2017-03-30 18:27:21 -0700 | [diff] [blame] | 646 | }, |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 647 | { |
| 648 | # Update LASTCHANGE. |
| 649 | 'name': 'lastchange', |
| 650 | 'pattern': '.', |
Lei Zhang | fc24fe5 | 2021-10-20 16:41:38 +0000 | [diff] [blame] | 651 | 'action': ['python3', 'build/util/lastchange.py', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 652 | '-o', 'build/util/LASTCHANGE'], |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 653 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 654 | ] |