1 # This file is automatically processed to create .DEPS.git which is the file 2 # that gclient uses under git. 3 # 4 # See http://code.google.com/p/chromium/wiki/UsingGit 5 # 6 # To test manually, run: 7 # python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir> 8 # where <gcliendir> is the absolute path to the directory containing the 9 # .gclient file (the parent of "src"). 10 # 11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run 12 # gclient sync 13 # Verify the thing happened you wanted. Then revert your .DEPS.git change 14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically 15 # updated by a bot when you modify this one. 16 # 17 # When adding a new dependency, please update the top-level .gitignore file 18 # to list the dependency's destination directory. 19 20 vars = { 21 # Use this googlecode_url variable only if there is an internal mirror for it. 22 # If you do not know, use the full path while defining your new deps entry. 23 "googlecode_url": "http://%s.googlecode.com/svn", 24 "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code", 25 "llvm_url": "http://src.chromium.org/llvm-project", 26 "llvm_git": "https://llvm.googlesource.com", 27 "libcxx_revision": "206024", 28 "libcxxabi_revision": "206024", 29 "webkit_trunk": "http://src.chromium.org/blink/trunk", 30 "nacl_trunk": "http://src.chromium.org/native_client/trunk", 31 "webkit_revision": "176561", 32 "chromium_git": "https://chromium.googlesource.com", 33 "chromiumos_git": "https://chromium.googlesource.com/chromiumos", 34 "pdfium_git": "https://pdfium.googlesource.com", 35 "skia_git": "https://skia.googlesource.com", 36 "swig_revision": "230490", 37 "nacl_revision": "13377", 38 # After changing nacl_revision, run 'glient sync' and check native_client/DEPS 39 # to update other nacl_*_revision's. 40 "nacl_tools_revision": "13077", # native_client/DEPS: tools_rev 41 "google_toolbox_for_mac_revision": "662", 42 "libaddressinput_revision": "293", 43 "libphonenumber_revision": "621", 44 "libvpx_revision": "278497", 45 "lss_revision": "26", 46 "sfntly_revision": "239", 47 "lighttpd_revision": "33737", 48 "skia_revision": "6b8f1ba1ef71a762e961c3a8bc8b344c88990a04", 49 # Three lines of non-changing comments so that 50 # the commit queue can handle CLs rolling Skia 51 # and V8 without interference from each other. 52 "v8_branch": "trunk", 53 "v8_revision": "21888", 54 # Three lines of non-changing comments so that 55 # the commit queue can handle CLs rolling WebRTC 56 # and V8 without interference from each other. 57 "webrtc_revision": "6496", 58 "jsoncpp_revision": "248", 59 "nss_revision": "277057", 60 # Three lines of non-changing comments so that 61 # the commit queue can handle CLs rolling swarming_client 62 # and whatever else without interference from each other. 63 "swarming_revision": "c333224ef8cf5cc41ab91f6ee9cb1fdbe3689f19", 64 # Three lines of non-changing comments so that 65 # the commit queue can handle CLs rolling openssl 66 # and whatever else without interference from each other. 67 "openssl_revision": "275836", 68 # Three lines of non-changing comments so that 69 # the commit queue can handle CLs rolling ANGLE 70 # and whatever else without interference from each other. 71 "angle_revision": "afeeda9391c1f3fc0c35c04fbc448480177059d8", 72 # Three lines of non-changing comments so that 73 # the commit queue can handle CLs rolling build tools 74 # and whatever else without interference from each other. 75 "buildtools_revision": "10a5251e71445a832953f1374bbbbe60ad019144", 76 # Three lines of non-changing comments so that 77 # the commit queue can handle CLs rolling PDFIum 78 # and whatever else without interference from each other. 79 "pdfium_revision": "9e16edd0ffb834e87da76fe6b0fe4aef39312685", 80 # Three lines of non-changing comments so that 81 # the commit queue can handle CLs rolling openmax_dl 82 # and whatever else without interference from each other. 83 "openmax_dl_revision": "6483", 84 } 85 86 deps = { 87 "src/breakpad/src": 88 (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1338", 89 90 "src/buildtools": 91 Var("chromium_git") + "/chromium/buildtools.git@" + 92 Var("buildtools_revision"), 93 94 "src/sdch/open-vcdiff": 95 (Var("googlecode_url") % "open-vcdiff") + "/trunk@42", 96 97 "src/testing/gtest": 98 (Var("googlecode_url") % "googletest") + "/trunk@643", 99 100 "src/testing/gmock": 101 (Var("googlecode_url") % "googlemock") + "/trunk@410", 102 103 "src/third_party/angle": 104 Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"), 105 106 "src/third_party/colorama/src": 107 Var("chromium_git") + "/external/colorama.git@799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8", 108 109 "src/third_party/trace-viewer": 110 (Var("googlecode_url") % "trace-viewer") + "/trunk@1281", 111 112 "src/third_party/WebKit": 113 Var("webkit_trunk") + "@" + Var("webkit_revision"), 114 115 "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": 116 Var("chromium_git") + 117 "/external/w3c/web-platform-tests.git@6bed4516fe8522d65512c76ef02e4f0ae8234395", 118 119 "src/third_party/WebKit/LayoutTests/w3c/csswg-test": 120 Var("chromium_git") + 121 "/external/w3c/csswg-test.git@bacbb4a8dca702cd86646761fde96793db13d4f1", 122 123 "src/third_party/icu": 124 "/trunk/deps/third_party/icu46@262949", 125 126 "src/third_party/libexif/sources": 127 "/trunk/deps/third_party/libexif/sources@265008", 128 129 "src/third_party/hunspell": 130 "/trunk/deps/third_party/hunspell@256272", 131 132 "src/third_party/hunspell_dictionaries": 133 "/trunk/deps/third_party/hunspell_dictionaries@255132", 134 135 "src/third_party/safe_browsing/testing": 136 (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112", 137 138 "src/third_party/cacheinvalidation/src": 139 (Var("googlecode_url") % "google-cache-invalidation-api") + 140 "/trunk/src@331", 141 142 "src/third_party/leveldatabase/src": 143 (Var("googlecode_url") % "leveldb") + "/trunk@80", 144 145 "src/third_party/libc++/trunk": 146 Var("llvm_url") + "/libcxx/trunk@" + Var("libcxx_revision"), 147 148 "src/third_party/libc++abi/trunk": 149 Var("llvm_url") + "/libcxxabi/trunk@" + Var("libcxxabi_revision"), 150 151 "src/third_party/snappy/src": 152 (Var("googlecode_url") % "snappy") + "/trunk@80", 153 154 "src/tools/grit": 155 (Var("googlecode_url") % "grit-i18n") + "/trunk@169", 156 157 "src/tools/gyp": 158 (Var("googlecode_url") % "gyp") + "/trunk@1944", 159 160 "src/tools/swarming_client": 161 Var("chromium_git") + "/external/swarming.client.git@" + 162 Var("swarming_revision"), 163 164 "src/v8": 165 (Var("googlecode_url") % "v8") + "/" + Var("v8_branch") + "@" + 166 Var("v8_revision"), 167 168 "src/native_client": 169 Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"), 170 171 "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": 172 Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" + 173 Var("nacl_revision"), 174 175 "src/third_party/sfntly/cpp/src": 176 (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" + 177 Var("sfntly_revision"), 178 179 "src/third_party/skia": 180 Var("chromium_git") + "/skia.git@" + Var("skia_revision"), 181 182 "src/third_party/ots": 183 (Var("googlecode_url") % "ots") + "/trunk@113", 184 185 "src/third_party/brotli/src": 186 Var("chromium_git") + 187 "/external/font-compression-reference.git@6cef49677dc4c650ef6e3f56041e0a41803afa8c", 188 189 "src/tools/page_cycler/acid3": 190 "/trunk/deps/page_cycler/acid3@171600", 191 192 "src/chrome/test/data/perf/canvas_bench": 193 "/trunk/deps/canvas_bench@122605", 194 195 "src/chrome/test/data/perf/frame_rate/content": 196 "/trunk/deps/frame_rate/content@93671", 197 198 "src/third_party/bidichecker": 199 (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4", 200 201 "src/third_party/webgl/src": 202 Var("chromium_git") + 203 "/external/khronosgroup/webgl.git@0475a2763fc30cbed22740f8a9ef53a82f03b4ac", 204 205 "src/third_party/swig/Lib": 206 "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"), 207 208 # Make sure you update the two functional.DEPS and webdriver.DEPS too. 209 "src/third_party/webdriver/pylib": 210 (Var("googlecode_url") % "selenium") + "/trunk/py@18337", 211 212 "src/third_party/libvpx": 213 "/trunk/deps/third_party/libvpx@" + 214 Var("libvpx_revision"), 215 216 "src/third_party/ffmpeg": 217 Var("chromium_git") + 218 "/chromium/third_party/ffmpeg.git@9caa384561d53a85b4d86bf6ab7426c1362914cf", 219 220 "src/third_party/libjingle/source/talk": 221 (Var("googlecode_url") % "webrtc") + "/trunk/talk@" + 222 Var("webrtc_revision"), 223 224 "src/third_party/usrsctp/usrsctplib": 225 (Var("googlecode_url") % "sctp-refimpl") + 226 "/trunk/KERN/usrsctp/usrsctplib@8875", 227 228 "src/third_party/libsrtp": 229 "/trunk/deps/third_party/libsrtp@261337", 230 231 "src/third_party/speex": 232 "/trunk/deps/third_party/speex@272757", 233 234 "src/third_party/yasm/source/patched-yasm": 235 "/trunk/deps/third_party/yasm/patched-yasm@167605", 236 237 "src/third_party/libjpeg_turbo": 238 "/trunk/deps/third_party/libjpeg_turbo@272637", 239 240 "src/third_party/flac": 241 "/trunk/deps/third_party/flac@222897", 242 243 "src/third_party/pyftpdlib/src": 244 (Var("googlecode_url") % "pyftpdlib") + "/trunk@977", 245 246 "src/third_party/scons-2.0.1": 247 Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" + 248 Var("nacl_tools_revision"), 249 250 "src/third_party/webrtc": 251 (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"), 252 253 "src/third_party/openmax_dl": 254 (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@" + Var("openmax_dl_revision"), 255 256 "src/third_party/jsoncpp/source/include": 257 (Var("sourceforge_url") % {"repo": "jsoncpp"}) + 258 "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"), 259 260 "src/third_party/jsoncpp/source/src/lib_json": 261 (Var("sourceforge_url") % {"repo": "jsoncpp"}) + 262 "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"), 263 264 "src/third_party/libyuv": 265 (Var("googlecode_url") % "libyuv") + "/trunk@1007", 266 267 "src/third_party/smhasher/src": 268 (Var("googlecode_url") % "smhasher") + "/trunk@152", 269 270 "src/third_party/libaddressinput/src/cpp": 271 (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" + 272 Var("libaddressinput_revision"), 273 "src/third_party/libaddressinput/src/testdata": 274 (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" + 275 Var("libaddressinput_revision"), 276 277 "src/third_party/libphonenumber/src/phonenumbers": 278 (Var("googlecode_url") % "libphonenumber") + 279 "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"), 280 "src/third_party/libphonenumber/src/test": 281 (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" + 282 Var("libphonenumber_revision"), 283 "src/third_party/libphonenumber/src/resources": 284 (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" + 285 Var("libphonenumber_revision"), 286 287 "src/tools/deps2git": 288 "/trunk/tools/deps2git@276439", 289 290 "src/third_party/clang_format/script": 291 Var("llvm_url") + "/cfe/trunk/tools/clang-format@206068", 292 293 "src/third_party/webpagereplay": 294 Var("chromium_git") + "/external/web-page-replay.git@" + 295 "b62c02d3b64cf00a2f65a82cca0721aa42c3d6ad", 296 297 "src/third_party/pywebsocket/src": 298 (Var("googlecode_url") % "pywebsocket") + "/trunk/src@790", 299 300 "src/third_party/opus/src": 301 "/trunk/deps/third_party/opus@256783", 302 303 "src/media/cdm/ppapi/api": 304 "/trunk/deps/cdm@273356", 305 306 "src/third_party/mesa/src": 307 "/trunk/deps/third_party/mesa@265279", 308 309 "src/third_party/cld_2/src": 310 (Var("googlecode_url") % "cld2") + "/trunk@161", 311 312 "src/chrome/browser/resources/pdf/html_office": 313 Var("chromium_git") + 314 "/chromium/html-office-public.git@eeff97614f65e0578529490d44d412032c3d7359", 315 316 "src/third_party/libwebm/source": 317 Var("chromium_git") + 318 "/webm/libwebm.git@8be63972fdd7ae8c041778f8ba674ade903395c9", 319 320 "src/third_party/openssl": 321 "/trunk/deps/third_party/openssl@" + Var("openssl_revision"), 322 323 "src/third_party/pdfium": 324 Var("pdfium_git") + "/pdfium.git@" + Var("pdfium_revision"), 325 } 326 327 328 deps_os = { 329 "win": { 330 "src/chrome/tools/test/reference_build/chrome_win": 331 "/trunk/deps/reference_builds/chrome_win@273882", 332 333 "src/third_party/cygwin": 334 "/trunk/deps/third_party/cygwin@231940", 335 336 "src/third_party/psyco_win32": 337 "/trunk/deps/third_party/psyco_win32@237949", 338 339 "src/third_party/bison": 340 "/trunk/deps/third_party/bison@147303", 341 342 "src/third_party/gperf": 343 "/trunk/deps/third_party/gperf@147304", 344 345 "src/third_party/perl": 346 "/trunk/deps/third_party/perl@147900", 347 348 "src/third_party/lighttpd": 349 "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"), 350 351 # Parses Windows PE/COFF executable format. 352 "src/third_party/pefile": 353 (Var("googlecode_url") % "pefile") + "/trunk@141", 354 355 # NSS, for SSLClientSocketNSS. 356 "src/third_party/nss": 357 "/trunk/deps/third_party/nss@" + Var("nss_revision"), 358 359 "src/third_party/swig/win": 360 "/trunk/deps/third_party/swig/win@" + Var("swig_revision"), 361 362 # GNU binutils assembler for x86-32. 363 "src/third_party/gnu_binutils": 364 (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" + 365 Var("nacl_tools_revision")), 366 # GNU binutils assembler for x86-64. 367 "src/third_party/mingw-w64/mingw/bin": 368 (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" + 369 Var("nacl_tools_revision")), 370 371 # Dependencies used by libjpeg-turbo 372 "src/third_party/yasm/binaries": 373 "/trunk/deps/third_party/yasm/binaries@154708", 374 375 # Binaries for nacl sdk. 376 "src/third_party/nacl_sdk_binaries": 377 "/trunk/deps/third_party/nacl_sdk_binaries@111576", 378 }, 379 "ios": { 380 "src/third_party/google_toolbox_for_mac/src": 381 (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" + 382 Var("google_toolbox_for_mac_revision"), 383 384 "src/third_party/nss": 385 "/trunk/deps/third_party/nss@" + Var("nss_revision"), 386 387 # class-dump utility to generate header files for undocumented SDKs 388 "src/testing/iossim/third_party/class-dump": 389 "/trunk/deps/third_party/class-dump@199203", 390 391 # Code that's not needed due to not building everything 392 "src/build/util/support": None, 393 "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None, 394 "src/chrome/test/data/perf/canvas_bench": None, 395 "src/chrome/test/data/perf/frame_rate/content": None, 396 "src/media/cdm/ppapi/api": None, 397 "src/native_client": None, 398 "src/native_client/src/third_party/ppapi": None, 399 "src/third_party/angle": None, 400 "src/third_party/bidichecker": None, 401 "src/third_party/brotli/src": None, 402 "src/third_party/cld_2/src": None, 403 "src/third_party/ffmpeg": None, 404 "src/third_party/hunspell_dictionaries": None, 405 "src/third_party/hunspell": None, 406 "src/third_party/libc++/trunk": None, 407 "src/third_party/libc++abi/trunk": None, 408 "src/third_party/libexif/sources": None, 409 "src/third_party/libjpeg_turbo": None, 410 "src/third_party/libsrtp": None, 411 "src/third_party/libvpx": None, 412 "src/third_party/libyuv": None, 413 "src/third_party/mesa/src": None, 414 "src/third_party/opus/src": None, 415 "src/third_party/openmax_dl": None, 416 "src/third_party/ots": None, 417 "src/third_party/pymox/src": None, 418 "src/third_party/safe_browsing/testing": None, 419 "src/third_party/scons-2.0.1": None, 420 "src/third_party/sfntly/cpp/src": None, 421 "src/third_party/speex": None, 422 "src/third_party/swig/Lib": None, 423 "src/third_party/usrsctp/usrsctplib": None, 424 "src/third_party/v8-i18n": None, 425 "src/third_party/webdriver/pylib": None, 426 "src/third_party/webgl": None, 427 "src/third_party/webpagereplay": None, 428 "src/third_party/webrtc": None, 429 "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests": None, 430 "src/third_party/WebKit/LayoutTests/w3c/csswg-test": None, 431 "src/third_party/yasm/source/patched-yasm": None, 432 "src/tools/page_cycler/acid3": None, 433 "src/v8": None, 434 }, 435 "mac": { 436 "src/chrome/tools/test/reference_build/chrome_mac": 437 "/trunk/deps/reference_builds/chrome_mac@273882", 438 439 "src/third_party/google_toolbox_for_mac/src": 440 (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" + 441 Var("google_toolbox_for_mac_revision"), 442 443 "src/third_party/pdfsqueeze": 444 (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5", 445 446 "src/third_party/lighttpd": 447 "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"), 448 449 "src/third_party/swig/mac": 450 "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"), 451 452 # NSS, for SSLClientSocketNSS. 453 "src/third_party/nss": 454 "/trunk/deps/third_party/nss@" + Var("nss_revision"), 455 456 "src/chrome/installer/mac/third_party/xz/xz": 457 "/trunk/deps/third_party/xz@233311", 458 }, 459 "unix": { 460 # Linux, really. 461 "src/chrome/tools/test/reference_build/chrome_linux": 462 "/trunk/deps/reference_builds/chrome_linux64@273882", 463 464 "src/third_party/xdg-utils": 465 "/trunk/deps/third_party/xdg-utils@203785", 466 467 "src/third_party/swig/linux": 468 "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"), 469 470 "src/third_party/lss": 471 ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" + 472 Var("lss_revision")), 473 474 # For Linux and Chromium OS. 475 "src/third_party/cros_system_api": 476 Var("chromiumos_git") + "/platform/system_api.git" + 477 "@ba73627b396a7773203a6c554ae2cc759d52eb2b", 478 479 # Note that this is different from Android's freetype repo. 480 "src/third_party/freetype2/src": 481 Var("chromium_git") + "/chromium/src/third_party/freetype2.git" + 482 "@d699c2994ecc178c4ed05ac2086061b2034c2178", 483 484 # Build tools for targeting ChromeOS. 485 "src/third_party/chromite": 486 Var("chromiumos_git") + "/chromite.git" + 487 "@df22fd72b22d1905af6e69d23ec373b69c9c75f6", 488 489 # Dependency of chromite.git. 490 "src/third_party/pyelftools": 491 Var("chromiumos_git") + "/third_party/pyelftools.git" + 492 "@bdc1d380acd88d4bfaf47265008091483b0d614e", 493 494 "src/third_party/undoview": 495 "/trunk/deps/third_party/undoview@119694", 496 497 "src/third_party/liblouis/src": 498 Var("chromium_git") + 499 "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5", 500 501 # Used for embedded builds. CrOS & Linux use the system version. 502 "src/third_party/fontconfig/src": 503 Var("chromium_git") + "/external/fontconfig.git" + 504 "@f16c3118e25546c1b749f9823c51827a60aeb5c1", 505 }, 506 "android": { 507 "src/third_party/android_tools": 508 Var("chromium_git") + "/android_tools.git" + 509 "@e91e44dc29517115794a72eea554616d067925ae", 510 511 "src/third_party/aosp": 512 "/trunk/deps/third_party/aosp@148330", 513 514 "src/third_party/apache-mime4j": 515 "/trunk/deps/third_party/apache-mime4j@170888", 516 517 "src/third_party/findbugs": 518 "/trunk/deps/third_party/findbugs@245039", 519 520 "src/third_party/freetype": 521 Var("chromium_git") + "/chromium/src/third_party/freetype.git" + 522 "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac", 523 524 "src/third_party/guava/src": 525 Var("chromium_git") + "/external/guava-libraries.git" + 526 "@c523556ab7d0f05afadebd20e7768d4c16af8771", 527 528 "src/third_party/elfutils/src": 529 Var("chromium_git") + "/external/elfutils.git" + 530 "@43a97297be82feab4b3176a094ed701ad3ccb308", 531 532 "src/third_party/httpcomponents-client": 533 "/trunk/deps/third_party/httpcomponents-client@170888", 534 535 "src/third_party/httpcomponents-core": 536 "/trunk/deps/third_party/httpcomponents-core@170888", 537 538 "src/third_party/jarjar": 539 "/trunk/deps/third_party/jarjar@170888", 540 541 "src/third_party/jsr-305/src": 542 (Var("googlecode_url") % "jsr-305") + "/trunk@51", 543 544 "src/third_party/lss": 545 ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" + 546 Var("lss_revision")), 547 548 "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille": 549 (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797", 550 }, 551 } 552 553 554 include_rules = [ 555 # Everybody can use some things. 556 "+base", 557 "+build", 558 "+ipc", 559 560 # Everybody can use headers generated by tools/generate_library_loader. 561 "+library_loaders", 562 563 "+testing", 564 "+third_party/icu/source/common/unicode", 565 "+third_party/icu/source/i18n/unicode", 566 "+url", 567 ] 568 569 570 # checkdeps.py shouldn't check include paths for files in these dirs: 571 skip_child_includes = [ 572 "breakpad", 573 "delegate_execute", 574 "metro_driver", 575 "native_client_sdk", 576 "o3d", 577 "sdch", 578 "skia", 579 "testing", 580 "third_party", 581 "v8", 582 "win8", 583 ] 584 585 586 hooks = [ 587 { 588 # This downloads binaries for Native Client's newlib toolchain. 589 # Done in lieu of building the toolchain from scratch as it can take 590 # anywhere from 30 minutes to 4 hours depending on platform to build. 591 "name": "nacltools", 592 "pattern": ".", 593 "action": [ 594 "python", "src/build/download_nacl_toolchains.py", 595 "--exclude", "arm_trusted", 596 ], 597 }, 598 { 599 # Downloads an ARM sysroot image to src/arm-sysroot. This image updates 600 # at about the same rate that the chrome build deps change. 601 # This script is a no-op except for linux users who have 602 # target_arch=arm in their GYP_DEFINES. 603 "name": "sysroot", 604 "pattern": ".", 605 "action": ["python", "src/build/linux/install-arm-sysroot.py", 606 "--linux-only"], 607 }, 608 { 609 # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed. 610 # This sysroot updates at about the same rate that the chrome build deps 611 # change. This script is a no-op except for linux users who are doing 612 # official chrome builds. 613 "name": "sysroot", 614 "pattern": ".", 615 "action": [ 616 "python", 617 "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py", 618 "--linux-only", 619 "--arch=amd64"], 620 }, 621 { 622 # Same as above, but for 32-bit Linux. 623 "name": "sysroot", 624 "pattern": ".", 625 "action": [ 626 "python", 627 "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py", 628 "--linux-only", 629 "--arch=i386"], 630 }, 631 { 632 # Pull clang if on Mac or clang is requested via GYP_DEFINES. 633 "name": "clang", 634 "pattern": ".", 635 "action": ["python", "src/tools/clang/scripts/update.py", "--if-needed"], 636 }, 637 { 638 # Update the Windows toolchain if necessary. 639 "name": "win_toolchain", 640 "pattern": ".", 641 "action": ["python", "src/build/vs_toolchain.py", "update"], 642 }, 643 { 644 # Update LASTCHANGE. This is also run by export_tarball.py in 645 # src/tools/export_tarball - please keep them in sync. 646 "name": "lastchange", 647 "pattern": ".", 648 "action": ["python", "src/build/util/lastchange.py", 649 "-o", "src/build/util/LASTCHANGE"], 650 }, 651 { 652 # Update LASTCHANGE.blink. This is also run by export_tarball.py in 653 # src/tools/export_tarball - please keep them in sync. 654 "name": "lastchange", 655 "pattern": ".", 656 "action": ["python", "src/build/util/lastchange.py", 657 "-s", "src/third_party/WebKit", 658 "-o", "src/build/util/LASTCHANGE.blink"], 659 }, 660 # Pull GN binaries. This needs to be before running GYP below. 661 { 662 "name": "gn_win", 663 "pattern": ".", 664 "action": [ "download_from_google_storage", 665 "--no_resume", 666 "--platform=win32", 667 "--no_auth", 668 "--bucket", "chromium-gn", 669 "-s", "src/buildtools/win/gn.exe.sha1", 670 ], 671 }, 672 { 673 "name": "gn_mac", 674 "pattern": ".", 675 "action": [ "download_from_google_storage", 676 "--no_resume", 677 "--platform=darwin", 678 "--no_auth", 679 "--bucket", "chromium-gn", 680 "-s", "src/buildtools/mac/gn.sha1", 681 ], 682 }, 683 { 684 "name": "gn_linux32", 685 "pattern": ".", 686 "action": [ "download_from_google_storage", 687 "--no_resume", 688 "--platform=linux*", 689 "--no_auth", 690 "--bucket", "chromium-gn", 691 "-s", "src/buildtools/linux32/gn.sha1", 692 ], 693 }, 694 { 695 "name": "gn_linux64", 696 "pattern": ".", 697 "action": [ "download_from_google_storage", 698 "--no_resume", 699 "--platform=linux*", 700 "--no_auth", 701 "--bucket", "chromium-gn", 702 "-s", "src/buildtools/linux64/gn.sha1", 703 ], 704 }, 705 # Pull GN binaries (old location). TODO(brettw) remove this after a transition 706 # period while we move the binaries from tools/gn/bin to buildtools. 707 { 708 "name": "gn_old_win", 709 "pattern": ".", 710 "action": [ "download_from_google_storage", 711 "--no_resume", 712 "--platform=win32", 713 "--no_auth", 714 "--bucket", "chromium-gn", 715 "-s", "src/tools/gn/bin/win/gn.exe.sha1", 716 ], 717 }, 718 { 719 "name": "gn_old_mac", 720 "pattern": ".", 721 "action": [ "download_from_google_storage", 722 "--no_resume", 723 "--platform=darwin", 724 "--no_auth", 725 "--bucket", "chromium-gn", 726 "-s", "src/tools/gn/bin/mac/gn.sha1", 727 ], 728 }, 729 { 730 "name": "gn_old_linux", 731 "pattern": ".", 732 "action": [ "download_from_google_storage", 733 "--no_resume", 734 "--platform=linux*", 735 "--no_auth", 736 "--bucket", "chromium-gn", 737 "-s", "src/tools/gn/bin/linux/gn.sha1", 738 ], 739 }, 740 { 741 "name": "gn_old_linux32", 742 "pattern": ".", 743 "action": [ "download_from_google_storage", 744 "--no_resume", 745 "--platform=linux*", 746 "--no_auth", 747 "--bucket", "chromium-gn", 748 "-s", "src/tools/gn/bin/linux/gn32.sha1", 749 ], 750 }, 751 # Pull clang-format binaries using checked-in hashes. 752 { 753 "name": "clang_format_win", 754 "pattern": ".", 755 "action": [ "download_from_google_storage", 756 "--no_resume", 757 "--platform=win32", 758 "--no_auth", 759 "--bucket", "chromium-clang-format", 760 "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1", 761 ], 762 }, 763 { 764 "name": "clang_format_mac", 765 "pattern": ".", 766 "action": [ "download_from_google_storage", 767 "--no_resume", 768 "--platform=darwin", 769 "--no_auth", 770 "--bucket", "chromium-clang-format", 771 "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1", 772 ], 773 }, 774 { 775 "name": "clang_format_linux", 776 "pattern": ".", 777 "action": [ "download_from_google_storage", 778 "--no_resume", 779 "--platform=linux*", 780 "--no_auth", 781 "--bucket", "chromium-clang-format", 782 "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1", 783 ], 784 }, 785 # Pull binutils for linux, enabled debug fission for faster linking / 786 # debugging when used with clang on Ubuntu Precise. 787 # https://code.google.com/p/chromium/issues/detail?id=352046 788 { 789 "name": "binutils", 790 "pattern": "src/third_party/binutils", 791 "action": [ 792 "python", 793 "src/third_party/binutils/download.py", 794 ], 795 }, 796 # Pull eu-strip binaries using checked-in hashes. 797 { 798 "name": "eu-strip", 799 "pattern": ".", 800 "action": [ "download_from_google_storage", 801 "--no_resume", 802 "--platform=linux*", 803 "--no_auth", 804 "--bucket", "chromium-eu-strip", 805 "-s", "src/build/linux/bin/eu-strip.sha1", 806 ], 807 }, 808 { 809 "name": "drmemory", 810 "pattern": ".", 811 "action": [ "download_from_google_storage", 812 "--no_resume", 813 "--platform=win32", 814 "--no_auth", 815 "--bucket", "chromium-drmemory", 816 "-s", "src/third_party/drmemory/drmemory-windows-sfx.exe.sha1", 817 ], 818 }, 819 # Pull the Syzygy binaries, used for optimization and instrumentation. 820 { 821 "name": "syzygy-binaries", 822 "pattern": ".", 823 "action": ["python", 824 "src/build/get_syzygy_binaries.py", 825 "--output-dir=src/third_party/syzygy/binaries", 826 "--revision=b08fb72610963d31cc3eae33f746a04e263bd860", 827 "--overwrite", 828 ], 829 }, 830 { 831 "name": "apache_win32", 832 "pattern": "\\.sha1", 833 "action": [ "download_from_google_storage", 834 "--no_resume", 835 "--platform=win32", 836 "--directory", 837 "--recursive", 838 "--no_auth", 839 "--num_threads=16", 840 "--bucket", "chromium-apache-win32", 841 "src/third_party/apache-win32", 842 ], 843 }, 844 { 845 # A change to a .gyp, .gypi, or to GYP itself should run the generator. 846 "name": "gyp", 847 "pattern": ".", 848 "action": ["python", "src/build/gyp_chromium"], 849 }, 850 ] 851