| # 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 -w <gclientdir> |
| # where <gcliendir> is the absolute path to the directory containing the |
| # .gclient file (the parent of 'src'). |
| # |
| # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run |
| # gclient sync |
| # Verify the thing happened you wanted. Then revert your .DEPS.git change |
| # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically |
| # updated by a bot when you modify this one. |
| # |
| # When adding a new dependency, please update the top-level .gitignore file |
| # to list the dependency's destination directory. |
| |
| vars = { |
| 'chromium_git': 'https://chromium.googlesource.com', |
| 'dart_svn': 'https://dart.googlecode.com', |
| 'sfntly_revision': '1bdaae8fc788a5ac8936d68bf24f37d977a13dac', |
| 'skia_revision': '2dca817edb0d741b7d8930009417bf9bd071808d', |
| # Three lines of non-changing comments so that |
| # the commit queue can handle CLs rolling Skia |
| # and V8 without interference from each other. |
| 'v8_revision': '3efdae6669030b03a841c8d579655ba1f36b1f87', |
| # 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': 'dd806c2b58aac61f010c7b1c6831f9541209f490', |
| # 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': '451dcd05a5b34936f5be67b2472cd63aaa508401', |
| # Three lines of non-changing comments so that |
| # the commit queue can handle CLs rolling Dart |
| # and whatever else without interference from each other. |
| 'dart_revision': '43152', |
| # 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': 'aa7b4ede03764a5701a477b601720a32c88d8e42', |
| # 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': 'e49da742cb8da281bbeaa7a54aad90aa5d3d19fe', |
| # 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': '952107fa7cea0daaabead28c0e92d579bee517eb', |
| # 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': 'bb4e75a43d007518ae7d618665ea2f25b0c60b63', |
| } |
| |
| # Only these hosts are allowed for dependencies in this DEPS file. |
| # If you need to add a new host, contact chrome infrastructure team. |
| allowed_hosts = [ |
| 'boringssl.googlesource.com', |
| 'chromium.googlesource.com', |
| 'dart.googlecode.com', |
| 'pdfium.googlesource.com', |
| ] |
| |
| deps = { |
| 'src/buildtools': |
| Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revision'), |
| |
| 'src/sdch/open-vcdiff': |
| Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21611a94cd37bfc8c28ceb33', # from svn revision 41 |
| |
| 'src/testing/gtest': |
| Var('chromium_git') + '/external/googletest.git' + '@' + 'be1868139ffe0ccd0e8e3b37292b84c821d9c8ad', # from svn revision 704 |
| |
| 'src/testing/gmock': |
| Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271', # from svn revision 501 |
| |
| 'src/third_party/angle': |
| Var('chromium_git') + '/angle/angle.git' + '@' + Var('angle_revision'), |
| |
| 'src/third_party/icu': |
| Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '4e3266f32c62d30a3f9e2232a753c60129d1e670', |
| |
| 'src/tools/grit': |
| Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'a5890a8118c0c80cc0560e6d8d5cf65e5d725509', # from svn revision 185 |
| |
| 'src/v8': |
| Var('chromium_git') + '/v8/v8.git' + '@' + Var('v8_revision'), |
| |
| 'src/dart/runtime': |
| Var('dart_svn') + '/svn/branches/bleeding_edge/dart/runtime' + '@' + Var('dart_revision'), |
| |
| 'src/dart/sdk/lib': |
| Var('dart_svn') + '/svn/branches/bleeding_edge/dart/sdk/lib' + '@' + Var('dart_revision'), |
| |
| 'src/dart/tools': |
| Var('dart_svn') + '/svn/branches/bleeding_edge/dart/tools' + '@' + Var('dart_revision'), |
| |
| 'src/third_party/sfntly/cpp/src': |
| Var('chromium_git') + '/external/sfntly/cpp/src.git' + '@' + Var('sfntly_revision'), |
| |
| 'src/third_party/skia': |
| Var('chromium_git') + '/skia.git' + '@' + Var('skia_revision'), |
| |
| 'src/third_party/ots': |
| Var('chromium_git') + '/external/ots.git' + '@' + '98897009f3ea8a5fa3e20a4a74977da7aaa8e61a', |
| |
| 'src/third_party/brotli/src': |
| Var('chromium_git') + '/external/font-compression-reference.git' + '@' + '8c9c83426beb4a58da34be76ea1fccb4054c4703', |
| |
| 'src/third_party/yasm/source/patched-yasm': |
| Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b', |
| |
| 'src/third_party/libjpeg_turbo': |
| Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '034e9a9747e0983bc19808ea70e469bc8342081f', |
| |
| 'src/third_party/smhasher/src': |
| Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f', |
| |
| 'src/third_party/pywebsocket/src': |
| Var('chromium_git') + '/external/pywebsocket/src.git' + '@' + 'cb349e87ddb30ff8d1fa1a89be39cec901f4a29c', |
| |
| 'src/third_party/mesa/src': |
| Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '071d25db04c23821a12a8b260ab9d96a097402f0', |
| |
| 'src/third_party/pdfium': |
| 'https://pdfium.googlesource.com/pdfium.git' + '@' + Var('pdfium_revision'), |
| |
| 'src/third_party/boringssl/src': |
| 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_revision'), |
| |
| 'src/tools/gyp': |
| Var('chromium_git') + '/external/gyp.git' + '@' + 'adb7d24b9fc166f01ab2da50478556b518a9218f', # from svn revision 2023 |
| } |
| |
| |
| deps_os = { |
| 'unix': { |
| # Linux, really. |
| 'src/third_party/lss': |
| Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'), |
| |
| # Note that this is different from Android's freetype repo. |
| 'src/third_party/freetype2/src': |
| Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + '495a23fce9cd125f715dc20643d14fed226d76ac', |
| |
| # Used for embedded builds. CrOS & Linux use the system version. |
| 'src/third_party/fontconfig/src': |
| Var('chromium_git') + '/external/fontconfig.git' + '@' + 'f16c3118e25546c1b749f9823c51827a60aeb5c1', |
| }, |
| 'android': { |
| 'src/third_party/colorama/src': |
| Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8', |
| |
| 'src/third_party/jsr-305/src': |
| Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919', |
| |
| 'src/third_party/android_tools': |
| Var('chromium_git') + '/android_tools.git' + '@' + 'aaeda3d69df4b4352e3cac7c16bea7f16bd1ec12', |
| |
| 'src/third_party/appurify-python/src': |
| Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867', |
| |
| 'src/third_party/freetype': |
| Var('chromium_git') + '/chromium/src/third_party/freetype.git' + '@' + 'fd6919ac23f74b876c209aba5eaa2be662086391', |
| |
| 'src/third_party/requests/src': |
| Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
| }, |
| 'win': { |
| 'src/third_party/nss': |
| Var('chromium_git') + '/chromium/deps/nss.git' + '@' + Var('nss_revision'), |
| 'src/third_party/bison': |
| Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3', |
| 'src/third_party/gperf': |
| Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1', |
| } |
| } |
| |
| |
| include_rules = [ |
| # Everybody can use some things. |
| '+base', |
| '+build', |
| |
| '+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 = [ |
| 'examples', |
| 'sdch', |
| 'services', |
| 'shell', |
| 'skia', |
| 'sky', |
| 'testing', |
| 'third_party', |
| ] |
| |
| |
| hooks = [ |
| { |
| # This clobbers when necessary (based on get_landmines.py). It must be the |
| # first hook so that other things that get/generate into the output |
| # directory will not subsequently be clobbered. |
| 'name': 'landmines', |
| 'pattern': '.', |
| 'action': [ |
| 'python', |
| 'src/build/landmines.py', |
| ], |
| }, |
| { |
| # Downloads an ARM sysroot image to src/arm-sysroot. This image updates |
| # at about the same rate that the chrome build deps change. |
| # This script is a no-op except for linux users who have |
| # target_arch=arm in their GYP_DEFINES. |
| 'name': 'sysroot', |
| 'pattern': '.', |
| 'action': ['python', 'src/build/linux/install-arm-sysroot.py', |
| '--linux-only'], |
| }, |
| { |
| # Pull clang if needed or requested via GYP_DEFINES. |
| 'name': 'clang', |
| 'pattern': '.', |
| 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
| }, |
| { |
| # Update the Windows toolchain if necessary. |
| 'name': 'win_toolchain', |
| 'pattern': '.', |
| 'action': ['python', 'src/build/vs_toolchain.py', 'update'], |
| }, |
| { |
| # Update LASTCHANGE. This is also run by export_tarball.py in |
| # src/tools/export_tarball - please keep them in sync. |
| 'name': 'lastchange', |
| 'pattern': '.', |
| 'action': ['python', 'src/build/util/lastchange.py', |
| '-o', 'src/build/util/LASTCHANGE'], |
| }, |
| # Pull GN binaries. This needs to be before running GYP below. |
| { |
| 'name': 'gn_linux32', |
| 'pattern': '.', |
| 'action': [ 'download_from_google_storage', |
| '--no_resume', |
| '--platform=linux*', |
| '--no_auth', |
| '--bucket', 'chromium-gn', |
| '-s', 'src/buildtools/linux32/gn.sha1', |
| ], |
| }, |
| { |
| 'name': 'gn_linux64', |
| 'pattern': '.', |
| 'action': [ 'download_from_google_storage', |
| '--no_resume', |
| '--platform=linux*', |
| '--no_auth', |
| '--bucket', 'chromium-gn', |
| '-s', 'src/buildtools/linux64/gn.sha1', |
| ], |
| }, |
| { |
| 'name': 'gn_win', |
| 'pattern': '.', |
| 'action': [ 'download_from_google_storage', |
| '--no_resume', |
| '--platform=win*', |
| '--no_auth', |
| '--bucket', 'chromium-gn', |
| '-s', 'src/buildtools/win/gn.exe.sha1', |
| ], |
| }, |
| # Pull clang-format binaries using checked-in hashes. |
| { |
| 'name': 'clang_format_linux', |
| 'pattern': '.', |
| 'action': [ 'download_from_google_storage', |
| '--no_resume', |
| '--platform=linux*', |
| '--no_auth', |
| '--bucket', 'chromium-clang-format', |
| '-s', 'src/buildtools/linux64/clang-format.sha1', |
| ], |
| }, |
| # Pull binutils for linux, enabled debug fission for faster linking / |
| # debugging when used with clang on Ubuntu Precise. |
| # https://code.google.com/p/chromium/issues/detail?id=352046 |
| { |
| 'name': 'binutils', |
| 'pattern': 'src/third_party/binutils', |
| 'action': [ |
| 'python', |
| 'src/third_party/binutils/download.py', |
| ], |
| }, |
| # Pull eu-strip binaries using checked-in hashes. |
| { |
| 'name': 'eu-strip', |
| 'pattern': '.', |
| 'action': [ 'download_from_google_storage', |
| '--no_resume', |
| '--platform=linux*', |
| '--no_auth', |
| '--bucket', 'chromium-eu-strip', |
| '-s', 'src/build/linux/bin/eu-strip.sha1', |
| ], |
| }, |
| # Pull the prebuilt network service binaries according to |
| # services/network/VERSION. |
| { |
| 'name': 'download_network_service', |
| 'pattern': '', |
| 'action': [ 'python', 'src/services/network/download_network_service.py' ], |
| }, |
| { |
| # Ensure that we don't accidentally reference any .pyc files whose |
| # corresponding .py files have already been deleted. |
| 'name': 'remove_stale_pyc_files', |
| 'pattern': 'src/tools/.*\\.py', |
| 'action': [ |
| 'python', |
| 'src/tools/remove_stale_pyc_files.py', |
| 'src/tools', |
| ], |
| }, |
| ] |