DEPS 25.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
# This file is automatically processed to create .DEPS.git which is the file
# that gclient uses under git.
#
# See http://code.google.com/p/chromium/wiki/UsingGit
#
# To test manually, run:
#   python tools/deps2git/deps2git.py -o .DEPS.git
#   gclient runhooks
# DO NOT CHECK IN CHANGES TO .DEPS.git. It will be automatically updated by
# a bot when you modify this one.
#
12 13 14 15 16 17 18
# 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",
19
  "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
20 21 22 23
  "llvm_url": "http://src.chromium.org/llvm-project",
  "llvm_git": "https://llvm.googlesource.com",
  "libcxx_revision": "8f48c23568a122de6088455700e9d197b79bd8f8",
  "libcxxabi_revision": "753a30dd68ae008948d48f16bc942d5963fe65a1",
24
  "webkit_trunk": "http://src.chromium.org/blink/trunk",
25
  "nacl_trunk": "http://src.chromium.org/native_client/trunk",
26
  "webkit_revision": "167304",
27 28
  "chromium_git": "https://chromium.googlesource.com",
  "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
29
  "skia_git": "https://skia.googlesource.com",
30
  "swig_revision": "230490",
31
  "nacl_revision": "12773",
32 33
  # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
  # to update other nacl_*_revision's.
34 35
  "nacl_tools_revision": "12760",  # native_client/DEPS: tools_rev
  "google_toolbox_for_mac_revision": "626",
36
  "libaddressinput_revision": "176",
37
  "libphonenumber_revision": "621",
38
  "libvpx_revision": "251850",
39
  "lss_revision": "24",
40 41 42

  # These two FFmpeg variables must be updated together.  One is used for SVN
  # checkouts and the other for Git checkouts.
43 44
  "ffmpeg_revision": "249179",
  "ffmpeg_hash": "4ae5e54f30f949e5485d70fa0eae85a0e75cb46c",
45

46
  "sfntly_revision": "228",
47
  "lighttpd_revision": "33737",
48 49
  "skia_revision": "13441",
  "skia_hash": "a7692a9ac6cb8a0bbe6bbdfc83f86014a7dc265e",
50 51 52
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling Skia
  # and V8 without interference from each other.
53
  "v8_revision": "19215",
54 55 56
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling WebRTC
  # and V8 without interference from each other.
57
  "webrtc_revision": "5562",
58
  "jsoncpp_revision": "248",
59
  "nss_revision": "246067",
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": "5b47578a4c25b1447172c78bcfce8c1fc7a69839",
64 65 66
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling openssl
  # and whatever else without interference from each other.
67
  "openssl_revision": "250522",
68 69 70 71
}

