Lei Zhang | e4bf834 | 2015-10-21 17:11:04 -0700 | [diff] [blame] | 1 | use_relative_paths = True |
| 2 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 3 | vars = { |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 4 | # By default, we should check out everything needed to run on the main |
| 5 | # chromium waterfalls. This var can be also be set to "small", in order |
| 6 | # to skip things are not strictly needed to build chromium for development |
| 7 | # purposes. |
| 8 | 'checkout_configuration': 'default', |
| 9 | |
| 10 | # TODO(dpranke): change to != "small" once != is supported. |
| 11 | 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"', |
| 12 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 13 | 'chromium_git': 'https://chromium.googlesource.com', |
| 14 | 'pdfium_git': 'https://pdfium.googlesource.com', |
| 15 | |
Tom Anderson | 16ccc8b | 2018-05-30 01:53:00 +0000 | [diff] [blame] | 16 | 'android_ndk_revision': '5cd86312e794bdf542a3685c6f10cbb96072990b', |
Lei Zhang | f4f8cc5 | 2018-12-11 01:37:45 +0000 | [diff] [blame] | 17 | 'binutils_revision': '2be73f7fbf783d7a0b288e174a5773b67c7656bc', |
Lei Zhang | ed324c3 | 2018-11-10 08:20:05 +0000 | [diff] [blame] | 18 | 'build_revision': '81ffd00401995c9ae0b99557b82e319a2a0498d1', |
Lei Zhang | 0fe48f0 | 2018-11-10 08:18:04 +0000 | [diff] [blame] | 19 | 'buildtools_revision': 'fdce2ad26b26961629cb6bb2fc4757396d37f174', |
Lei Zhang | 446805e | 2018-11-10 07:40:26 +0000 | [diff] [blame] | 20 | 'catapult_revision': '5d5091665700495b0d212cc504fd48530565eecf', |
Lei Zhang | acff9ab | 2018-11-10 08:25:24 +0000 | [diff] [blame] | 21 | 'clang_revision': '31f2d265b80ffaf698f41e2ef3e0e8f282f13285', |
Lei Zhang | 7561692 | 2018-10-06 06:51:06 +0000 | [diff] [blame] | 22 | 'code_coverage_revision': '4191ea0675c4c133cb506316b6b974f31e600576', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 23 | 'cygwin_revision': 'c89e446b273697fadf3a10ff1007a97c0b7de6df', |
Lei Zhang | 1d77a1b | 2018-11-10 07:18:52 +0000 | [diff] [blame] | 24 | 'depot_tools_revision': 'ddbeac1c06a9c0ffa100f6f2af672af83f980fcb', |
Ben Wagner | f103880 | 2018-12-06 19:43:27 +0000 | [diff] [blame] | 25 | 'freetype_revision': 'd01e28f41f8810c8ea422b854f8722659589fa99', |
Lei Zhang | 6c10858 | 2018-11-10 07:21:01 +0000 | [diff] [blame] | 26 | 'gtest_revision': '2e68926a9d4929e9289373cd49e40ddcb9a628f7', |
Lei Zhang | 2ca27ee | 2018-11-10 06:13:36 +0000 | [diff] [blame] | 27 | 'icu_revision': '45f655f2feb7069a7b9b47d1b1a596807bfd4220', |
Lei Zhang | 5b35e38 | 2018-11-10 07:20:21 +0000 | [diff] [blame] | 28 | 'instrumented_lib_revision': 'a959e4f0cb643003f2d75d179cede449979e3e77', |
Lei Zhang | 37dde5b | 2018-07-03 17:55:44 +0000 | [diff] [blame] | 29 | 'jinja2_revision': '45571de473282bd1d8b63a8dfcb1fd268d0635d2', |
Lei Zhang | 690faf7 | 2018-09-15 04:58:36 +0000 | [diff] [blame] | 30 | 'jpeg_turbo_revision': '61a2bbaa9aec89cb2c882d87ace6aba9aee49bb9', |
Dale Curtis | c758d9d | 2017-04-06 14:10:09 -0700 | [diff] [blame] | 31 | 'markupsafe_revision': '8f45f5cfa0009d2a70589bcda0349b8cb2b72783', |
Lei Zhang | 69066ab | 2018-10-29 20:44:27 +0000 | [diff] [blame] | 32 | 'pdfium_tests_revision': '5a68e87859476eb75d3e068bd406c4921a6be8e2', |
Lei Zhang | 042036d | 2018-11-10 05:55:54 +0000 | [diff] [blame] | 33 | 'skia_revision': '36b85be4944363139562664c964d6fde749babdb', |
Lei Zhang | 3658d6d | 2018-07-03 18:02:19 +0000 | [diff] [blame] | 34 | 'tools_memory_revision': 'f7b00daf4df7f6c469f5fbc68d7f40f6bd15d6e6', |
Lei Zhang | 27c8aef | 2018-07-03 17:55:04 +0000 | [diff] [blame] | 35 | 'trace_event_revision': '211b3ed9d0481b4caddbee1322321b86a483ca1f', |
Lei Zhang | d20b521 | 2018-11-14 01:00:23 +0000 | [diff] [blame] | 36 | 'v8_revision': 'd5f263024407cc8363474f5770362caaf3d66c87', |
Lei Zhang | ebfd26c | 2018-07-11 22:12:59 +0000 | [diff] [blame] | 37 | 'yasm_source_revision': '720b70524a4424b15fc57e82263568c8ba0496ad', |
Lei Zhang | 675f1ec | 2018-11-10 07:19:40 +0000 | [diff] [blame] | 38 | 'zlib_revision': 'dde5ce526c84143fb931a5191dd4623ae6d197d6', |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 39 | } |
| 40 | |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 41 | deps = { |
thestig | 5fec597 | 2016-08-30 06:39:40 -0700 | [diff] [blame] | 42 | "base/trace_event/common": |
| 43 | Var('chromium_git') + "/chromium/src/base/trace_event/common.git@" + |
| 44 | Var('trace_event_revision'), |
| 45 | |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 46 | "build": |
| 47 | Var('chromium_git') + "/chromium/src/build.git@" + Var('build_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 48 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 49 | "buildtools": |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 50 | Var('chromium_git') + "/chromium/buildtools.git@" + |
| 51 | Var('buildtools_revision'), |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 52 | |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 53 | "testing/corpus": |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 54 | Var('pdfium_git') + "/pdfium_tests@" + Var('pdfium_tests_revision'), |
Tom Sepez | 9519ab2 | 2015-03-16 15:27:19 -0700 | [diff] [blame] | 55 | |
Lei Zhang | dfc0843 | 2017-12-21 07:37:15 +0000 | [diff] [blame] | 56 | "third_party/binutils": |
| 57 | Var('chromium_git') + "/chromium/src/third_party/binutils.git@" + |
| 58 | Var('binutils_revision'), |
| 59 | |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 60 | 'third_party/depot_tools': |
| 61 | Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + |
| 62 | Var('depot_tools_revision'), |
| 63 | |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 64 | "third_party/freetype/src": |
| 65 | Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' + |
| 66 | Var('freetype_revision'), |
| 67 | |
Lei Zhang | c551427 | 2018-03-22 05:19:14 +0000 | [diff] [blame] | 68 | "third_party/googletest/src": |
| 69 | Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + |
| 70 | Var('gtest_revision'), |
| 71 | |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 72 | "third_party/icu": |
| 73 | Var('chromium_git') + "/chromium/deps/icu.git@" + Var('icu_revision'), |
| 74 | |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 75 | "third_party/instrumented_libraries": |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 76 | Var('chromium_git') + |
| 77 | "/chromium/src/third_party/instrumented_libraries.git@" + |
| 78 | Var('instrumented_lib_revision'), |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 79 | |
Dale Curtis | c758d9d | 2017-04-06 14:10:09 -0700 | [diff] [blame] | 80 | "third_party/jinja2": |
| 81 | Var('chromium_git') + "/chromium/src/third_party/jinja2.git@" + |
| 82 | Var('jinja2_revision'), |
| 83 | |
| 84 | "third_party/markupsafe": |
| 85 | Var('chromium_git') + "/chromium/src/third_party/markupsafe.git@" + |
| 86 | Var('markupsafe_revision'), |
| 87 | |
Lei Zhang | 0e5d892 | 2017-04-06 21:43:50 -0700 | [diff] [blame] | 88 | "third_party/libjpeg_turbo": |
| 89 | Var('chromium_git') + "/chromium/deps/libjpeg_turbo.git@" + |
| 90 | Var('jpeg_turbo_revision'), |
| 91 | |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 92 | "third_party/skia": |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 93 | Var('chromium_git') + '/skia.git@' + Var('skia_revision'), |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 94 | |
Lei Zhang | a2af7de | 2017-03-31 13:33:12 -0700 | [diff] [blame] | 95 | "third_party/zlib": |
| 96 | Var('chromium_git') + "/chromium/src/third_party/zlib.git@" + |
| 97 | Var('zlib_revision'), |
| 98 | |
Lei Zhang | 0e5d892 | 2017-04-06 21:43:50 -0700 | [diff] [blame] | 99 | 'third_party/yasm/source/patched-yasm': |
| 100 | Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git@' + |
| 101 | Var('yasm_source_revision'), |
| 102 | |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 103 | "tools/clang": |
weili | b34d72b | 2016-04-18 12:24:36 -0700 | [diff] [blame] | 104 | Var('chromium_git') + "/chromium/src/tools/clang@" + Var('clang_revision'), |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 105 | |
Ryan Harrison | a7b65b8 | 2018-05-30 19:56:11 +0000 | [diff] [blame] | 106 | "tools/code_coverage": |
| 107 | Var('chromium_git') + "/chromium/src/tools/code_coverage.git@" + |
| 108 | Var('code_coverage_revision'), |
| 109 | |
dsinclair | fb96900 | 2016-05-31 12:55:32 -0700 | [diff] [blame] | 110 | "tools/memory": |
| 111 | Var('chromium_git') + "/chromium/src/tools/memory@" + |
| 112 | Var('tools_memory_revision'), |
| 113 | |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 114 | "v8": |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 115 | Var('chromium_git') + "/v8/v8.git@" + Var('v8_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 116 | } |
| 117 | |
| 118 | deps_os = { |
jbudorick | 7f3a15f | 2016-06-10 06:28:40 -0700 | [diff] [blame] | 119 | "android": { |
| 120 | "third_party/android_ndk": |
| 121 | Var('chromium_git') + "/android_ndk.git@" + Var('android_ndk_revision'), |
| 122 | "third_party/catapult": |
Lei Zhang | eb39cdb | 2017-03-31 12:26:15 -0700 | [diff] [blame] | 123 | Var('chromium_git') + |
| 124 | "/external/github.com/catapult-project/catapult.git@" + |
| 125 | Var('catapult_revision'), |
jbudorick | 7f3a15f | 2016-06-10 06:28:40 -0700 | [diff] [blame] | 126 | }, |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 127 | "win": { |
John Abd-El-Malek | fe45372 | 2014-10-16 15:32:26 -0700 | [diff] [blame] | 128 | "v8/third_party/cygwin": |
Dan Sinclair | a03c343 | 2016-03-16 15:35:20 -0400 | [diff] [blame] | 129 | Var('chromium_git') + "/chromium/deps/cygwin@" + Var('cygwin_revision'), |
Aneesh Mulye | 2ee9c3a | 2014-08-06 18:11:02 -0700 | [diff] [blame] | 130 | }, |
| 131 | } |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 132 | |
thestig | 3873f30 | 2016-09-28 17:39:26 -0700 | [diff] [blame] | 133 | recursedeps = [ |
| 134 | # buildtools provides clang_format, libc++, and libc++abi |
| 135 | 'buildtools', |
| 136 | ] |
| 137 | |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 138 | include_rules = [ |
Lei Zhang | 8fec3e4 | 2015-11-04 15:32:02 -0800 | [diff] [blame] | 139 | # Basic stuff that everyone can use. |
| 140 | # Note: public is not here because core cannot depend on public. |
Lei Zhang | 2617056 | 2018-04-17 17:01:52 +0000 | [diff] [blame] | 141 | '+constants', |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 142 | '+testing', |
| 143 | '+third_party/base', |
Tom Sepez | 4c0e275 | 2015-06-05 13:46:08 -0700 | [diff] [blame] | 144 | ] |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 145 | |
weili | 90c964f | 2016-04-22 15:25:14 -0700 | [diff] [blame] | 146 | specific_include_rules = { |
| 147 | # Allow embedder tests to use public APIs. |
| 148 | "(.*embeddertest\.cpp)": [ |
| 149 | "+public", |
| 150 | ] |
| 151 | } |
| 152 | |
Tom Sepez | 0c1bd7c | 2015-06-17 15:56:43 -0700 | [diff] [blame] | 153 | hooks = [ |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 154 | { |
dsinclair | b4e8708 | 2016-04-20 12:18:16 -0700 | [diff] [blame] | 155 | 'name': 'gn_win', |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 156 | 'action': [ 'download_from_google_storage', |
| 157 | '--no_resume', |
| 158 | '--platform=win32', |
| 159 | '--no_auth', |
| 160 | '--bucket', 'chromium-gn', |
| 161 | '-s', 'pdfium/buildtools/win/gn.exe.sha1', |
| 162 | ], |
| 163 | }, |
| 164 | { |
| 165 | 'name': 'gn_mac', |
| 166 | 'pattern': '.', |
| 167 | 'action': [ 'download_from_google_storage', |
| 168 | '--no_resume', |
| 169 | '--platform=darwin', |
| 170 | '--no_auth', |
| 171 | '--bucket', 'chromium-gn', |
| 172 | '-s', 'pdfium/buildtools/mac/gn.sha1', |
| 173 | ], |
| 174 | }, |
| 175 | { |
| 176 | 'name': 'gn_linux64', |
| 177 | 'pattern': '.', |
| 178 | 'action': [ 'download_from_google_storage', |
| 179 | '--no_resume', |
| 180 | '--platform=linux*', |
| 181 | '--no_auth', |
| 182 | '--bucket', 'chromium-gn', |
| 183 | '-s', 'pdfium/buildtools/linux64/gn.sha1', |
| 184 | ], |
| 185 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 186 | # Pull clang-format binaries using checked-in hashes. |
| 187 | { |
| 188 | 'name': 'clang_format_win', |
| 189 | 'pattern': '.', |
| 190 | 'action': [ 'download_from_google_storage', |
| 191 | '--no_resume', |
| 192 | '--platform=win32', |
| 193 | '--no_auth', |
| 194 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 195 | '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 196 | ], |
| 197 | }, |
| 198 | { |
| 199 | 'name': 'clang_format_mac', |
| 200 | 'pattern': '.', |
| 201 | 'action': [ 'download_from_google_storage', |
| 202 | '--no_resume', |
| 203 | '--platform=darwin', |
| 204 | '--no_auth', |
| 205 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 206 | '-s', 'pdfium/buildtools/mac/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 207 | ], |
| 208 | }, |
| 209 | { |
| 210 | 'name': 'clang_format_linux', |
| 211 | 'pattern': '.', |
| 212 | 'action': [ 'download_from_google_storage', |
| 213 | '--no_resume', |
| 214 | '--platform=linux*', |
| 215 | '--no_auth', |
| 216 | '--bucket', 'chromium-clang-format', |
Oliver Chang | 5a21e14 | 2015-10-21 15:19:20 -0700 | [diff] [blame] | 217 | '-s', 'pdfium/buildtools/linux64/clang-format.sha1', |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 218 | ], |
| 219 | }, |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 220 | { |
dsinclair | b12fbdde | 2016-09-19 10:45:14 -0700 | [diff] [blame] | 221 | # Pull clang |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 222 | 'name': 'clang', |
| 223 | 'pattern': '.', |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 224 | 'action': ['python', |
dsinclair | b12fbdde | 2016-09-19 10:45:14 -0700 | [diff] [blame] | 225 | 'pdfium/tools/clang/scripts/update.py' |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 226 | ], |
Oliver Chang | afaa98e | 2015-10-21 15:29:47 -0700 | [diff] [blame] | 227 | }, |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 228 | { |
Lei Zhang | dfc0843 | 2017-12-21 07:37:15 +0000 | [diff] [blame] | 229 | 'name': 'binutils', |
| 230 | 'pattern': 'src/third_party/binutils', |
| 231 | 'condition': 'host_os == "linux"', |
| 232 | 'action': [ |
| 233 | 'python', |
| 234 | 'pdfium/third_party/binutils/download.py', |
| 235 | ], |
| 236 | }, |
| 237 | { |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 238 | 'name': 'sysroot_arm', |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 239 | 'pattern': '.', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 240 | 'condition': 'checkout_linux and checkout_arm', |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 241 | 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
Lei Zhang | 728127c | 2018-02-16 19:26:20 +0000 | [diff] [blame] | 242 | '--arch=arm'], |
| 243 | }, |
| 244 | { |
| 245 | 'name': 'sysroot_arm64', |
| 246 | 'pattern': '.', |
| 247 | 'condition': 'checkout_linux and checkout_arm64', |
| 248 | 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
| 249 | '--arch=arm64'], |
| 250 | }, |
| 251 | { |
| 252 | 'name': 'sysroot_x86', |
| 253 | 'pattern': '.', |
| 254 | 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', |
| 255 | 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
| 256 | '--arch=x86'], |
| 257 | }, |
| 258 | { |
| 259 | 'name': 'sysroot_mips', |
| 260 | 'pattern': '.', |
| 261 | 'condition': 'checkout_linux and checkout_mips', |
| 262 | 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
| 263 | '--arch=mips'], |
| 264 | }, |
| 265 | { |
| 266 | 'name': 'sysroot_x64', |
| 267 | 'pattern': '.', |
| 268 | 'condition': 'checkout_linux and checkout_x64', |
| 269 | 'action': ['python', 'pdfium/build/linux/sysroot_scripts/install-sysroot.py', |
| 270 | '--arch=x64'], |
Tom Anderson | 19817af | 2017-07-18 18:00:18 -0700 | [diff] [blame] | 271 | }, |
| 272 | { |
Lei Zhang | 451c9b4 | 2018-02-21 10:35:20 +0000 | [diff] [blame] | 273 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 274 | 'name': 'ciopfs_linux', |
| 275 | 'pattern': '.', |
| 276 | 'condition': 'checkout_win and host_os == "linux"', |
| 277 | 'action': [ 'python', |
| 278 | 'pdfium/third_party/depot_tools/download_from_google_storage.py', |
| 279 | '--no_resume', |
| 280 | '--no_auth', |
| 281 | '--bucket', 'chromium-browser-clang/ciopfs', |
| 282 | '-s', 'pdfium/build/ciopfs.sha1', |
| 283 | ] |
| 284 | }, |
| 285 | { |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 286 | # Update the Windows toolchain if necessary. |
| 287 | 'name': 'win_toolchain', |
| 288 | 'pattern': '.', |
Lei Zhang | 63579f9 | 2017-12-21 19:18:00 -0800 | [diff] [blame] | 289 | 'condition': 'checkout_win', |
Lei Zhang | 451c9b4 | 2018-02-21 10:35:20 +0000 | [diff] [blame] | 290 | 'action': ['python', 'pdfium/build/vs_toolchain.py', 'update', '--force'], |
weili | 9a1b665 | 2016-04-28 15:26:45 -0700 | [diff] [blame] | 291 | }, |
weili | 62f3673 | 2016-10-14 16:59:40 -0700 | [diff] [blame] | 292 | { |
weili | 9053f19 | 2016-11-18 14:03:49 -0800 | [diff] [blame] | 293 | # Update the Mac toolchain if necessary. |
| 294 | 'name': 'mac_toolchain', |
| 295 | 'pattern': '.', |
| 296 | 'action': ['python', 'pdfium/build/mac_toolchain.py'], |
| 297 | }, |
Tom Anderson | 4e8edf5 | 2017-03-30 18:27:21 -0700 | [diff] [blame] | 298 | { |
Lei Zhang | ab384ed | 2017-12-21 08:00:44 +0000 | [diff] [blame] | 299 | 'name': 'msan_chained_origins', |
| 300 | 'pattern': '.', |
| 301 | 'condition': 'checkout_instrumented_libraries', |
| 302 | 'action': [ 'python', |
| 303 | 'pdfium/third_party/depot_tools/download_from_google_storage.py', |
| 304 | "--no_resume", |
| 305 | "--no_auth", |
| 306 | "--bucket", "chromium-instrumented-libraries", |
| 307 | "-s", "pdfium/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1", |
| 308 | ], |
| 309 | }, |
| 310 | { |
| 311 | 'name': 'msan_no_origins', |
| 312 | 'pattern': '.', |
| 313 | 'condition': 'checkout_instrumented_libraries', |
| 314 | 'action': [ 'python', |
| 315 | 'pdfium/third_party/depot_tools/download_from_google_storage.py', |
| 316 | "--no_resume", |
| 317 | "--no_auth", |
| 318 | "--bucket", "chromium-instrumented-libraries", |
| 319 | "-s", "pdfium/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1", |
| 320 | ], |
Tom Anderson | 4e8edf5 | 2017-03-30 18:27:21 -0700 | [diff] [blame] | 321 | }, |
Lei Zhang | d322062 | 2018-08-27 17:43:10 +0000 | [diff] [blame] | 322 | { |
| 323 | # Update LASTCHANGE. |
| 324 | 'name': 'lastchange', |
| 325 | 'pattern': '.', |
| 326 | 'action': ['python', 'pdfium/build/util/lastchange.py', |
| 327 | '-o', 'pdfium/build/util/LASTCHANGE'], |
| 328 | }, |
Tom Sepez | e9446f8 | 2015-08-13 15:51:43 -0700 | [diff] [blame] | 329 | ] |