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' |
Lei Zhang | 5dc5c5b | 2020-07-06 22:50:02 +0000 | [diff] [blame] | 4 | gclient_gn_args = [ |
Lei Zhang | 4d2c91b | 2020-07-07 00:31:34 +0000 | [diff] [blame] | 5 | 'checkout_google_benchmark', |
Lei Zhang | 5dc5c5b | 2020-07-06 22:50:02 +0000 | [diff] [blame] | 6 | ] |
| 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 | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 10 | # chromium waterfalls. This var can be also be set to 'small', in order |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 11 | # to skip things are not strictly needed to build chromium for development |
| 12 | # purposes. |
| 13 | 'checkout_configuration': 'default', |
| 14 | |
Lei Zhang | 4d2c91b | 2020-07-07 00:31:34 +0000 | [diff] [blame] | 15 | # By default, do not check out Google Benchmark. This only exists to satisfy |
| 16 | # V8-enabled builds that require this variable. Running Google Benchmark is |
| 17 | # not supported with PDFium. |
| 18 | 'checkout_google_benchmark': False, |
| 19 | |
Lei Zhang | 10e117e | 2019-01-19 05:54:34 +0000 | [diff] [blame] | 20 | 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration != "small"', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 21 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 22 | 'chromium_git': 'https://chromium.googlesource.com', |
| 23 | 'pdfium_git': 'https://pdfium.googlesource.com', |
| 24 | |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 25 | # Three lines of non-changing comments so that |
| 26 | # the commit queue can handle CLs rolling android_ndk |
| 27 | # and whatever else without interference from each other. |
Hui Yingst | 3c2f350 | 2021-03-09 00:16:48 +0000 | [diff] [blame] | 28 | 'android_ndk_revision': '401019bf85744311b26c88ced255cd53401af8b7', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 29 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 30 | # the commit queue can handle CLs rolling build |
| 31 | # and whatever else without interference from each other. |
Alan Screen | da9d367 | 2021-06-15 03:58:16 +0000 | [diff] [blame] | 32 | 'build_revision': 'e6942ef1c557b2ae17d993ebf83d8b3c10cf3061', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 33 | # Three lines of non-changing comments so that |
| 34 | # the commit queue can handle CLs rolling buildtools |
| 35 | # and whatever else without interference from each other. |
Alan Screen | 9c6802a | 2021-06-15 18:59:49 +0000 | [diff] [blame] | 36 | 'buildtools_revision': 'be7dcbc36110b9381f228b8e4ca73ca1db9bf21a', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 37 | # Three lines of non-changing comments so that |
| 38 | # the commit queue can handle CLs rolling catapult |
| 39 | # and whatever else without interference from each other. |
pdfium-autoroll | d06b0fb | 2021-06-28 04:57:50 +0000 | [diff] [blame] | 40 | 'catapult_revision': 'e8292371ff453eadd9803a2e9cb218a86e635b69', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 41 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 42 | # the commit queue can handle CLs rolling clang format |
| 43 | # and whatever else without interference from each other. |
| 44 | 'clang_format_revision': '99803d74e35962f63a775f29477882afd4d57d94', |
| 45 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 46 | # the commit queue can handle CLs rolling clang |
| 47 | # and whatever else without interference from each other. |
Daniel Hosseinian | bc18e90 | 2021-07-08 01:19:24 +0000 | [diff] [blame] | 48 | 'clang_revision': 'ccc7ba229ab7e050d8276a442cf1f9ad25c846cc', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 49 | # Three lines of non-changing comments so that |
Lei Zhang | 38871db | 2020-02-28 22:53:38 +0000 | [diff] [blame] | 50 | # the commit queue can handle CLs rolling clang_dsymutil |
| 51 | # and whatever else without interference from each other. |
| 52 | 'clang_dsymutil_revision': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC', |
| 53 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 54 | # the commit queue can handle CLs rolling code_coverage |
| 55 | # and whatever else without interference from each other. |
pdfium-autoroll | 3899410 | 2021-07-19 05:02:58 +0000 | [diff] [blame] | 56 | 'code_coverage_revision': '69c691b70f542e679bf51182e75d5dedfc59187b', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 57 | # Three lines of non-changing comments so that |
| 58 | # the commit queue can handle CLs rolling depot_tools |
| 59 | # and whatever else without interference from each other. |
Daniel Hosseinian | 2bf172c | 2021-07-07 23:04:46 +0000 | [diff] [blame] | 60 | 'depot_tools_revision': 'ac6f623a29dac2d7b67b9439339dff859c2110c0', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 61 | # Three lines of non-changing comments so that |
| 62 | # the commit queue can handle CLs rolling freetype |
| 63 | # and whatever else without interference from each other. |
Daniel Hosseinian | 082fdba | 2021-07-07 23:26:56 +0000 | [diff] [blame] | 64 | 'freetype_revision': 'd3dc2da9b27af5b90575d62989389cc65fe7977c', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 65 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 66 | # the commit queue can handle CLs rolling GN CIPD package version |
| 67 | # and whatever else without interference from each other. |
Daniel Hosseinian | 43be443 | 2021-07-08 02:53:44 +0000 | [diff] [blame] | 68 | 'gn_version': 'git_revision:31f2bba8aafa8015ca5761100a21f17c2d741062', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 69 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 70 | # the commit queue can handle CLs rolling gtest |
| 71 | # and whatever else without interference from each other. |
Daniel Hosseinian | 22c468e | 2021-07-07 23:10:06 +0000 | [diff] [blame] | 72 | 'gtest_revision': '4ec4cd23f486bf70efcc5d2caa40f24368f752e3', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 73 | # Three lines of non-changing comments so that |
| 74 | # the commit queue can handle CLs rolling icu |
| 75 | # and whatever else without interference from each other. |
Alan Screen | 51438f4 | 2021-06-11 16:59:59 +0000 | [diff] [blame] | 76 | 'icu_revision': 'a0718d4f121727e30b8d52c7a189ebf5ab52421f', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 77 | # Three lines of non-changing comments so that |
| 78 | # the commit queue can handle CLs rolling instrumented_lib |
| 79 | # and whatever else without interference from each other. |
Alan Screen | d6aa5e5 | 2021-06-11 23:06:39 +0000 | [diff] [blame] | 80 | 'instrumented_lib_revision': '4ae2535e8e894c3cd81d46aacdaf151b5df30709', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 81 | # Three lines of non-changing comments so that |
| 82 | # the commit queue can handle CLs rolling jinja2 |
| 83 | # and whatever else without interference from each other. |
pdfium-autoroll | ee64a85 | 2021-07-12 04:56:24 +0000 | [diff] [blame] | 84 | 'jinja2_revision': '7c54c1f227727e0c4c1d3dc19dd71cd601a2db95', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 85 | # Three lines of non-changing comments so that |
| 86 | # the commit queue can handle CLs rolling jpeg_turbo |
| 87 | # and whatever else without interference from each other. |
Alan Screen | 6e46de3 | 2021-06-11 17:27:20 +0000 | [diff] [blame] | 88 | 'jpeg_turbo_revision': 'b7bef8c05b7cdb1a038ae271a2c2b6647af4c879', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 89 | # Three lines of non-changing comments so that |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 90 | # the commit queue can handle CLs rolling libc++ |
| 91 | # and whatever else without interference from each other. |
| 92 | # If you change this, also update the libc++ revision in |
| 93 | # //buildtools/deps_revisions.gni. |
| 94 | 'libcxx_revision': '8fa87946779682841e21e2da977eccfb6cb3bded', |
| 95 | # Three lines of non-changing comments so that |
| 96 | # the commit queue can handle CLs rolling libc++abi |
| 97 | # and whatever else without interference from each other. |
Alan Screen | ebc2bb3 | 2021-06-11 21:39:29 +0000 | [diff] [blame] | 98 | 'libcxxabi_revision': 'e5f25a39b9decc487902de82f39ae56b4d634d7c', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 99 | # Three lines of non-changing comments so that |
| 100 | # the commit queue can handle CLs rolling libunwind |
| 101 | # and whatever else without interference from each other. |
Alan Screen | c135961 | 2021-06-12 01:16:38 +0000 | [diff] [blame] | 102 | 'libunwind_revision': '950faeeabc1ee25569e62ec4ce749f013169482d', |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 103 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 104 | # the commit queue can handle CLs rolling markupsafe |
| 105 | # and whatever else without interference from each other. |
pdfium-autoroll | 51fc745 | 2021-07-12 05:08:40 +0000 | [diff] [blame] | 106 | 'markupsafe_revision': '1b882ef6372b58bfd55a3285f37ed801be9137cd', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 107 | # Three lines of non-changing comments so that |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 108 | # the commit queue can handle CLs rolling nasm_source |
| 109 | # and whatever else without interference from each other. |
Alan Screen | 9f79a30 | 2021-06-11 17:00:59 +0000 | [diff] [blame] | 110 | 'nasm_source_revision': 'e9be5fd6d723a435ca2da162f9e0ffcb688747c1', |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 111 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 112 | # the commit queue can handle CLs rolling pdfium_tests |
| 113 | # and whatever else without interference from each other. |
Tom Sepez | d661dc7 | 2021-06-24 20:22:19 +0000 | [diff] [blame] | 114 | 'pdfium_tests_revision': 'b67d79fef155c0c44be240a4fde07f15adac5a4f', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 115 | # Three lines of non-changing comments so that |
| 116 | # the commit queue can handle CLs rolling skia |
| 117 | # and whatever else without interference from each other. |
Alan Screen | c1ee414 | 2021-06-11 21:59:29 +0000 | [diff] [blame] | 118 | 'skia_revision': '10e7e77909c5be806180b789421d1d2c6d03a96a', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 119 | # Three lines of non-changing comments so that |
| 120 | # the commit queue can handle CLs rolling tools_memory |
| 121 | # and whatever else without interference from each other. |
Daniel Hosseinian | befae54 | 2021-07-07 23:31:46 +0000 | [diff] [blame] | 122 | 'tools_memory_revision': '7235d59a2b9a370731802970c0ea3fa1a4933289', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 123 | # Three lines of non-changing comments so that |
| 124 | # the commit queue can handle CLs rolling trace_event |
| 125 | # and whatever else without interference from each other. |
Lei Zhang | 87b5055 | 2021-05-06 16:28:22 +0000 | [diff] [blame] | 126 | 'trace_event_revision': 'd5bb24e5d9802c8c917fcaa4375d5239a586c168', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 127 | # Three lines of non-changing comments so that |
| 128 | # the commit queue can handle CLs rolling v8 |
| 129 | # and whatever else without interference from each other. |
Daniel Hosseinian | e156579 | 2021-07-07 23:57:56 +0000 | [diff] [blame] | 130 | 'v8_revision': '52ce5a351cf8d8919e728248dbf739e9cbec05ff', |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 131 | # Three lines of non-changing comments so that |
Lei Zhang | 5b02a0a | 2020-02-21 18:57:27 +0000 | [diff] [blame] | 132 | # the commit queue can handle CLs rolling zlib |
| 133 | # and whatever else without interference from each other. |
Alan Screen | 65b176e | 2021-06-11 21:04:27 +0000 | [diff] [blame] | 134 | 'zlib_revision': '00ade15d946d72f75c786dc2e66c419a9d99e2ad', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 135 | } |
| 136 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 137 | deps = { |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 138 | 'base/trace_event/common': |
| 139 | Var('chromium_git') + '/chromium/src/base/trace_event/common.git@' + |
thestig | 5fec597 | 2016-08-30 06:39:40 -0700 | [diff] [blame] | 140 | Var('trace_event_revision'), |
| 141 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 142 | 'build': |
| 143 | Var('chromium_git') + '/chromium/src/build.git@' + Var('build_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 144 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 145 | 'buildtools': |
| 146 | Var('chromium_git') + '/chromium/src/buildtools.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 147 | Var('buildtools_revision'), |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 148 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 149 | 'buildtools/clang_format/script': |
| 150 | Var('chromium_git') + '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' + |
| 151 | Var('clang_format_revision'), |
| 152 | |
| 153 | 'buildtools/linux64': { |
| 154 | 'packages': [ |
| 155 | { |
| 156 | 'package': 'gn/gn/linux-amd64', |
| 157 | 'version': Var('gn_version'), |
| 158 | } |
| 159 | ], |
| 160 | 'dep_type': 'cipd', |
| 161 | 'condition': 'host_os == "linux"', |
| 162 | }, |
| 163 | |
| 164 | 'buildtools/mac': { |
| 165 | 'packages': [ |
| 166 | { |
| 167 | 'package': 'gn/gn/mac-${{arch}}', |
| 168 | 'version': Var('gn_version'), |
| 169 | } |
| 170 | ], |
| 171 | 'dep_type': 'cipd', |
| 172 | 'condition': 'host_os == "mac"', |
| 173 | }, |
| 174 | |
| 175 | 'buildtools/third_party/libc++/trunk': |
| 176 | Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + |
| 177 | Var('libcxx_revision'), |
| 178 | |
| 179 | 'buildtools/third_party/libc++abi/trunk': |
| 180 | Var('chromium_git') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + |
| 181 | Var('libcxxabi_revision'), |
| 182 | |
| 183 | 'buildtools/third_party/libunwind/trunk': |
| 184 | Var('chromium_git') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + |
| 185 | Var('libunwind_revision'), |
| 186 | |
| 187 | 'buildtools/win': { |
| 188 | 'packages': [ |
| 189 | { |
| 190 | 'package': 'gn/gn/windows-amd64', |
| 191 | 'version': Var('gn_version'), |
| 192 | } |
| 193 | ], |
| 194 | 'dep_type': 'cipd', |
| 195 | 'condition': 'host_os == "win"', |
| 196 | }, |
| 197 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 198 | 'testing/corpus': |
| 199 | Var('pdfium_git') + '/pdfium_tests@' + Var('pdfium_tests_revision'), |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 200 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 201 | 'third_party/android_ndk': { |
| 202 | 'url': Var('chromium_git') + '/android_ndk.git@' + |
| 203 | Var('android_ndk_revision'), |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 204 | 'condition': 'checkout_android', |
| 205 | }, |
| 206 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 207 | 'third_party/catapult': { |
| 208 | 'url': Var('chromium_git') + '/catapult.git@' + Var('catapult_revision'), |
Lei Zhang | cb7c118 | 2019-03-21 17:48:18 +0000 | [diff] [blame] | 209 | 'condition': 'checkout_android', |
| 210 | }, |
| 211 | |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 212 | 'third_party/depot_tools': |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 213 | Var('chromium_git') + '/chromium/tools/depot_tools.git@' + |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 214 | Var('depot_tools_revision'), |
| 215 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 216 | 'third_party/freetype/src': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 217 | Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' + |
| 218 | Var('freetype_revision'), |
| 219 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 220 | 'third_party/googletest/src': |
| 221 | Var('chromium_git') + '/external/github.com/google/googletest.git@' + |
Lei Zhang | c551427 | 2018-03-22 05:19:14 +0000 | [diff] [blame] | 222 | Var('gtest_revision'), |
| 223 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 224 | 'third_party/icu': |
| 225 | Var('chromium_git') + '/chromium/deps/icu.git@' + Var('icu_revision'), |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 226 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 227 | 'third_party/instrumented_libraries': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 228 | Var('chromium_git') + |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 229 | '/chromium/src/third_party/instrumented_libraries.git@' + |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 230 | Var('instrumented_lib_revision'), |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 231 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 232 | 'third_party/jinja2': |
| 233 | Var('chromium_git') + '/chromium/src/third_party/jinja2.git@' + |
Dale Curtis | c758d9d | 2017-04-06 14:10:09 -0700 | [diff] [blame] | 234 | Var('jinja2_revision'), |
| 235 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 236 | 'third_party/libjpeg_turbo': |
| 237 | Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git@' + |
Lei Zhang | 0e5d892 | 2017-04-06 21:43:50 -0700 | [diff] [blame] | 238 | Var('jpeg_turbo_revision'), |
| 239 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 240 | 'third_party/markupsafe': |
| 241 | Var('chromium_git') + '/chromium/src/third_party/markupsafe.git@' + |
| 242 | Var('markupsafe_revision'), |
| 243 | |
Lei Zhang | d749ccd | 2020-04-13 23:48:51 +0000 | [diff] [blame] | 244 | 'third_party/nasm': |
| 245 | Var('chromium_git') + '/chromium/deps/nasm.git@' + |
| 246 | Var('nasm_source_revision'), |
| 247 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 248 | 'third_party/skia': |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 249 | Var('chromium_git') + '/skia.git@' + Var('skia_revision'), |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 250 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 251 | 'third_party/zlib': |
| 252 | Var('chromium_git') + '/chromium/src/third_party/zlib.git@' + |
Lei Zhang | a2af7de | 2017-03-31 13:33:12 -0700 | [diff] [blame] | 253 | Var('zlib_revision'), |
| 254 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 255 | 'tools/clang': |
| 256 | Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision'), |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 257 | |
Lei Zhang | 38871db | 2020-02-28 22:53:38 +0000 | [diff] [blame] | 258 | 'tools/clang/dsymutil': { |
| 259 | 'packages': [ |
| 260 | { |
| 261 | 'package': 'chromium/llvm-build-tools/dsymutil', |
| 262 | 'version': Var('clang_dsymutil_revision'), |
| 263 | } |
| 264 | ], |
| 265 | 'condition': 'checkout_mac or checkout_ios', |
| 266 | 'dep_type': 'cipd', |
| 267 | }, |
| 268 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 269 | 'tools/code_coverage': |
| 270 | Var('chromium_git') + '/chromium/src/tools/code_coverage.git@' + |
Ryan Harrison | a7b65b8 | 2018-05-30 19:56:11 +0000 | [diff] [blame] | 271 | Var('code_coverage_revision'), |
| 272 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 273 | 'tools/memory': |
| 274 | Var('chromium_git') + '/chromium/src/tools/memory@' + |
dsinclair | fb96900 | 2016-05-31 12:55:32 -0700 | [diff] [blame] | 275 | Var('tools_memory_revision'), |
| 276 | |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 277 | # TODO(crbug.com/pdfium/1650): Set up autorollers for goldctl. |
| 278 | 'tools/skia_goldctl/linux': { |
| 279 | 'packages': [ |
| 280 | { |
| 281 | 'package': 'skia/tools/goldctl/linux-amd64', |
Stephanie Kim | 0314ade | 2021-03-11 00:27:35 +0000 | [diff] [blame] | 282 | 'version': 'git_revision:11b8d9e1b976c7ef4dd60521c87d00a8970f889b', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 283 | } |
| 284 | ], |
| 285 | 'dep_type': 'cipd', |
| 286 | 'condition': 'checkout_linux', |
| 287 | }, |
| 288 | |
| 289 | 'tools/skia_goldctl/mac': { |
| 290 | 'packages': [ |
| 291 | { |
| 292 | 'package': 'skia/tools/goldctl/mac-amd64', |
Stephanie Kim | 0314ade | 2021-03-11 00:27:35 +0000 | [diff] [blame] | 293 | 'version': 'git_revision:11b8d9e1b976c7ef4dd60521c87d00a8970f889b', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 294 | } |
| 295 | ], |
| 296 | 'dep_type': 'cipd', |
| 297 | 'condition': 'checkout_mac', |
| 298 | }, |
| 299 | |
| 300 | 'tools/skia_goldctl/win': { |
| 301 | 'packages': [ |
| 302 | { |
| 303 | 'package': 'skia/tools/goldctl/windows-amd64', |
Stephanie Kim | 0314ade | 2021-03-11 00:27:35 +0000 | [diff] [blame] | 304 | 'version': 'git_revision:11b8d9e1b976c7ef4dd60521c87d00a8970f889b', |
Stephanie Kim | 606d085 | 2021-03-04 16:02:41 +0000 | [diff] [blame] | 305 | } |
| 306 | ], |
| 307 | 'dep_type': 'cipd', |
| 308 | 'condition': 'checkout_win', |
| 309 | }, |
| 310 | |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 311 | 'v8': |
| 312 | Var('chromium_git') + '/v8/v8.git@' + Var('v8_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 313 | } |
| 314 | |
Hui Yingst | e0f5c5b | 2021-04-02 21:39:14 +0000 | [diff] [blame] | 315 | recursedeps = [] |
thestig | 3873f30 | 2016-09-28 17:39:26 -0700 | [diff] [blame] | 316 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 317 | include_rules = [ |
Lei Zhang | 8fec3e4 | 2015-11-04 15:32:02 -0800 | [diff] [blame] | 318 | # Basic stuff that everyone can use. |
| 319 | # Note: public is not here because core cannot depend on public. |
Lei Zhang | f79e15b | 2019-03-19 23:15:50 +0000 | [diff] [blame] | 320 | '+build/build_config.h', |
Lei Zhang | 2617056 | 2018-04-17 17:01:52 +0000 | [diff] [blame] | 321 | '+constants', |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 322 | '+testing', |
| 323 | '+third_party/base', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 324 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 325 | |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 326 | specific_include_rules = { |
| 327 | # Allow embedder tests to use public APIs. |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 328 | '(.*embeddertest\.cpp)': [ |
| 329 | '+public', |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 330 | ] |
| 331 | } |
| 332 | |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 333 | hooks = [ |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 334 | { |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 335 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 336 | # disabled. |
| 337 | 'name': 'disable_depot_tools_selfupdate', |
| 338 | 'pattern': '.', |
| 339 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 340 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
Ankit Kumar | 5ef1d5c | 2020-07-01 06:57:13 +0000 | [diff] [blame] | 341 | '--disable', |
| 342 | ], |
| 343 | }, |
| 344 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 345 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 346 | 'name': 'ciopfs_linux', |
| 347 | 'pattern': '.', |
| 348 | 'condition': 'checkout_win and host_os == "linux"', |
| 349 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 350 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 351 | '--no_resume', |
| 352 | '--no_auth', |
| 353 | '--bucket', 'chromium-browser-clang/ciopfs', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 354 | '-s', 'build/ciopfs.sha1', |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 355 | ] |
| 356 | }, |
| 357 | { |
| 358 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 359 | 'name': 'win_toolchain', |
| 360 | 'pattern': '.', |
| 361 | 'condition': 'checkout_win', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 362 | 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 363 | }, |
| 364 | { |
| 365 | # Update the Mac toolchain if necessary. |
| 366 | 'name': 'mac_toolchain', |
| 367 | 'pattern': '.', |
Lei Zhang | 791eaff | 2020-07-28 19:44:41 +0000 | [diff] [blame] | 368 | 'condition': 'checkout_mac', |
Nico Weber | 43b3629 | 2020-11-17 16:50:44 +0000 | [diff] [blame] | 369 | 'action': ['python', 'build/mac_toolchain.py'], |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 370 | }, |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 371 | # Pull clang-format binaries using checked-in hashes. |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 372 | { |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 373 | 'name': 'clang_format_win', |
| 374 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 375 | 'condition': 'host_os == "win"', |
| 376 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 377 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 378 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 379 | '--no_auth', |
| 380 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 381 | '-s', 'buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 382 | ], |
| 383 | }, |
| 384 | { |
| 385 | 'name': 'clang_format_mac', |
| 386 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 387 | 'condition': 'host_os == "mac"', |
| 388 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 389 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 390 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 391 | '--no_auth', |
| 392 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 393 | '-s', 'buildtools/mac/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 394 | ], |
| 395 | }, |
| 396 | { |
| 397 | 'name': 'clang_format_linux', |
| 398 | 'pattern': '.', |
K. Moon | 0d7c59f | 2020-04-24 19:26:17 +0000 | [diff] [blame] | 399 | 'condition': 'host_os == "linux"', |
| 400 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 401 | 'third_party/depot_tools/download_from_google_storage.py', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 402 | '--no_resume', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 403 | '--no_auth', |
| 404 | '--bucket', 'chromium-clang-format', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 405 | '-s', 'buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 406 | ], |
| 407 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 408 | { |
Lei Zhang | 4b1dea8 | 2019-02-08 00:39:06 +0000 | [diff] [blame] | 409 | # 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] | 410 | 'name': 'clang', |
| 411 | 'pattern': '.', |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 412 | 'action': ['python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 413 | 'tools/clang/scripts/update.py' |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 414 | ], |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 415 | }, |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 416 | { |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 417 | 'name': 'sysroot_arm', |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 418 | 'pattern': '.', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 419 | 'condition': 'checkout_linux and checkout_arm', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 420 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 421 | '--arch=arm'], |
| 422 | }, |
| 423 | { |
| 424 | 'name': 'sysroot_arm64', |
| 425 | 'pattern': '.', |
| 426 | 'condition': 'checkout_linux and checkout_arm64', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 427 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 428 | '--arch=arm64'], |
| 429 | }, |
| 430 | { |
| 431 | 'name': 'sysroot_x86', |
| 432 | 'pattern': '.', |
| 433 | 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 434 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 435 | '--arch=x86'], |
| 436 | }, |
| 437 | { |
| 438 | 'name': 'sysroot_mips', |
| 439 | 'pattern': '.', |
| 440 | 'condition': 'checkout_linux and checkout_mips', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 441 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 442 | '--arch=mips'], |
| 443 | }, |
| 444 | { |
| 445 | 'name': 'sysroot_x64', |
| 446 | 'pattern': '.', |
| 447 | 'condition': 'checkout_linux and checkout_x64', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 448 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 449 | '--arch=x64'], |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 450 | }, |
| 451 | { |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 452 | 'name': 'msan_chained_origins', |
| 453 | 'pattern': '.', |
| 454 | 'condition': 'checkout_instrumented_libraries', |
| 455 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 456 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 457 | '--no_resume', |
| 458 | '--no_auth', |
| 459 | '--bucket', 'chromium-instrumented-libraries', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 460 | '-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 461 | ], |
| 462 | }, |
| 463 | { |
| 464 | 'name': 'msan_no_origins', |
| 465 | 'pattern': '.', |
| 466 | 'condition': 'checkout_instrumented_libraries', |
| 467 | 'action': [ 'python', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 468 | 'third_party/depot_tools/download_from_google_storage.py', |
Lei Zhang | 73b4e77 | 2020-04-13 23:35:48 +0000 | [diff] [blame] | 469 | '--no_resume', |
| 470 | '--no_auth', |
| 471 | '--bucket', 'chromium-instrumented-libraries', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 472 | '-s', 'third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1', |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 473 | ], |
Tom Anderson | 4e8edf5 | 2017-03-30 18:27:21 -0700 | [diff] [blame] | 474 | }, |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 475 | { |
| 476 | # Update LASTCHANGE. |
| 477 | 'name': 'lastchange', |
| 478 | 'pattern': '.', |
Ankit Kumar | 01846f7 | 2020-07-01 07:37:23 +0000 | [diff] [blame] | 479 | 'action': ['python', 'build/util/lastchange.py', |
| 480 | '-o', 'build/util/LASTCHANGE'], |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 481 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 482 | ] |