DEPS 20.3 KB
Newer Older
1 2 3 4 5 6 7 8
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.

vars = {
  # Use this googlecode_url variable only if there is an internal mirror for it.
  # If you do not know, use the full path while defining your new deps entry.
  "googlecode_url": "http://%s.googlecode.com/svn",
  "sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
9
  "webkit_trunk": "http://src.chromium.org/blink/trunk",
10
  "nacl_trunk": "http://src.chromium.org/native_client/trunk",
11
  "webkit_revision": "153499",
12 13
  "chromium_git": "https://chromium.googlesource.com",
  "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
14
  "swig_revision": "69281",
15
  "nacl_revision": "11624",
16 17
  # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
  # to update other nacl_*_revision's.
18
  "nacl_tools_revision": "11437",  # native_client/DEPS: tools_rev
19
  "gtm_revision": "616",
20

21 22 23
  "libjingle_revision": "359",
  "libphonenumber_revision": "584",
  "libvpx_revision": "208227",
24
  "lss_revision": "20",
25 26 27

  # These two FFmpeg variables must be updated together.  One is used for SVN
  # checkouts and the other for Git checkouts.
28 29
  "ffmpeg_revision": "203786",
  "ffmpeg_hash": "245a8c0cdfdd5ab3da9045089661017e9ddd8d0e",
30 31

  "sfntly_revision": "134",
32
  "skia_revision": "9878",
33 34 35
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling Skia
  # and V8 without interference from each other.
36
  "v8_revision": "15448",
37 38 39
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling WebRTC
  # and V8 without interference from each other.
40
  "webrtc_revision": "4262",
41
  "jsoncpp_revision": "248",
42
  "nss_revision": "209026",
43 44 45
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling swarm_client
  # and whatever else without interference from each other.
46
  "swarm_revision": "208922",
47 48 49
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling openssl
  # and whatever else without interference from each other.
50
  "openssl_revision": "207965",
51 52 53 54
}

