OLD | NEW |
1 # This file is automatically processed to create .DEPS.git which is the file | 1 # This file is automatically processed to create .DEPS.git which is the file |
2 # that gclient uses under git. | 2 # that gclient uses under git. |
3 # | 3 # |
4 # See http://code.google.com/p/chromium/wiki/UsingGit | 4 # See http://code.google.com/p/chromium/wiki/UsingGit |
5 # | 5 # |
6 # To test manually, run: | 6 # To test manually, run: |
7 # python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir> | 7 # python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir> |
8 # where <gcliendir> is the absolute path to the directory containing the | 8 # where <gcliendir> is the absolute path to the directory containing the |
9 # .gclient file (the parent of 'src'). | 9 # .gclient file (the parent of 'src'). |
10 # | 10 # |
11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run | 11 # Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run |
12 # gclient sync | 12 # gclient sync |
13 # Verify the thing happened you wanted. Then revert your .DEPS.git change | 13 # Verify the thing happened you wanted. Then revert your .DEPS.git change |
14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically | 14 # DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically |
15 # updated by a bot when you modify this one. | 15 # updated by a bot when you modify this one. |
16 # | 16 # |
17 # When adding a new dependency, please update the top-level .gitignore file | 17 # When adding a new dependency, please update the top-level .gitignore file |
18 # to list the dependency's destination directory. | 18 # to list the dependency's destination directory. |
19 | 19 |
20 vars = { | 20 vars = { |
21 'chromium_git': 'https://chromium.googlesource.com', | 21 'chromium_git': 'https://chromium.googlesource.com', |
22 'buildtools_revision': '565d04e8741429fb1b4f26d102f2c6c3b849edeb', | 22 'base_revision': '82833117dada3473e590e2ecf1ba6250193e5f9d', |
23 'boringssl_revision': 'a7997f12be358e58aeb2345bb8b88a9d53240024', | 23 'boringssl_revision': 'a7997f12be358e58aeb2345bb8b88a9d53240024', |
| 24 'buildtools_revision': '222bd42ce39d1bd8f08fe089b066f49c469e1cdf', |
| 25 'mojo_devtools_revision': '176889fd2e17f988727847a03b00c158af8a6c52', |
| 26 'mojo_sdk_revision': '88ed73337a362aec488d070424e39c55ecdfa55c', |
24 } | 27 } |
25 | 28 |
26 # Only these hosts are allowed for dependencies in this DEPS file. | 29 # Only these hosts are allowed for dependencies in this DEPS file. |
27 # If you need to add a new host, contact chrome infrastructure team. | 30 # If you need to add a new host, contact chrome infrastructure team. |
28 allowed_hosts = [ | 31 allowed_hosts = [ |
29 'boringssl.googlesource.com', | 32 'boringssl.googlesource.com', |
30 'chromium.googlesource.com', | 33 'chromium.googlesource.com', |
31 ] | 34 ] |
32 | 35 |
33 deps = { | 36 deps = { |
34 'src/base': | 37 'src/base': |
35 Var('chromium_git') + '/chromium/src/base.git' + '@' + '664aee2139dbf56a3b9c
e75cd3ccb7581b92035f', | 38 Var('chromium_git') + '/external/github.com/domokit/base' + '@' + Var('base_r
evision'), |
36 | |
37 'src/build/config': | |
38 Var('chromium_git') + '/chromium/src/build/config.git' + '@' + '8b3ea542b26d9
adce77515ab063e88a8148fa09a', | |
39 | |
40 'src/build/toolchain': | |
41 Var('chromium_git') + '/chromium/src/build/toolchain.git' + '@' + '379377960
8aa15ae1bfb09853636aea5a5e42a59', | |
42 | 39 |
43 'src/buildtools': | 40 'src/buildtools': |
44 Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_rev
ision'), | 41 Var('chromium_git') + '/chromium/buildtools.git' + '@' + Var('buildtools_revi
sion'), |
45 | |
46 'src/crypto': | |
47 Var('chromium_git') + '/chromium/src/crypto.git' + '@' + '0e395c923a66155550
f5b83edf0db7fc08339a4f', | |
48 | 42 |
49 'src/sdch/open-vcdiff': | 43 'src/sdch/open-vcdiff': |
50 Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21
611a94cd37bfc8c28ceb33', # from svn revision 41 | 44 Var('chromium_git') + '/external/open-vcdiff.git' + '@' + '438f2a5be6d809bc21
611a94cd37bfc8c28ceb33', # from svn revision 41 |
51 | 45 |
52 'src/testing/gtest': | 46 'src/testing/gtest': |
53 Var('chromium_git') + '/external/googletest.git' + '@' + 'be1868139ffe0ccd0e8
e3b37292b84c821d9c8ad', # from svn revision 704 | 47 Var('chromium_git') + '/external/googletest.git' + '@' + 'be1868139ffe0ccd0e8
e3b37292b84c821d9c8ad', # from svn revision 704 |
54 | 48 |
55 'src/testing/gmock': | 49 'src/testing/gmock': |
56 Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f245652
99976b936d1265cb6a271', # from svn revision 501 | 50 Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f245652
99976b936d1265cb6a271', # from svn revision 501 |
57 | 51 |
58 'src/third_party/boringssl/src': | 52 'src/third_party/boringssl/src': |
59 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_re
vision'), | 53 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('boringssl_rev
ision'), |
60 | 54 |
61 'src/third_party/requests/src': | 55 'src/third_party/requests/src': |
62 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@'
+ 'f172b30356d821d180fa4ecfa3e71c7274a32de4', | 56 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@'
+ 'f172b30356d821d180fa4ecfa3e71c7274a32de4', |
63 | 57 |
64 'src/third_party/icu': | 58 'src/third_party/icu': |
65 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '7c81740601355556e63
0da515b74d889ba2f8d08', | 59 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '94e4b770ce2f6065d42
61d29c32683a6099b9d93', |
66 | 60 |
67 'src/third_party/mojo/src/mojo/public': | 61 'src/third_party/mojo/src/mojo/public': |
68 Var('chromium_git') + '/external/github.com/domokit/mojo_sdk.git' + '@' + '
15fd82cc2c30e084a44ad4fdeea6db9dbc96b71d', | 62 Var('chromium_git') + '/external/github.com/domokit/mojo_sdk.git' + '@' + V
ar('mojo_sdk_revision'), |
69 | 63 |
70 'src/tools/grit': | 64 'src/tools/grit': |
71 Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad46
7e845ba8543c22f9072af', # from svn revision 189 | 65 Var('chromium_git') + '/external/grit-i18n.git' + '@' + 'c1b1591a05209c1ad46
7e845ba8543c22f9072af', # from svn revision 189 |
72 | 66 |
73 'src/third_party/pyelftools': | 67 'src/third_party/pyelftools': |
74 Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3
e610c86fcadb837d252c794cb5e8008826ae', | 68 Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3
e610c86fcadb837d252c794cb5e8008826ae', |
75 | 69 |
76 'src/third_party/mojo_devtools': | 70 'src/third_party/mojo_devtools': |
77 'https://github.com/domokit/devtools.git' + '@' + '0c49abb6f81b6dbb114e1e081
070b19e510e3347', | 71 'https://github.com/domokit/devtools.git' + '@' + Var('mojo_devtools_revisio
n'), |
78 } | 72 } |
79 | 73 |
80 deps_os = { | 74 deps_os = { |
81 'android': { | 75 'android': { |
82 'src/third_party/android_tools': | |
83 Var('chromium_git') + '/android_tools.git' + '@' + '3c5189b5b05fad7e0bcfb60
835bde75d4211964c', | |
84 | |
85 'src/third_party/appurify-python/src': | 76 'src/third_party/appurify-python/src': |
86 Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' +
'@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867', | 77 Var('chromium_git') + '/external/github.com/appurify/appurify-python.git' +
'@' + 'ee7abd5c5ae3106f72b2a0b9d2cb55094688e867', |
87 | 78 |
88 'src/third_party/colorama/src': | 79 'src/third_party/colorama/src': |
89 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d
2789ecbd7e8db2e18e6b8', | 80 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d
2789ecbd7e8db2e18e6b8', |
90 | 81 |
91 'src/third_party/jsr-305/src': | 82 'src/third_party/jsr-305/src': |
92 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f722
0af6d5df2d3210e3bfc0919', | 83 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f722
0af6d5df2d3210e3bfc0919', |
93 | 84 |
94 'src/third_party/junit/src': | 85 'src/third_party/junit/src': |
(...skipping 10 matching lines...) Expand all Loading... |
105 } | 96 } |
106 } | 97 } |
107 | 98 |
108 hooks = [ | 99 hooks = [ |
109 { | 100 { |
110 'name': 'clang', | 101 'name': 'clang', |
111 'pattern': '.', | 102 'pattern': '.', |
112 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], | 103 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'], |
113 }, | 104 }, |
114 { | 105 { |
| 106 # This downloads android_tools according to tools/android/VERSION_*. |
| 107 'name': 'android_tools', |
| 108 'pattern': '.', |
| 109 'action': ['python', 'src/tools/android/download_android_tools.py'], |
| 110 }, |
| 111 { |
| 112 # This downloads SDK extras and puts them in the |
| 113 # third_party/android_tools/sdk/extras directory on the bots. Developers |
| 114 # need to manually install these packages and accept the ToS. |
| 115 'name': 'sdkextras', |
| 116 'pattern': '.', |
| 117 # When adding a new sdk extras package to download, add the package |
| 118 # directory and zip file to .gitignore in third_party/android_tools. |
| 119 'action': ['python', 'src/build/download_sdk_extras.py'], |
| 120 }, |
| 121 { |
115 'name': 'gn_linux64', | 122 'name': 'gn_linux64', |
116 'pattern': '.', | 123 'pattern': '.', |
117 'action': [ 'download_from_google_storage', | 124 'action': [ 'download_from_google_storage', |
118 '--no_resume', | 125 '--no_resume', |
119 '--platform=linux*', | 126 '--platform=linux*', |
120 '--no_auth', | 127 '--no_auth', |
121 '--bucket', 'chromium-gn', | 128 '--bucket', 'chromium-gn', |
122 '-s', 'src/buildtools/linux64/gn.sha1', | 129 '-s', 'src/buildtools/linux64/gn.sha1', |
123 ], | 130 ], |
124 }, | 131 }, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 # Pull the dart_snapshotter | 187 # Pull the dart_snapshotter |
181 { | 188 { |
182 'name': 'download_dart_snapshotter', | 189 'name': 'download_dart_snapshotter', |
183 'pattern': '', | 190 'pattern': '', |
184 'action': [ 'python', | 191 'action': [ 'python', |
185 'src/third_party/mojo/src/mojo/public/tools/download_dart_snapsh
otter.py', | 192 'src/third_party/mojo/src/mojo/public/tools/download_dart_snapsh
otter.py', |
186 '--tools-directory', '../../../../../../tools', | 193 '--tools-directory', '../../../../../../tools', |
187 '--version-file=../../../../MOJO_VERSION', | 194 '--version-file=../../../../MOJO_VERSION', |
188 ], | 195 ], |
189 }, | 196 }, |
| 197 # Pull the mojom parser binaries using checked-in hashes. |
| 198 { |
| 199 'name': 'mojom_tool', |
| 200 'pattern': '', |
| 201 'action': [ 'src/tools/download_from_google_storage.py', |
| 202 '--no_resume', |
| 203 '--quiet', |
| 204 '--platform=linux*', |
| 205 '--no_auth', |
| 206 '--bucket', 'mojo/mojom_parser/linux64', |
| 207 '-s', 'src/third_party/mojo/src/mojo/public/tools/bindings/mojom
_tool/bin/linux64/mojom.sha1', |
| 208 ], |
| 209 }, |
190 ] | 210 ] |
OLD | NEW |