Home | History | Annotate | Download | only in chromium_org
      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
      8 #   gclient runhooks
      9 # DO NOT CHECK IN CHANGES TO .DEPS.git. It will be automatically updated by
     10 # a bot when you modify this one.
     11 #
     12 # When adding a new dependency, please update the top-level .gitignore file
     13 # to list the dependency's destination directory.
     14 
     15 vars = {
     16   # Use this googlecode_url variable only if there is an internal mirror for it.
     17   # If you do not know, use the full path while defining your new deps entry.
     18   "googlecode_url": "http://%s.googlecode.com/svn",
     19   "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
     20   "webkit_trunk": "http://src.chromium.org/blink/trunk",
     21   "nacl_trunk": "http://src.chromium.org/native_client/trunk",
     22   "webkit_revision": "163968",
     23   "chromium_git": "https://chromium.googlesource.com",
     24   "chromiumos_git": "https://chromium.googlesource.com/chromiumos",
     25   "skia_git": "https://skia.googlesource.com",
     26   "swig_revision": "230490",
     27   "nacl_revision": "12544",
     28   # After changing nacl_revision, run 'glient sync' and check native_client/DEPS
     29   # to update other nacl_*_revision's.
     30   "nacl_tools_revision": "12526",  # native_client/DEPS: tools_rev
     31   "gtm_revision": "616",
     32   "libaddressinput_revision": "176",
     33   "libphonenumber_revision": "621",
     34   "libvpx_revision": "240222",
     35   "lss_revision": "24",
     36 
     37   # These two FFmpeg variables must be updated together.  One is used for SVN
     38   # checkouts and the other for Git checkouts.
     39   "ffmpeg_revision": "240434",
     40   "ffmpeg_hash": "c6c988923be6b8fd1f381522d478813e14505ce2",
     41 
     42   "sfntly_revision": "228",
     43   "lighttpd_revision": "33737",
     44   "skia_revision": "12678",
     45   "skia_hash": "e132f5031fb700e34af1ea08b575b2c774393047",
     46   # Three lines of non-changing comments so that
     47   # the commit queue can handle CLs rolling Skia
     48   # and V8 without interference from each other.
     49   "v8_revision": "18251",
     50   # Three lines of non-changing comments so that
     51   # the commit queue can handle CLs rolling WebRTC
     52   # and V8 without interference from each other.
     53   "webrtc_revision": "5301",
     54   "jsoncpp_revision": "248",
     55   "nss_revision": "239365",
     56   # Three lines of non-changing comments so that
     57   # the commit queue can handle CLs rolling swarming_client
     58   # and whatever else without interference from each other.
     59   "swarming_revision": "f89de358c2edb260e0ca8429c16d1037a4ec4fa4",
     60   # Three lines of non-changing comments so that
     61   # the commit queue can handle CLs rolling openssl
     62   # and whatever else without interference from each other.
     63   "openssl_revision": "236537",
     64 }
     65 
     66 deps = {
     67   "src/breakpad/src":
     68     (Var("googlecode_url") % "google-breakpad") + "/trunk/src@1253",
     69 
     70   "src/sdch/open-vcdiff":
     71     (Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
     72 
     73   "src/testing/gtest":
     74     (Var("googlecode_url") % "googletest") + "/trunk@643",
     75 
     76   "src/testing/gmock":
     77     (Var("googlecode_url") % "googlemock") + "/trunk@410",
     78 
     79   "src/third_party/angle":
     80     Var("chromium_git") +
     81     "/angle/angle.git@95fa672f26db492aee2076b0acb524149d52c68f",
     82 
     83   "src/third_party/trace-viewer":
     84     (Var("googlecode_url") % "trace-viewer") + "/trunk@1069",
     85 
     86   "src/third_party/WebKit":
     87     Var("webkit_trunk") + "@" + Var("webkit_revision"),
     88 
     89   "src/third_party/icu":
     90     "/trunk/deps/third_party/icu46@239289",
     91 
     92   "src/third_party/libexif/sources":
     93     "/trunk/deps/third_party/libexif/sources@146817",
     94 
     95   "src/third_party/hunspell":
     96    "/trunk/deps/third_party/hunspell@206172",
     97 
     98   "src/third_party/hunspell_dictionaries":
     99     "/trunk/deps/third_party/hunspell_dictionaries@193701",
    100 
    101   "src/third_party/safe_browsing/testing":
    102     (Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@112",
    103 
    104   "src/third_party/cacheinvalidation/src":
    105     (Var("googlecode_url") % "google-cache-invalidation-api") +
    106     "/trunk/src@314",
    107 
    108   "src/third_party/leveldatabase/src":
    109     (Var("googlecode_url") % "leveldb") + "/trunk@78",
    110 
    111   "src/third_party/snappy/src":
    112     (Var("googlecode_url") % "snappy") + "/trunk@80",
    113 
    114   "src/tools/grit":
    115     (Var("googlecode_url") % "grit-i18n") + "/trunk@140",
    116 
    117   "src/tools/gyp":
    118     (Var("googlecode_url") % "gyp") + "/trunk@1806",
    119 
    120   "src/tools/swarming_client":
    121     Var("chromium_git") + "/external/swarming.client.git@" +
    122         Var("swarming_revision"),
    123 
    124   "src/v8":
    125     (Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
    126 
    127   "src/native_client":
    128     Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
    129 
    130   "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
    131     Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
    132     Var("nacl_revision"),
    133 
    134   "src/third_party/sfntly/cpp/src":
    135     (Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
    136     Var("sfntly_revision"),
    137 
    138   "src/third_party/skia/src":
    139     (Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
    140 
    141   "src/third_party/skia/gyp":
    142     (Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
    143 
    144   "src/third_party/skia/include":
    145     (Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
    146 
    147   "src/third_party/ots":
    148     (Var("googlecode_url") % "ots") + "/trunk@107",
    149 
    150   "src/third_party/brotli/src":
    151     Var("chromium_git") +
    152     "/external/font-compression-reference.git@fe79fac8da1ec850d94679705a6f3405153f51dd",
    153 
    154   "src/tools/page_cycler/acid3":
    155     "/trunk/deps/page_cycler/acid3@171600",
    156 
    157   "src/chrome/test/data/perf/canvas_bench":
    158     "/trunk/deps/canvas_bench@122605",
    159 
    160   "src/chrome/test/data/perf/frame_rate/content":
    161     "/trunk/deps/frame_rate/content@93671",
    162 
    163   "src/chrome/test/data/perf/third_party/octane":
    164     (Var("googlecode_url") % "octane-benchmark") + "/trunk@19",
    165 
    166   "src/third_party/bidichecker":
    167     (Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
    168 
    169   "src/third_party/webgl/src":
    170     Var("chromium_git") +
    171     "/external/khronosgroup/webgl.git@159f31dd34842c871032d97d360a9dce5153f585",
    172 
    173   "src/third_party/swig/Lib":
    174     "/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
    175 
    176   # Make sure you update the two functional.DEPS and webdriver.DEPS too.
    177   "src/third_party/webdriver/pylib":
    178     (Var("googlecode_url") % "selenium") + "/trunk/py@18337",
    179 
    180   "src/third_party/libvpx":
    181     "/trunk/deps/third_party/libvpx@" +
    182     Var("libvpx_revision"),
    183 
    184   "src/third_party/ffmpeg":
    185     "/trunk/deps/third_party/ffmpeg@" +
    186     Var("ffmpeg_revision"),
    187 
    188   "src/third_party/libjingle/source/talk":
    189     (Var("googlecode_url") % "webrtc") + "/branches/3.48/talk@5413",
    190 
    191   "src/third_party/usrsctp/usrsctplib":
    192     (Var("googlecode_url") % "sctp-refimpl") +
    193     "/trunk/KERN/usrsctp/usrsctplib@8723",
    194 
    195   "src/third_party/libsrtp":
    196     "/trunk/deps/third_party/libsrtp@214783",
    197 
    198   "src/third_party/speex":
    199     "/trunk/deps/third_party/speex@198168",
    200 
    201   "src/third_party/yasm/source/patched-yasm":
    202     "/trunk/deps/third_party/yasm/patched-yasm@167605",
    203 
    204   "src/third_party/libjpeg_turbo":
    205     "/trunk/deps/third_party/libjpeg_turbo@239583",
    206 
    207   "src/third_party/flac":
    208     "/trunk/deps/third_party/flac@222897",
    209 
    210   "src/third_party/pyftpdlib/src":
    211     (Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
    212 
    213   "src/third_party/scons-2.0.1":
    214     Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
    215         Var("nacl_tools_revision"),
    216 
    217   "src/third_party/webrtc":
    218     (Var("googlecode_url") % "webrtc") + "/stable/webrtc@" + Var("webrtc_revision"),
    219 
    220   "src/third_party/openmax_dl":
    221     (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@5205",
    222 
    223   "src/third_party/jsoncpp/source/include":
    224     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
    225         "/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
    226 
    227   "src/third_party/jsoncpp/source/src/lib_json":
    228     (Var("sourceforge_url") % {"repo": "jsoncpp"}) +
    229         "/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
    230 
    231   "src/third_party/libyuv":
    232     (Var("googlecode_url") % "libyuv") + "/trunk@911",
    233 
    234   "src/third_party/smhasher/src":
    235     (Var("googlecode_url") % "smhasher") + "/trunk@149",
    236 
    237   "src/third_party/libaddressinput/src/cpp":
    238     (Var("googlecode_url") % "libaddressinput") + "/trunk/cpp@" +
    239         Var("libaddressinput_revision"),
    240   "src/third_party/libaddressinput/src/testdata":
    241     (Var("googlecode_url") % "libaddressinput") + "/trunk/testdata@" +
    242         Var("libaddressinput_revision"),
    243 
    244   "src/third_party/libphonenumber/src/phonenumbers":
    245     (Var("googlecode_url") % "libphonenumber") +
    246         "/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
    247   "src/third_party/libphonenumber/src/test":
    248     (Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
    249         Var("libphonenumber_revision"),
    250   "src/third_party/libphonenumber/src/resources":
    251     (Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
    252         Var("libphonenumber_revision"),
    253 
    254   "src/tools/deps2git":
    255     "/trunk/tools/deps2git@236839",
    256 
    257   "src/third_party/webpagereplay":
    258     (Var("googlecode_url") % "web-page-replay") + "/trunk@528",
    259 
    260   "src/third_party/pywebsocket/src":
    261     (Var("googlecode_url") % "pywebsocket") + "/trunk/src@662",
    262 
    263   "src/third_party/opus/src":
    264     "/trunk/deps/third_party/opus@237544",
    265 
    266   "src/media/cdm/ppapi/api":
    267     "/trunk/deps/cdm@237635",
    268 
    269   "src/third_party/mesa/src":
    270     "/trunk/deps/third_party/mesa@229994",
    271 
    272   "src/third_party/cld_2/src":
    273     (Var("googlecode_url") % "cld2") + "/trunk@84",
    274 }
    275 
    276 
    277 deps_os = {
    278   "win": {
    279     "src/chrome/tools/test/reference_build/chrome_win":
    280       "/trunk/deps/reference_builds/chrome_win@237381",
    281 
    282     "src/third_party/cygwin":
    283       "/trunk/deps/third_party/cygwin@231940",
    284 
    285     "src/third_party/python_26":
    286       "/trunk/tools/third_party/python_26@89111",
    287 
    288     "src/third_party/psyco_win32":
    289       "/trunk/deps/third_party/psyco_win32@237949",
    290 
    291     "src/third_party/bison":
    292       "/trunk/deps/third_party/bison@147303",
    293 
    294     "src/third_party/gperf":
    295       "/trunk/deps/third_party/gperf@147304",
    296 
    297     "src/third_party/perl":
    298       "/trunk/deps/third_party/perl@147900",
    299 
    300     "src/third_party/lighttpd":
    301       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
    302 
    303     # Chrome Frame related deps
    304     "src/third_party/xulrunner-sdk":
    305       "/trunk/deps/third_party/xulrunner-sdk@119756",
    306     "src/chrome_frame/tools/test/reference_build/chrome_win":
    307       "/trunk/deps/reference_builds/chrome_win@89574",
    308 
    309     # Parses Windows PE/COFF executable format.
    310     "src/third_party/pefile":
    311       (Var("googlecode_url") % "pefile") + "/trunk@63",
    312 
    313     # NSS, for SSLClientSocketNSS.
    314     "src/third_party/nss":
    315       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
    316 
    317     "src/third_party/swig/win":
    318       "/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
    319 
    320     # GNU binutils assembler for x86-32.
    321     "src/third_party/gnu_binutils":
    322       (Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
    323        Var("nacl_tools_revision")),
    324     # GNU binutils assembler for x86-64.
    325     "src/third_party/mingw-w64/mingw/bin":
    326       (Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
    327        Var("nacl_tools_revision")),
    328 
    329     # Dependencies used by libjpeg-turbo
    330     "src/third_party/yasm/binaries":
    331       "/trunk/deps/third_party/yasm/binaries@154708",
    332 
    333     # Binary level profile guided optimizations. This points to the
    334     # latest release binaries for the toolchain.
    335     "src/third_party/syzygy/binaries":
    336       (Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@1909",
    337 
    338     # Binaries for nacl sdk.
    339     "src/third_party/nacl_sdk_binaries":
    340       "/trunk/deps/third_party/nacl_sdk_binaries@111576",
    341   },
    342   "ios": {
    343     "src/third_party/GTM":
    344       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
    345       Var("gtm_revision"),
    346 
    347     "src/third_party/nss":
    348       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
    349 
    350     # class-dump utility to generate header files for undocumented SDKs
    351     "src/testing/iossim/third_party/class-dump":
    352       "/trunk/deps/third_party/class-dump@199203",
    353 
    354     # Code that's not needed due to not building everything
    355     "src/build/util/support": None,
    356     "src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
    357     "src/chrome/test/data/perf/canvas_bench": None,
    358     "src/chrome/test/data/perf/frame_rate/content": None,
    359     "src/chrome/test/data/perf/third_party/octane": None,
    360     "src/media/cdm/ppapi/api": None,
    361     "src/native_client": None,
    362     "src/native_client/src/third_party/ppapi": None,
    363     "src/third_party/angle": None,
    364     "src/third_party/bidichecker": None,
    365     "src/third_party/cld_2/src": None,
    366     "src/third_party/ffmpeg": None,
    367     "src/third_party/hunspell_dictionaries": None,
    368     "src/third_party/hunspell": None,
    369     "src/third_party/libaddressinput/src/cpp": None,
    370     "src/third_party/libaddressinput/src/testdata": None,
    371     "src/third_party/libexif/sources": None,
    372     "src/third_party/libjpeg_turbo": None,
    373     "src/third_party/libsrtp": None,
    374     "src/third_party/libvpx": None,
    375     "src/third_party/libyuv": None,
    376     "src/third_party/mesa/src": None,
    377     "src/third_party/opus/src": None,
    378     "src/third_party/openmax_dl": None,
    379     "src/third_party/ots": None,
    380     "src/third_party/pymox/src": None,
    381     "src/third_party/safe_browsing/testing": None,
    382     "src/third_party/scons-2.0.1": None,
    383     "src/third_party/sfntly/cpp/src": None,
    384     "src/third_party/smhasher/src": None,
    385     "src/third_party/swig/Lib": None,
    386     "src/third_party/undoview": None,
    387     "src/third_party/usrsctp/usrsctplib": None,
    388     "src/third_party/v8-i18n": None,
    389     "src/third_party/webdriver/pylib": None,
    390     "src/third_party/webgl": None,
    391     "src/third_party/webpagereplay": None,
    392     "src/third_party/webrtc": None,
    393     "src/third_party/yasm/source/patched-yasm": None,
    394     "src/tools/page_cycler/acid3": None,
    395     "src/v8": None,
    396   },
    397   "mac": {
    398     "src/chrome/tools/test/reference_build/chrome_mac":
    399       "/trunk/deps/reference_builds/chrome_mac@237381",
    400 
    401     "src/third_party/GTM":
    402       (Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
    403       Var("gtm_revision"),
    404     "src/third_party/pdfsqueeze":
    405       (Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
    406     "src/third_party/lighttpd":
    407       "/trunk/deps/third_party/lighttpd@" + Var("lighttpd_revision"),
    408 
    409     "src/third_party/swig/mac":
    410       "/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
    411 
    412     # NSS, for SSLClientSocketNSS.
    413     "src/third_party/nss":
    414       "/trunk/deps/third_party/nss@" + Var("nss_revision"),
    415 
    416     "src/chrome/installer/mac/third_party/xz/xz":
    417       "/trunk/deps/third_party/xz@233311",
    418   },
    419   "unix": {
    420     # Linux, really.
    421     "src/chrome/tools/test/reference_build/chrome_linux":
    422       "/trunk/deps/reference_builds/chrome_linux64@237381",
    423 
    424     "src/third_party/xdg-utils":
    425       "/trunk/deps/third_party/xdg-utils@203785",
    426 
    427     "src/third_party/swig/linux":
    428       "/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
    429 
    430     "src/third_party/lss":
    431       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
    432        Var("lss_revision")),
    433 
    434     "src/third_party/openssl":
    435       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
    436 
    437     "src/third_party/gold":
    438       "/trunk/deps/third_party/gold@228995",
    439 
    440     "src/third_party/libmtp":
    441       "/trunk/deps/third_party/libmtp@206535",
    442 
    443     # Used on Linux only. CrOS already has a copy.
    444     "src/third_party/mtpd/source":
    445       Var("chromiumos_git") + "/platform/mtpd.git" +
    446       "@5be739c938a0a229ba9479b00b180e1f9c843e81",
    447 
    448     # Used on Linux only. CrOS already has a copy.
    449     "src/third_party/cros_dbus_cplusplus/source":
    450       Var("chromiumos_git") + "/third_party/dbus-cplusplus.git" +
    451       "@5e8f6d9db5c2abfb91d91f751184f25bb5cd0900",
    452 
    453     # For Linux and Chromium OS.
    454     "src/third_party/cros_system_api":
    455       Var("chromiumos_git") + "/platform/system_api.git" +
    456       "@cfa23a554dcb262bfac10f9f5ac624d26c8c4e38",
    457 
    458     # Note that this is different from Android's freetype repo.
    459     "src/third_party/freetype2/src":
    460       Var("chromium_git") + "/chromium/src/third_party/freetype2.git" +
    461       "@d699c2994ecc178c4ed05ac2086061b2034c2178",
    462 
    463     # Build tools for targeting ChromeOS.
    464     "src/third_party/chromite":
    465       Var("chromiumos_git") + "/chromite.git" +
    466       "@cbdd21c5ea76aa93ba4619a6d253697765f4de1f",
    467 
    468     # Dependency of chromite.git.
    469     "src/third_party/pyelftools":
    470       Var("chromiumos_git") + "/third_party/pyelftools.git" +
    471       "@bdc1d380acd88d4bfaf47265008091483b0d614e",
    472 
    473     "src/third_party/undoview":
    474       "/trunk/deps/third_party/undoview@119694",
    475 
    476     "src/third_party/liblouis/src":
    477       Var("chromium_git") +
    478       "/external/liblouis.git@3c2daee56250162e5a75830871601d74328d39f5",
    479 
    480   },
    481   "android": {
    482     "src/third_party/android_tools":
    483       Var("chromium_git") + "/android_tools.git" +
    484       "@25cf2d85072b06f78956ecaacd564ef56a054d65",
    485 
    486     "src/third_party/aosp":
    487       "/trunk/deps/third_party/aosp@148330",
    488 
    489     "src/third_party/apache-mime4j":
    490       "/trunk/deps/third_party/apache-mime4j@170888",
    491 
    492     "src/third_party/findbugs":
    493       "/trunk/deps/third_party/findbugs@163586",
    494 
    495     "src/third_party/freetype":
    496       Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
    497       "@e3b631da8034f7c6ecc6d809cd9e46d306215c32",
    498 
    499     "src/third_party/guava/src":
    500       Var("chromium_git") + "/external/guava-libraries.git" +
    501       "@c523556ab7d0f05afadebd20e7768d4c16af8771",
    502 
    503     "src/third_party/httpcomponents-client":
    504       "/trunk/deps/third_party/httpcomponents-client@170888",
    505 
    506     "src/third_party/httpcomponents-core":
    507       "/trunk/deps/third_party/httpcomponents-core@170888",
    508 
    509     "src/third_party/jarjar":
    510       "/trunk/deps/third_party/jarjar@170888",
    511 
    512     "src/third_party/jsr-305/src":
    513       (Var("googlecode_url") % "jsr-305") + "/trunk@51",
    514 
    515     "src/third_party/lss":
    516       ((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
    517        Var("lss_revision")),
    518 
    519     "src/third_party/openssl":
    520       "/trunk/deps/third_party/openssl@" + Var("openssl_revision"),
    521 
    522     "src/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille":
    523       (Var("googlecode_url") % "eyes-free") + "/trunk/braille/client/src/com/googlecode/eyesfree/braille@797",
    524 
    525     # Android shouldn't use this address validation library.
    526     "src/third_party/libaddressinput/src/cpp": None,
    527     "src/third_party/libaddressinput/src/testdata": None,
    528   },
    529 }
    530 
    531 
    532 include_rules = [
    533   # Everybody can use some things.
    534   "+base",
    535   "+build",
    536   "+ipc",
    537 
    538   # Everybody can use headers generated by tools/generate_library_loader.
    539   "+library_loaders",
    540 
    541   "+testing",
    542   "+third_party/icu/source/common/unicode",
    543   "+third_party/icu/source/i18n/unicode",
    544   "+url",
    545 ]
    546 
    547 
    548 # checkdeps.py shouldn't check include paths for files in these dirs:
    549 skip_child_includes = [
    550   "breakpad",
    551   "chrome_frame",
    552   "delegate_execute",
    553   "metro_driver",
    554   "native_client_sdk",
    555   "o3d",
    556   "pdf",
    557   "sdch",
    558   "skia",
    559   "testing",
    560   "third_party",
    561   "v8",
    562   "win8",
    563 ]
    564 
    565 
    566 hooks = [
    567   {
    568     # This downloads binaries for Native Client's newlib toolchain.
    569     # Done in lieu of building the toolchain from scratch as it can take
    570     # anywhere from 30 minutes to 4 hours depending on platform to build.
    571     "name": "nacltools",
    572     "pattern": ".",
    573     "action": [
    574         "python", "src/build/download_nacl_toolchains.py",
    575          "--no-arm-trusted",
    576          "--keep",
    577     ],
    578   },
    579   {
    580     # Downloads an ARM sysroot image to src/arm-sysroot. This image updates
    581     # at about the same rate that the chrome build deps change.
    582     # This script is a no-op except for linux users who have
    583     # target_arch=arm in their GYP_DEFINES.
    584     "name": "sysroot",
    585     "pattern": ".",
    586     "action": ["python", "src/build/linux/install-arm-sysroot.py",
    587                "--linux-only"],
    588   },
    589   {
    590     # Downloads the Debian Wheezy sysroot to chrome/installer/linux if needed.
    591     # This sysroot updates at about the same rate that the chrome build deps
    592     # change. This script is a no-op except for linux users who are doing
    593     # official chrome builds.
    594     "name": "sysroot",
    595     "pattern": ".",
    596     "action": [
    597         "python",
    598         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
    599         "--linux-only",
    600         "--arch=amd64"],
    601   },
    602   {
    603     # Same as above, but for 32-bit Linux.
    604     "name": "sysroot",
    605     "pattern": ".",
    606     "action": [
    607         "python",
    608         "src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py",
    609         "--linux-only",
    610         "--arch=i386"],
    611   },
    612   {
    613     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
    614     # zero seconds to run. If something changed, it downloads a prebuilt clang,
    615     # which takes ~20s, but clang speeds up builds by more than 20s.
    616     "name": "clang",
    617     "pattern": ".",
    618     "action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
    619   },
    620   {
    621     # Update the cygwin mount on Windows.
    622     "name": "cygwin",
    623     "pattern": ".",
    624     "action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
    625   },
    626   {
    627     # Update LASTCHANGE. This is also run by export_tarball.py in
    628     # src/tools/export_tarball - please keep them in sync.
    629     "name": "lastchange",
    630     "pattern": ".",
    631     "action": ["python", "src/build/util/lastchange.py",
    632                "-o", "src/build/util/LASTCHANGE"],
    633   },
    634   {
    635     # Update LASTCHANGE.blink. This is also run by export_tarball.py in
    636     # src/tools/export_tarball - please keep them in sync.
    637     "name": "lastchange",
    638     "pattern": ".",
    639     "action": ["python", "src/build/util/lastchange.py",
    640                "-s", "src/third_party/WebKit",
    641                "-o", "src/build/util/LASTCHANGE.blink"],
    642   },
    643   # Pull GN binaries. This needs to be before running GYP below.
    644   {
    645     "name": "gn_win",
    646     "pattern": "src/tools/gn/bin/win/gn.exe.sha1",
    647     "action": [ "download_from_google_storage",
    648                 "--no_resume",
    649                 "--platform=win32",
    650                 "--no_auth",
    651                 "--bucket", "chromium-gn",
    652                 "-s", "src/tools/gn/bin/win/gn.exe.sha1",
    653     ],
    654   },
    655   {
    656     "name": "gn_mac",
    657     "pattern": "src/tools/gn/bin/mac/gn.sha1",
    658     "action": [ "download_from_google_storage",
    659                 "--no_resume",
    660                 "--platform=darwin",
    661                 "--no_auth",
    662                 "--bucket", "chromium-gn",
    663                 "-s", "src/tools/gn/bin/mac/gn.sha1",
    664     ],
    665   },
    666   {
    667     "name": "gn_linux",
    668     "pattern": "src/tools/gn/bin/linux/gn.sha1",
    669     "action": [ "download_from_google_storage",
    670                 "--no_resume",
    671                 "--platform=linux*",
    672                 "--no_auth",
    673                 "--bucket", "chromium-gn",
    674                 "-s", "src/tools/gn/bin/linux/gn.sha1",
    675     ],
    676   },
    677   {
    678     "name": "gn_linux32",
    679     "pattern": "src/tools/gn/bin/linux/gn32.sha1",
    680     "action": [ "download_from_google_storage",
    681                 "--no_resume",
    682                 "--platform=linux*",
    683                 "--no_auth",
    684                 "--bucket", "chromium-gn",
    685                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
    686     ],
    687   },
    688   {
    689     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
    690     "name": "gyp",
    691     "pattern": ".",
    692     "action": ["python", "src/build/gyp_chromium"],
    693   },
    694   {
    695     # Check for landmines (reasons to clobber the build).
    696     "name": "landmines",
    697     "pattern": ".",
    698     "action": ["python", "src/build/landmines.py"],
    699   },
    700 ]
    701