|  | # 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', | 
|  | 'buildtools_revision': '15308f469a704c45d15567fa69cd94ce07ad0e1b', | 
|  | 'boringssl_revision': 'a7997f12be358e58aeb2345bb8b88a9d53240024', | 
|  | } | 
|  |  | 
|  | # 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', | 
|  | ] | 
|  |  | 
|  | deps = { | 
|  | 'src/base': | 
|  | Var('chromium_git') + '/chromium/src/base.git' + '@' +  '664aee2139dbf56a3b9ce75cd3ccb7581b92035f', | 
|  |  | 
|  | 'src/build/config': | 
|  | Var('chromium_git') + '/chromium/src/build/config.git' + '@' +  '7b232bf79c2ae9a6e2daed8ea8f446735fdd19d9', | 
|  |  | 
|  | 'src/build/toolchain': | 
|  | Var('chromium_git') + '/chromium/src/build/toolchain.git' + '@' +  '3793779608aa15ae1bfb09853636aea5a5e42a59', | 
|  |  | 
|  | 'src/buildtools': | 
|  | Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'), | 
|  |  | 
|  | 'src/crypto': | 
|  | Var('chromium_git') + '/chromium/src/crypto.git' + '@' +  '0e395c923a66155550f5b83edf0db7fc08339a4f', | 
|  |  | 
|  | '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/boringssl/src': | 
|  | 'https://boringssl.googlesource.com/boringssl.git' + '@' +  Var('boringssl_revision'), | 
|  |  | 
|  | 'src/third_party/requests/src': | 
|  | Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', | 
|  |  | 
|  | 'src/third_party/icu': | 
|  | Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '7c81740601355556e630da515b74d889ba2f8d08', | 
|  |  | 
|  | 'src/third_party/mojo/src/mojo/public': | 
|  | Var('chromium_git') + '/external/github.com/domokit/mojo_sdk.git' + '@' + '8502ec3f82fdb0c4068353b038410b49413616e5', | 
|  |  | 
|  | 'src/tools/grit': | 
|  | Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad467e845ba8543c22f9072af', # from svn revision 189 | 
|  |  | 
|  | 'src/third_party/pyelftools': | 
|  | Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3e610c86fcadb837d252c794cb5e8008826ae', | 
|  |  | 
|  | 'src/third_party/mojo_devtools': | 
|  | 'https://github.com/domokit/devtools.git' + '@' + 'b979a23b899ea5e5ed933cc15ef445835787d9c6', | 
|  | } | 
|  |  | 
|  | deps_os = { | 
|  | 'android': { | 
|  | 'src/third_party/android_tools': | 
|  | Var('chromium_git') + '/android_tools.git' + '@' + '3c5189b5b05fad7e0bcfb60835bde75d4211964c', | 
|  |  | 
|  | 'src/third_party/appurify-python/src': | 
|  | Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' + '@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867', | 
|  |  | 
|  | '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/junit/src': | 
|  | Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1', | 
|  |  | 
|  | 'src/third_party/mockito/src': | 
|  | Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e', | 
|  |  | 
|  | 'src/third_party/robolectric/lib': | 
|  | Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810', | 
|  |  | 
|  | 'src/third_party/requests/src': | 
|  | Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4', | 
|  | } | 
|  | } | 
|  |  | 
|  | hooks = [ | 
|  | { | 
|  | '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', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'gn_mac', | 
|  | 'pattern': '.', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=darwin', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-gn', | 
|  | '-s', 'src/buildtools/mac/gn.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', | 
|  | ], | 
|  | }, | 
|  | { | 
|  | 'name': 'clang_format_mac', | 
|  | 'pattern': '.', | 
|  | 'action': [ 'download_from_google_storage', | 
|  | '--no_resume', | 
|  | '--platform=darwin', | 
|  | '--no_auth', | 
|  | '--bucket', 'chromium-clang-format', | 
|  | '-s', 'src/buildtools/mac/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 the mojo_shell binary based on //third_party/mojo/MOJO_VERSION | 
|  | { | 
|  | 'name': 'download_mojo_shell', | 
|  | 'pattern': '', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/mojo/src/mojo/public/tools/download_shell_binary.py', | 
|  | '--tools-directory=../../../../../../tools', | 
|  | '--version-file=../../../../MOJO_VERSION', | 
|  | ], | 
|  | }, | 
|  | # Pull the archiecture (sic) independent blobs | 
|  | { | 
|  | 'name': 'download_archiecture_independent_frameworks', | 
|  | 'pattern': '', | 
|  | 'action': [ 'python', | 
|  | 'src/third_party/mojo/src/mojo/public/tools/download_archiecture_independent_frameworks.py', | 
|  | '--tools-directory=../../../../../../tools', | 
|  | '--version-file=../../../../MOJO_VERSION', | 
|  | ], | 
|  | }, | 
|  | ] |