deps = {
  "src/breakpad/src":
72
    (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1271",
73 74 75 76 77

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

  "src/testing/gtest":
78
    (Var("googlecode_url") % "googletest") + "/trunk@643",
79 80

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

83 84
  "src/third_party/angle":
    Var("chromium_git") +
85
    "/angle/angle.git@4df02c1ed5e97dd54576b06964b1da67ea30238e",
86 87

  "src/third_party/trace-viewer":
88
    (Var("googlecode_url") % "trace-viewer") + "/trunk@1133",
89 90

  "src/third_party/WebKit":
91
    Var("webkit_trunk") + "@" + Var("webkit_revision"),
92

93 94 95 96 97 98 99 100
  "src/third_party/WebKit/LayoutTests/w3c/web-platform-tests":
    Var("chromium_git") +
    "/external/w3c/web-platform-tests.git@ac4322a338be82b3d8b722917d6d3d057c0a3f6a",

  "src/third_party/WebKit/LayoutTests/w3c/csswg-test":
    Var("chromium_git") +
    "/external/w3c/csswg-test.git@8c415e3215a203fa3a22dbdd1799279fdf44c81e",

101
  "src/third_party/icu":
102
    "/trunk/deps/third_party/icu46@246118",
103 104 105 106 107

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

  "src/third_party/hunspell":
108
   "/trunk/deps/third_party/hunspell@206172",
109 110

  "src/third_party/hunspell_dictionaries":
111
    "/trunk/deps/third_party/hunspell_dictionaries@193701",
112 113 114 115 116 117

  "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") +
118
    "/trunk/src@321",
119 120

  "src/third_party/leveldatabase/src":
121 122 123 124 125 126 127 128 129
    (Var("googlecode_url") % "leveldb") + "/trunk@79",

  # TODO(thakis): Pull from svn instead, http://crbug.com/333071
  "src/third_party/libc++/trunk":
    Var("llvm_git") + "/libcxx.git@" + Var("libcxx_revision"),

  # TODO(thakis): Pull from svn instead, http://crbug.com/333071
  "src/third_party/libc++abi/trunk":
    Var("llvm_git") + "/libcxxabi.git@" + Var("libcxxabi_revision"),
130 131

  "src/third_party/snappy/src":
132
    (Var("googlecode_url") % "snappy") + "/trunk@80",
133 134

  "src/tools/grit":
135
    (Var("googlecode_url") % "grit-i18n") + "/trunk@151",
136 137

  "src/tools/gyp":
138
    (Var("googlecode_url") % "gyp") + "/trunk@1854",
139

140 141 142
  "src/tools/swarming_client":
    Var("chromium_git") + "/external/swarming.client.git@" +
        Var("swarming_revision"),
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167

  "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":
168
    (Var("googlecode_url") % "ots") + "/trunk@110",
169

170 171
  "src/third_party/brotli/src":
    Var("chromium_git") +
172
    "/external/font-compression-reference.git@dfc5a9f2151a7c88914c236c7db8fa119fee249c",
173

174
  "src/tools/page_cycler/acid3":
175
    "/trunk/deps/page_cycler/acid3@171600",
176 177 178 179 180 181 182

  "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",

183 184 185
  "src/chrome/test/data/perf/third_party/octane":
    (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",

186 187 188
  "src/third_party/bidichecker":
    (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",

189 190 191
  "src/third_party/webgl/src":
    Var("chromium_git") +
    "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
192 193 194 195 196 197

  "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":
198
    (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
199 200 201 202 203 204 205 206 207

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

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

208
  "src/third_party/libjingle/source/talk":
209
    (Var("googlecode_url") % "webrtc") + "/trunk/talk@" +
210
    Var("webrtc_revision"),
211

212 213
  "src/third_party/usrsctp/usrsctplib":
    (Var("googlecode_url") % "sctp-refimpl") +
214
    "/trunk/KERN/usrsctp/usrsctplib@8723",
215

216
  "src/third_party/libsrtp":
217
    "/trunk/deps/third_party/libsrtp@250757",
218 219

  "src/third_party/speex":
220
    "/trunk/deps/third_party/speex@198168",
221 222

  "src/third_party/yasm/source/patched-yasm":
223
    "/trunk/deps/third_party/yasm/patched-yasm@167605",
224 225

  "src/third_party/libjpeg_turbo":
226
    "/trunk/deps/third_party/libjpeg_turbo@251747",
227 228

  "src/third_party/flac":
229
    "/trunk/deps/third_party/flac@222897",
230 231 232 233 234 235 236 237 238

  "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":
239
    (Var("googlecode_url") % "webrtc") + "/trunk/webrtc@" + Var("webrtc_revision"),
240

241
  "src/third_party/openmax_dl":
242
    (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5205",
243

244 245 246 247 248 249 250 251 252
  "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":
253
    (Var("googlecode_url") % "libyuv") + "/trunk@979",
254 255

  "src/third_party/smhasher/src":
256
    (Var("googlecode_url") % "smhasher") + "/trunk@151",
257

258 259 260 261 262 263 264
  "src/third_party/libaddressinput/src/cpp":
    (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
        Var("libaddressinput_revision"),
  "src/third_party/libaddressinput/src/testdata":
    (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
        Var("libaddressinput_revision"),

265
  "src/third_party/libphonenumber/src/phonenumbers":
266 267
    (Var("googlecode_url") % "libphonenumber") +
        "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
268
  "src/third_party/libphonenumber/src/test":
269 270
    (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
        Var("libphonenumber_revision"),
271
  "src/third_party/libphonenumber/src/resources":
272 273
    (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
        Var("libphonenumber_revision"),
274 275

  "src/tools/deps2git":
276 277 278 279
    "/trunk/tools/deps2git@248305",

  "src/third_party/clang_format/script":
    Var("llvm_url") + "/cfe/trunk/tools/clang-format@198831",
280 281

  "src/third_party/webpagereplay":
282
    (Var("googlecode_url") % "web-page-replay") + "/trunk@540",
283 284 285 286 287

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

  "src/third_party/opus/src":
288
    "/trunk/deps/third_party/opus@237544",
289

290
  "src/media/cdm/ppapi/api":
291
    "/trunk/deps/cdm@249141",
292 293

  "src/third_party/mesa/src":
294
    "/trunk/deps/third_party/mesa@240938",
295

296
  "src/third_party/cld_2/src":
297
    (Var("googlecode_url") % "cld2") + "/trunk@84",
298 299 300 301 302 303 304 305

  "src/chrome/browser/resources/pdf/html_office":
     Var("chromium_git") +
         "/chromium/html-office-public.git@6451249cec79299a52083373c9a370ef25471023",

  "src/third_party/libwebm/source":
    Var("chromium_git") +
      "/webm/libwebm.git@0f7815b036651e242ec8c2fcfb59fe54f69be1a8",
306 307 308 309 310 311
}


deps_os = {
  "win": {
    "src/chrome/tools/test/reference_build/chrome_win":
312
      "/trunk/deps/reference_builds/chrome_win@237381",
313 314

    "src/third_party/cygwin":
315
      "/trunk/deps/third_party/cygwin@231940",
316 317

    "src/third_party/psyco_win32":
318
      "/trunk/deps/third_party/psyco_win32@237949",
319 320 321 322 323 324 325 326 327 328 329

    "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":
330
      "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358

    # 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":
359
      (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@2021",
360 361 362 363 364 365

    # Binaries for nacl sdk.
    "src/third_party/nacl_sdk_binaries":
      "/trunk/deps/third_party/nacl_sdk_binaries@111576",
  },
  "ios": {
366
    "src/third_party/google_toolbox_for_mac/src":
367
      (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
368
      Var("google_toolbox_for_mac_revision"),
369 370 371 372 373 374

    "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":
375
      "/trunk/deps/third_party/class-dump@199203",
376

377
    # Code that's not needed due to not building everything
378 379 380 381
    "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,
382 383
    "src/chrome/test/data/perf/third_party/octane": None,
    "src/media/cdm/ppapi/api": None,
384 385
    "src/native_client": None,
    "src/native_client/src/third_party/ppapi": None,
386
    "src/third_party/angle": None,
387
    "src/third_party/bidichecker": None,
388
    "src/third_party/cld_2/src": None,
389 390 391
    "src/third_party/ffmpeg": None,
    "src/third_party/hunspell_dictionaries": None,
    "src/third_party/hunspell": None,
392 393
    "src/third_party/libaddressinput/src/cpp": None,
    "src/third_party/libaddressinput/src/testdata": None,
394 395 396 397 398
    "src/third_party/libexif/sources": None,
    "src/third_party/libjpeg_turbo": None,
    "src/third_party/libsrtp": None,
    "src/third_party/libvpx": None,
    "src/third_party/libyuv": None,
399 400 401
    "src/third_party/mesa/src": None,
    "src/third_party/opus/src": None,
    "src/third_party/openmax_dl": None,
402 403 404 405 406 407 408 409
    "src/third_party/ots": 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/swig/Lib": None,
    "src/third_party/undoview": None,
410
    "src/third_party/usrsctp/usrsctplib": None,
411 412
    "src/third_party/v8-i18n": None,
    "src/third_party/webdriver/pylib": None,
413
    "src/third_party/webgl": None,
414 415 416 417 418 419 420 421
    "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":
422
      "/trunk/deps/reference_builds/chrome_mac@237381",
423

424
    "src/third_party/google_toolbox_for_mac/src":
425
      (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
426 427
      Var("google_toolbox_for_mac_revision"),

428 429
    "src/third_party/pdfsqueeze":
      (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
430

431
    "src/third_party/lighttpd":
432
      "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
433 434 435 436 437 438 439 440 441

    "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":
442
      "/trunk/deps/third_party/xz@233311",
443 444 445 446
  },
  "unix": {
    # Linux, really.
    "src/chrome/tools/test/reference_build/chrome_linux":
447
      "/trunk/deps/reference_builds/chrome_linux64@237381",
448 449

    "src/third_party/xdg-utils":
450
      "/trunk/deps/third_party/xdg-utils@203785",
451 452 453 454 455 456 457 458 459

    "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":
460
      "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
461 462

    "src/third_party/gold":
463
      "/trunk/deps/third_party/gold@228995",
464 465

    "src/third_party/libmtp":
466
      "/trunk/deps/third_party/libmtp@206535",
467 468 469 470

    # Used on Linux only. CrOS already has a copy.
    "src/third_party/mtpd/source":
      Var("chromiumos_git") + "/platform/mtpd.git" +
471
      "@e4e4656e9aa710f0617dab8746ab6116c0506ceb",
472 473 474 475

    # Used on Linux only. CrOS already has a copy.
    "src/third_party/cros_dbus_cplusplus/source":
      Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
476
      "@e4120532bbf3ca9f743b0be1f539381a54d16867",
477 478 479 480

    # For Linux and Chromium OS.
    "src/third_party/cros_system_api":
      Var("chromiumos_git") + "/platform/system_api.git" +
481
      "@874a39664f1538b1855391f98bf14026a5dd2c24",
482 483 484 485 486 487 488 489 490

    # 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" +
491
      "@1ee2901d33ae698d1f2a1d95e9f3fd5bbd5f13f9",
492 493 494 495 496

    # Dependency of chromite.git.
    "src/third_party/pyelftools":
      Var("chromiumos_git") + "/third_party/pyelftools.git" +
      "@bdc1d380acd88d4bfaf47265008091483b0d614e",
497 498 499

    "src/third_party/undoview":
      "/trunk/deps/third_party/undoview@119694",
500 501 502 503 504

    "src/third_party/liblouis/src":
      Var("chromium_git") +
      "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",

505 506 507 508
    # Used for embedded builds. CrOS & Linux use the system version.
    "src/third_party/fontconfig/src":
      Var("chromium_git") + "/external/fontconfig.git" +
      "@f16c3118e25546c1b749f9823c51827a60aeb5c1",
509 510
  },
  "android": {
511 512
    "src/third_party/android_tools":
      Var("chromium_git") + "/android_tools.git" +
513
      "@0582bdc17b4829beb522975441546a4eb99b11b5",
514 515 516 517

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

518 519
    "src/third_party/apache-mime4j":
      "/trunk/deps/third_party/apache-mime4j@170888",
520 521

    "src/third_party/findbugs":
522
      "/trunk/deps/third_party/findbugs@245039",
523 524 525

    "src/third_party/freetype":
      Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
526
      "@a2b9955b49034a51dfbc8bf9f4e9d312149cecac",
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 552

    "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",
553 554 555 556

    # Android shouldn't use this address validation library.
    "src/third_party/libaddressinput/src/cpp": None,
    "src/third_party/libaddressinput/src/testdata": None,
557 558 559 560 561 562 563 564 565 566
  },
}


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

567 568 569
  # Everybody can use headers generated by tools/generate_library_loader.
  "+library_loaders",

570
  "+testing",
571 572
  "+third_party/icu/source/common/unicode",
  "+third_party/icu/source/i18n/unicode",
573
  "+url",
574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
]


# checkdeps.py shouldn't check include paths for files in these dirs:
skip_child_includes = [
  "breakpad",
  "delegate_execute",
  "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.
599
    "name": "nacltools",
600 601 602 603 604 605 606
    "pattern": ".",
    "action": [
        "python", "src/build/download_nacl_toolchains.py",
         "--no-arm-trusted",
         "--keep",
    ],
  },
607
  {
608
    # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
609 610
    # at about the same rate that the chrome build deps change.
    # This script is a no-op except for linux users who have
611
    # target_arch=arm in their GYP_DEFINES.
612
    "name": "sysroot",
613 614 615 616
    "pattern": ".",
    "action": ["python", "src/build/linux/install-arm-sysroot.py",
               "--linux-only"],
  },
617
  {
618 619 620 621
    # 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.
622
    "name": "sysroot",
623
    "pattern": ".",
624 625 626 627 628 629 630 631
    "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.
632
    "name": "sysroot",
633 634 635 636 637 638
    "pattern": ".",
    "action": [
        "python",
        "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
        "--linux-only",
        "--arch=i386"],
639
  },
640 641 642 643
  {
    # 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.
644
    "name": "clang",
645 646 647 648 649 650
    "pattern": ".",
    "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
  },
  {
    # Update LASTCHANGE. This is also run by export_tarball.py in
    # src/tools/export_tarball - please keep them in sync.
651
    "name": "lastchange",
652 653 654 655
    "pattern": ".",
    "action": ["python", "src/build/util/lastchange.py",
               "-o", "src/build/util/LASTCHANGE"],
  },
656 657 658
  {
    # Update LASTCHANGE.blink. This is also run by export_tarball.py in
    # src/tools/export_tarball - please keep them in sync.
659
    "name": "lastchange",
660 661 662 663 664
    "pattern": ".",
    "action": ["python", "src/build/util/lastchange.py",
               "-s", "src/third_party/WebKit",
               "-o", "src/build/util/LASTCHANGE.blink"],
  },
665 666 667
  # Pull GN binaries. This needs to be before running GYP below.
  {
    "name": "gn_win",
668
    "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
669
    "action": [ "download_from_google_storage",
670
                "--no_resume",
671
                "--platform=win32",
672 673 674 675 676 677 678 679 680 681 682 683
                "--no_auth",
                "--bucket", "chromium-gn",
                "-s", "src/tools/gn/bin/win/gn.exe.sha1",
    ],
  },
  {
    "name": "gn_mac",
    "pattern": "src/tools/gn/bin/mac/gn.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=darwin",
                "--no_auth",
684
                "--bucket", "chromium-gn",
685
                "-s", "src/tools/gn/bin/mac/gn.sha1",
686 687 688 689
    ],
  },
  {
    "name": "gn_linux",
690 691 692 693 694 695 696 697 698 699 700 701
    "pattern": "src/tools/gn/bin/linux/gn.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=linux*",
                "--no_auth",
                "--bucket", "chromium-gn",
                "-s", "src/tools/gn/bin/linux/gn.sha1",
    ],
  },
  {
    "name": "gn_linux32",
    "pattern": "src/tools/gn/bin/linux/gn32.sha1",
702
    "action": [ "download_from_google_storage",
703 704 705
                "--no_resume",
                "--platform=linux*",
                "--no_auth",
706
                "--bucket", "chromium-gn",
707
                "-s", "src/tools/gn/bin/linux/gn32.sha1",
708 709
    ],
  },
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755
  # Pull clang-format binaries using checked-in hashes.
  {
    "name": "clang_format_win",
    "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=win32",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
    ],
  },
  {
    "name": "clang_format_mac",
    "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=darwin",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
    ],
  },
  {
    "name": "clang_format_linux",
    "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=linux*",
                "--no_auth",
                "--bucket", "chromium-clang-format",
                "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
    ],
  },
  # Pull eu-strip binaries using checked-in hashes.
  {
    "name": "eu-strip",
    "pattern": "src/build/linux/bin/eu-strip.sha1",
    "action": [ "download_from_google_storage",
                "--no_resume",
                "--platform=linux*",
                "--no_auth",
                "--bucket", "chromium-eu-strip",
                "-s", "src/build/linux/bin/eu-strip.sha1",
    ],
  },
756 757
  {
    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
758
    "name": "gyp",
759 760 761 762
    "pattern": ".",
    "action": ["python", "src/build/gyp_chromium"],
  },
]