blob: d00d462aa284433004836e4d594bf705f7b53eab [file] [log] [blame]
# This file is used to manage the dependencies of the Chromium src repo. It is
# used by gclient to determine what version of each dependency to check out, and
# where.
#
# For more information, please refer to the official documentation:
# https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
#
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.
#
# -----------------------------------------------------------------------------
# Rolling deps
# -----------------------------------------------------------------------------
# All repositories in this file are git-based, using Chromium git mirrors where
# necessary (e.g., a git mirror is used when the source project is SVN-based).
# To update the revision that Chromium pulls for a given dependency:
#
# # Create and switch to a new branch
# git new-branch depsroll
# # Run roll-dep (provided by depot_tools) giving the dep's path and optionally
# # a regex that will match the line in this file that contains the current
# # revision. The script ALWAYS rolls the dependency to the latest revision
# # in origin/master. The path for the dep should start with src/.
# roll-dep src/third_party/foo_package/src foo_package.git
# # You should now have a modified DEPS file; commit and upload as normal
# git commit -a
# git cl upload
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',
'chromium_git': 'https://chromium.googlesource.com',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling sfntly
# and whatever else without interference from each other.
'sfntly_revision': '130f832eddf98467e6578b548cb74ce17d04a26d',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling Skia
# and whatever else without interference from each other.
'skia_revision': '7d5105c4d2a9be7ef9ddba646471c35d4c966d97',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling V8
# and whatever else without interference from each other.
'v8_revision': '44a17d4f036e8b740aebd4374d6a6eee41966d38',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling swarming_client
# and whatever else without interference from each other.
'swarming_revision': 'df99a00d96fae932bae824dccba13156bf7eddd0',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling ANGLE
# and whatever else without interference from each other.
'angle_revision': 'dd5c5b79333fdde7858a77d39e91cc3d30b74c9e',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling build tools
# and whatever else without interference from each other.
'buildtools_revision': '818123dac34899ec230840936fc15b8b2b5556f9',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling PDFium
# and whatever else without interference from each other.
'pdfium_revision': '628f7053cc646c58c61add247c75bc65ac135327',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling openmax_dl
# and whatever else without interference from each other.
'openmax_dl_revision': '7a179b97899cf33d4a12c7ef590176c519016f4d',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling BoringSSL
# and whatever else without interference from each other.
'boringssl_revision': 'fde89b43c347155798dee8b1210c2c5faabe25f8',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling nss
# and whatever else without interference from each other.
'nss_revision': 'a676aa04ff18b30983cac03dede5861b3db62c9d',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling google-toolbox-for-mac
# and whatever else without interference from each other.
'google_toolbox_for_mac_revision': '401878398253074c515c03cb3a3f8bb0cc8da6e9',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling lighttpd
# and whatever else without interference from each other.
'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling lss
# and whatever else without interference from each other.
'lss_revision': '4fc942258fe5509549333b9487ec018e3c8c5b10',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling NaCl
# and whatever else without interference from each other.
'nacl_revision': 'a0559c4cc7e9f95b41982a8f4ba10a04173c6c75',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling dEQP
# and whatever else without interference from each other.
'deqp_revision': 'cc0ded6c77267bbb14d21aac358fc5d9690c07f8',
'deqp_url': 'https://android.googlesource.com/platform/external/deqp',
}
# Only these hosts are allowed for dependencies in this DEPS file.
# If you need to add a new host, contact chrome infrastracture team.
allowed_hosts = [
'chromium.googlesource.com',
'boringssl.googlesource.com',
'pdfium.googlesource.com',
'android.googlesource.com',
]
deps = {
'src/testing/gtest':
Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87',
}
deps_os = {
'unix': {
# Linux, really.
'src/third_party/lss':
Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
},
}
include_rules = [
# Everybody can use some things.
# NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
'+base',
'+build',
'+ipc',
# Everybody can use headers generated by tools/generate_library_loader.
'+library_loaders',
'+testing',
'+third_party/icu/source/common/unicode',
'+third_party/icu/source/i18n/unicode',
'+url',
]
# checkdeps.py shouldn't check include paths for files in these dirs:
skip_child_includes = [
'breakpad',
'native_client_sdk',
'out',
'sdch',
'skia',
'testing',
'v8',
'win8',
]
hooks = [
{
# Pull clang if needed or requested via GYP_DEFINES.
# Note: On Win, this should run after win_toolchain, as it may use it.
'name': 'clang',
'pattern': '.',
'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
},
{
'name': 'gn_linux64',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'src/buildtools/linux64/gn.sha1',
],
},
]