deps = {
  "src/breakpad/src":
55
    (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1199",
56 57

  "src/googleurl":
58
    (Var("googlecode_url") % "google-url") + "/trunk@185",
59 60 61 62 63

  "src/sdch/open-vcdiff":
    (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",

  "src/testing/gtest":
64
    (Var("googlecode_url") % "googletest") + "/trunk@629",
65 66

  "src/testing/gmock":
67
    (Var("googlecode_url") % "googlemock") + "/trunk@410",
68

69
  "src/third_party/angle_dx11":
70 71
    Var("chromium_git") +
    "/external/angle.git@9b344317b2ced9123da6e0e55aeb75e8abca84c5",
72 73

  "src/third_party/trace-viewer":
74
    (Var("googlecode_url") % "trace-viewer") + "/trunk@673",
75 76

  "src/third_party/WebKit":
77
    Var("webkit_trunk") + "@" + Var("webkit_revision"),
78 79

  "src/third_party/icu":
80
    "/trunk/deps/third_party/icu46@205936",
81 82 83 84 85

  "src/third_party/libexif/sources":
    "/trunk/deps/third_party/libexif/sources@146817",

  "src/third_party/hunspell":
86
   "/trunk/deps/third_party/hunspell@206172",
87 88

  "src/third_party/hunspell_dictionaries":
89
    "/trunk/deps/third_party/hunspell_dictionaries@193701",
90 91 92 93 94 95

  "src/third_party/safe_browsing/testing":
    (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",

  "src/third_party/cacheinvalidation/src":
    (Var("googlecode_url") % "google-cache-invalidation-api") +
96
    "/trunk/src@309",
97 98

  "src/third_party/leveldatabase/src":
99
    (Var("googlecode_url") % "leveldb") + "/trunk@75",
100 101

  "src/third_party/snappy/src":
102
    (Var("googlecode_url") % "snappy") + "/trunk@74",
103 104

  "src/tools/grit":
105
    (Var("googlecode_url") % "grit-i18n") + "/trunk@127",
106 107

  "src/tools/gyp":
108
    (Var("googlecode_url") % "gyp") + "/trunk@1654",
109 110

  "src/tools/swarm_client":
111
    "/trunk/tools/swarm_client@" + Var("swarm_revision"),
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136

  "src/v8":
    (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),

  "src/native_client":
    Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),

  "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
    Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
    Var("nacl_revision"),

  "src/third_party/sfntly/cpp/src":
    (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
    Var("sfntly_revision"),

  "src/third_party/skia/src":
    (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),

  "src/third_party/skia/gyp":
    (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),

  "src/third_party/skia/include":
    (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),

  "src/third_party/ots":
137
    (Var("googlecode_url") % "ots") + "/trunk@102",
138 139

  "src/tools/page_cycler/acid3":
140
    "/trunk/deps/page_cycler/acid3@171600",
141 142 143 144 145 146 147

  "src/chrome/test/data/perf/canvas_bench":
    "/trunk/deps/canvas_bench@122605",

  "src/chrome/test/data/perf/frame_rate/content":
    "/trunk/deps/frame_rate/content@93671",

148 149 150
  "src/chrome/test/data/perf/third_party/octane":
    (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",

151 152 153 154
  "src/third_party/bidichecker":
    (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",

  "src/third_party/v8-i18n":
155
    (Var("googlecode_url") % "v8-i18n") + "/trunk@191",
156 157 158 159

  # When roll to another webgl conformance tests revision, please goto
  # chrome/test/gpu and run generate_webgl_conformance_test_list.py.
  "src/third_party/webgl_conformance":
160
    "/trunk/deps/third_party/webgl/sdk/tests@202601",
161 162 163 164 165 166

  "src/third_party/swig/Lib":
    "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),

  # Make sure you update the two functional.DEPS and webdriver.DEPS too.
  "src/third_party/webdriver/pylib":
167
    (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
168 169 170 171 172 173 174 175 176 177 178 179 180

  "src/third_party/libvpx":
    "/trunk/deps/third_party/libvpx@" +
    Var("libvpx_revision"),

  "src/third_party/ffmpeg":
    "/trunk/deps/third_party/ffmpeg@" +
    Var("ffmpeg_revision"),

  "src/third_party/libjingle/source":
    (Var("googlecode_url") % "libjingle") + "/trunk@" +
    Var("libjingle_revision"),

181 182 183 184
  "src/third_party/usrsctp/usrsctplib":
    (Var("googlecode_url") % "sctp-refimpl") +
    "/trunk/KERN/usrsctp/usrsctplib@8463",

185
  "src/third_party/libsrtp":
186
    "/trunk/deps/third_party/libsrtp@189528",
187 188

  "src/third_party/speex":
189
    "/trunk/deps/third_party/speex@198168",
190 191

  "src/third_party/yasm/source/patched-yasm":
192
    "/trunk/deps/third_party/yasm/patched-yasm@167605",
193 194

  "src/third_party/libjpeg_turbo":
195
    "/trunk/deps/third_party/libjpeg_turbo@177737",
196 197

  "src/third_party/flac":
198
    "/trunk/deps/third_party/flac@198139",
199 200 201 202 203 204 205 206 207 208 209

  "src/third_party/pyftpdlib/src":
    (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",

  "src/third_party/scons-2.0.1":
    Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
        Var("nacl_tools_revision"),

  "src/third_party/webrtc":
    (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),

210
  "src/third_party/openmax_dl":
211
    (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@4261",
212

213 214 215 216 217 218 219 220 221
  "src/third_party/jsoncpp/source/include":
    (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
        "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),

  "src/third_party/jsoncpp/source/src/lib_json":
    (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
        "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),

  "src/third_party/libyuv":
222
    (Var("googlecode_url") % "libyuv") + "/trunk@723",
223 224

  "src/third_party/smhasher/src":
225
    (Var("googlecode_url") % "smhasher") + "/trunk@149",
226 227 228 229 230 231 232 233 234 235 236 237

  "src/third_party/libphonenumber/src/phonenumbers":
     (Var("googlecode_url") % "libphonenumber") +
         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
  "src/third_party/libphonenumber/src/test":
     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
         Var("libphonenumber_revision"),
  "src/third_party/libphonenumber/src/resources":
     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
         Var("libphonenumber_revision"),

  "src/tools/deps2git":
238
    "/trunk/tools/deps2git@202885",
239 240

  "src/third_party/webpagereplay":
241
    (Var("googlecode_url") % "web-page-replay") + "/trunk@516",
242 243 244 245 246

  "src/third_party/pywebsocket/src":
    (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",

  "src/third_party/opus/src":
247 248 249 250 251
    "/trunk/deps/third_party/opus@185324",

  "src/third_party/accessibility-developer-tools":
    Var("chromium_git") + "/external/accessibility-developer-tools.git@ad5df9a5341d38778658c90e4aa241c4ebe4e8aa",

252
  "src/webkit/renderer/media/crypto/ppapi/cdm":
253
    "/trunk/deps/cdm@181763",
254 255

  "src/third_party/mesa/src":
256
    "/trunk/deps/third_party/mesa@207256",
257 258 259 260 261 262
}


deps_os = {
  "win": {
    "src/chrome/tools/test/reference_build/chrome_win":
263
      "/trunk/deps/reference_builds/chrome_win@197743",
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318

    "src/third_party/cygwin":
      "/trunk/deps/third_party/cygwin@133786",

    "src/third_party/python_26":
      "/trunk/tools/third_party/python_26@89111",

    "src/third_party/psyco_win32":
      "/trunk/deps/third_party/psyco_win32@79861",

    "src/third_party/bison":
      "/trunk/deps/third_party/bison@147303",

    "src/third_party/gperf":
      "/trunk/deps/third_party/gperf@147304",

    "src/third_party/perl":
      "/trunk/deps/third_party/perl@147900",

    "src/third_party/lighttpd":
      "/trunk/deps/third_party/lighttpd@33727",

    # Chrome Frame related deps
    "src/third_party/xulrunner-sdk":
      "/trunk/deps/third_party/xulrunner-sdk@119756",
    "src/chrome_frame/tools/test/reference_build/chrome_win":
      "/trunk/deps/reference_builds/chrome_win@89574",

    # Parses Windows PE/COFF executable format.
    "src/third_party/pefile":
      (Var("googlecode_url") % "pefile") + "/trunk@63",

    # NSS, for SSLClientSocketNSS.
    "src/third_party/nss":
      "/trunk/deps/third_party/nss@" + Var("nss_revision"),

    "src/third_party/swig/win":
      "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),

    # GNU binutils assembler for x86-32.
    "src/third_party/gnu_binutils":
      (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
       Var("nacl_tools_revision")),
    # GNU binutils assembler for x86-64.
    "src/third_party/mingw-w64/mingw/bin":
      (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
       Var("nacl_tools_revision")),

    # Dependencies used by libjpeg-turbo
    "src/third_party/yasm/binaries":
      "/trunk/deps/third_party/yasm/binaries@154708",

    # Binary level profile guided optimizations. This points to the
    # latest release binaries for the toolchain.
    "src/third_party/syzygy/binaries":
319
      (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1584",
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334

    # Binaries for nacl sdk.
    "src/third_party/nacl_sdk_binaries":
      "/trunk/deps/third_party/nacl_sdk_binaries@111576",
  },
  "ios": {
    "src/third_party/GTM":
      (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
      Var("gtm_revision"),

    "src/third_party/nss":
      "/trunk/deps/third_party/nss@" + Var("nss_revision"),

    # class-dump utility to generate header files for undocumented SDKs
    "src/testing/iossim/third_party/class-dump":
335
      "/trunk/deps/third_party/class-dump@199203",
336

337
    # Code that's not needed due to not building everything
338 339 340 341 342 343 344
    "src/build/util/support": None,
    "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
    "src/chrome/test/data/perf/canvas_bench": None,
    "src/chrome/test/data/perf/frame_rate/content": None,
    "src/native_client": None,
    "src/native_client/src/third_party/ppapi": None,
    "src/third_party/angle": None,
345
    "src/third_party/angle_dx11": None,
346 347 348 349 350 351 352 353 354 355 356 357
    "src/third_party/bidichecker": None,
    "src/third_party/webgl_conformance": None,
    "src/third_party/ffmpeg": None,
    "src/third_party/hunspell_dictionaries": None,
    "src/third_party/hunspell": None,
    "src/third_party/leveldatabase/src": None,
    "src/third_party/libexif/sources": None,
    "src/third_party/libjpeg_turbo": None,
    "src/third_party/libphonenumber/src/phonenumbers": None,
    "src/third_party/libphonenumber/src/test": None,
    "src/third_party/libphonenumber/src/resources": None,
    "src/third_party/libsrtp": None,
358
    "src/third_party/usrsctp/usrsctplib": None,
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
    "src/third_party/libvpx": None,
    "src/third_party/libyuv": None,
    "src/third_party/ots": None,
    "src/third_party/pylib": None,
    "src/third_party/pymox/src": None,
    "src/third_party/safe_browsing/testing": None,
    "src/third_party/scons-2.0.1": None,
    "src/third_party/sfntly/cpp/src": None,
    "src/third_party/smhasher/src": None,
    "src/third_party/snappy/src": None,
    "src/third_party/swig/Lib": None,
    "src/third_party/undoview": None,
    "src/third_party/v8-i18n": None,
    "src/third_party/webdriver/pylib": None,
    "src/third_party/webpagereplay": None,
    "src/third_party/webrtc": None,
    "src/third_party/yasm/source/patched-yasm": None,
    "src/tools/page_cycler/acid3": None,
    "src/v8": None,
  },
  "mac": {
    "src/chrome/tools/test/reference_build/chrome_mac":
381
      "/trunk/deps/reference_builds/chrome_mac@197743",
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398

    "src/third_party/GTM":
      (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
      Var("gtm_revision"),
    "src/third_party/pdfsqueeze":
      (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
    "src/third_party/lighttpd":
      "/trunk/deps/third_party/lighttpd@33737",

    "src/third_party/swig/mac":
      "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),

    # NSS, for SSLClientSocketNSS.
    "src/third_party/nss":
      "/trunk/deps/third_party/nss@" + Var("nss_revision"),

    "src/chrome/installer/mac/third_party/xz/xz":
399
      "/trunk/deps/third_party/xz@189101",
400 401 402 403
  },
  "unix": {
    # Linux, really.
    "src/chrome/tools/test/reference_build/chrome_linux":
404
      "/trunk/deps/reference_builds/chrome_linux@197743",
405 406

    "src/third_party/xdg-utils":
407
      "/trunk/deps/third_party/xdg-utils@203785",
408 409 410 411 412 413 414 415 416

    "src/third_party/swig/linux":
      "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),

    "src/third_party/lss":
      ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
       Var("lss_revision")),

    "src/third_party/openssl":
417
      "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
418 419

    "src/third_party/gold":
420
      "/trunk/deps/third_party/gold@203758",
421 422

    "src/third_party/libmtp":
423
      "/trunk/deps/third_party/libmtp@206535",
424 425 426 427

    # Used on Linux only. CrOS already has a copy.
    "src/third_party/mtpd/source":
      Var("chromiumos_git") + "/platform/mtpd.git" +
428
      "@5be739c938a0a229ba9479b00b180e1f9c843e81",
429 430 431 432 433 434 435 436 437

    # Used on Linux only. CrOS already has a copy.
    "src/third_party/cros_dbus_cplusplus/source":
      Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
      "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",

    # For Linux and Chromium OS.
    "src/third_party/cros_system_api":
      Var("chromiumos_git") + "/platform/system_api.git" +
438
      "@1222289c4c98f133683918c4ec4fdd97545b7604",
439 440 441 442 443 444 445 446 447

    # Note that this is different from Android's freetype repo.
    "src/third_party/freetype2/src":
      Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
      "@d699c2994ecc178c4ed05ac2086061b2034c2178",

    # Build tools for targeting ChromeOS.
    "src/third_party/chromite":
      Var("chromiumos_git") + "/chromite.git" +
448
      "@785fedc51fc430445d8f397440012ea3b489bac9",
449 450 451 452 453

    # Dependency of chromite.git.
    "src/third_party/pyelftools":
      Var("chromiumos_git") + "/third_party/pyelftools.git" +
      "@bdc1d380acd88d4bfaf47265008091483b0d614e",
454 455 456

    "src/third_party/undoview":
      "/trunk/deps/third_party/undoview@119694",
457 458
  },
  "android": {
459 460
    "src/third_party/android_tools":
      Var("chromium_git") + "/android_tools.git" +
461
      "@e9da75d5e88d3e122ac60ee1d642cdcc1acb2bd8",
462 463 464 465

    "src/third_party/aosp":
      "/trunk/deps/third_party/aosp@148330",

466 467
    "src/third_party/apache-mime4j":
      "/trunk/deps/third_party/apache-mime4j@170888",
468 469 470

    "src/third_party/findbugs":
      "/trunk/deps/third_party/findbugs@163586",
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500

    "src/third_party/freetype":
      Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
      "@96551feab72aac26836e9aaf4fae0962d39d5ab0",

    "src/third_party/guava/src":
      Var("chromium_git") + "/external/guava-libraries.git" +
      "@c523556ab7d0f05afadebd20e7768d4c16af8771",

    "src/third_party/httpcomponents-client":
      "/trunk/deps/third_party/httpcomponents-client@170888",

    "src/third_party/httpcomponents-core":
      "/trunk/deps/third_party/httpcomponents-core@170888",

    "src/third_party/jarjar":
      "/trunk/deps/third_party/jarjar@170888",

    "src/third_party/jsr-305/src":
      (Var("googlecode_url") % "jsr-305") + "/trunk@51",

    "src/third_party/lss":
      ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
       Var("lss_revision")),

    "src/third_party/openssl":
      "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),

    "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
      (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
501 502 503 504 505 506 507 508 509 510 511
  },
}


include_rules = [
  # Everybody can use some things.
  "+base",
  "+build",
  "+googleurl",
  "+ipc",

512 513 514
  # Everybody can use headers generated by tools/generate_library_loader.
  "+library_loaders",

515
  "+testing",
516
  "+third_party/icu/public",
517
  "+url",
518 519 520 521 522 523 524 525
]


# checkdeps.py shouldn't check include paths for files in these dirs:
skip_child_includes = [
  "breakpad",
  "chrome_frame",
  "delegate_execute",
526
  "googleurl",
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551
  "metro_driver",
  "native_client_sdk",
  "o3d",
  "pdf",
  "sdch",
  "skia",
  "testing",
  "third_party",
  "v8",
  "win8",
]


hooks = [
  {
    # This downloads binaries for Native Client's newlib toolchain.
    # Done in lieu of building the toolchain from scratch as it can take
    # anywhere from 30 minutes to 4 hours depending on platform to build.
    "pattern": ".",
    "action": [
        "python", "src/build/download_nacl_toolchains.py",
         "--no-arm-trusted",
         "--keep",
    ],
  },
552
  {
553
    # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
554 555
    # at about the same rate that the chrome build deps change.
    # This script is a no-op except for linux users who have
556
    # target_arch=arm in their GYP_DEFINES.
557 558 559 560
    "pattern": ".",
    "action": ["python", "src/build/linux/install-arm-sysroot.py",
               "--linux-only"],
  },
561
  {
562 563 564 565
    # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
    # This sysroot updates at about the same rate that the chrome build deps
    # change. This script is a no-op except for linux users who are doing
    # official chrome builds.
566
    "pattern": ".",
567 568 569 570 571 572 573 574 575 576 577 578 579 580
    "action": [
        "python",
        "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
        "--linux-only",
        "--arch=amd64"],
  },
  {
    # Same as above, but for 32-bit Linux.
    "pattern": ".",
    "action": [
        "python",
        "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
        "--linux-only",
        "--arch=i386"],
581
  },
582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
  {
    # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
    # zero seconds to run. If something changed, it downloads a prebuilt clang,
    # which takes ~20s, but clang speeds up builds by more than 20s.
    "pattern": ".",
    "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
  },
  {
    # Update the cygwin mount on Windows.
    "pattern": ".",
    "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
  },
  {
    # Update LASTCHANGE. This is also run by export_tarball.py in
    # src/tools/export_tarball - please keep them in sync.
    "pattern": ".",
    "action": ["python", "src/build/util/lastchange.py",
               "-o", "src/build/util/LASTCHANGE"],
  },
601 602 603 604 605 606 607 608
  {
    # Update LASTCHANGE.blink. This is also run by export_tarball.py in
    # src/tools/export_tarball - please keep them in sync.
    "pattern": ".",
    "action": ["python", "src/build/util/lastchange.py",
               "-s", "src/third_party/WebKit",
               "-o", "src/build/util/LASTCHANGE.blink"],
  },
609 610 611 612 613
  {
    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
    "pattern": ".",
    "action": ["python", "src/build/gyp_chromium"],
  },
614 615 616 617 618
  {
    # Check for landmines (reasons to clobber the build).
    "pattern": ".",
    "action": ["python", "src/build/landmines.py"],
  },
619
]