DEPS 11.4 KB
Newer Older
A
Adam Barth 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# 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',
A
Adam Barth 已提交
22
  'fuchsia_git': 'https://fuchsia.googlesource.com',
23
  'github_git': 'https://github.com',
24
  'mojo_sdk_revision': '6b5fb1227c742f5ecc077486ebc029f2711c61fa',
25
  'base_revision': '75e70c3387cf327702a0533e93bc480446da0806',
A
Adam Barth 已提交
26
  'skia_revision': '5561e3ddbbf6c3e051075ada4a11ddc70760f03d',
C
Chinmay Garde 已提交
27 28 29

  # Note: When updating the Dart revision, ensure that all entries that are
  # dependencies of dart are also updated
30 31
  'dart_revision': 'b29788329baab1183f6e430bc2cf3c4169b20621',
  'dart_boringssl_gen_revision': '922830c0aad900dd3d143eef1ba06faa83fe263b',
32
  'dart_boringssl_revision': '8d343b44bbab829d1a28fdef650ca95f7db4412e',
33
  'dart_observatory_packages_revision': '26aad88f1c1915d39bbcbff3cad589e2402fdcf1',
34
  'dart_root_certificates_revision': 'aed07942ce98507d2be28cbd29e879525410c7fc',
A
Adam Barth 已提交
35

36
  'buildtools_revision': '3d2e47bf14e4e67816a53e304dea422fa18f9180',
A
Adam Barth 已提交
37 38 39 40 41 42
}

# 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 = [
  'chromium.googlesource.com',
A
Adam Barth 已提交
43
  'fuchsia.googlesource.com',
J
James Robinson 已提交
44
  'github.com',
A
Adam Barth 已提交
45 46 47
]

deps = {
48
  'src': 'https://github.com/flutter/buildroot.git' + '@' + 'fb02c1530237201ab1202962cb3a26b233d01262',
49

A
Adam Barth 已提交
50 51 52 53 54 55 56
   # Fuchsia compatibility
   #
   # The dependencies in this section should match the layout in the Fuchsia gn
   # build. Eventually, we'll manage these dependencies together with Fuchsia
   # and not have to specific specific hashes.

  'src/lib/ftl':
A
Adam Barth 已提交
57
   Var('fuchsia_git') + '/ftl' + '@' + '0bb3a02301c8a88b494e58c6636fa509525adaa8',
A
Adam Barth 已提交
58

A
Adam Barth 已提交
59
  'src/lib/tonic':
60
   Var('fuchsia_git') + '/tonic' + '@' + '5ca4053563027007ef2e7b2892efe63c26d30259',
A
Adam Barth 已提交
61

A
Adam Barth 已提交
62
  'src/lib/zip':
J
Jason Simmons 已提交
63
   Var('fuchsia_git') + '/zip' + '@' + '92dc87ca645fe8e9f5151ef6dac86d8311a7222f',
A
Adam Barth 已提交
64

65 66 67
  'src/mojo/public':
   Var('fuchsia_git') + '/mojo/public' + '@' + Var('mojo_sdk_revision'),

A
Adam Barth 已提交
68 69 70
  'src/third_party/gtest':
   Var('fuchsia_git') + '/third_party/gtest' + '@' + 'c00f82917331efbbd27124b537e4ccc915a02b72',

71 72 73
  'src/third_party/rapidjson':
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',

A
Adam Barth 已提交
74 75 76 77 78
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

79
  'src/base':
80
   Var('github_git') + '/flutter/base.git' + '@' +  Var('base_revision'),
81

A
Adam Barth 已提交
82 83 84
  'src/buildtools':
   Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),

A
Adam Barth 已提交
85
  # TODO(abarth): Remove in favor of //third_party/gtest
A
Adam Barth 已提交
86
  'src/testing/gtest':
A
Adam Barth 已提交
87
   Var('chromium_git') + '/external/googletest.git' + '@' + '23574bf2333f834ff665f894c97bef8a5b33a0a9',
A
Adam Barth 已提交
88 89

  'src/testing/gmock':
A
Adam Barth 已提交
90
   Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271',
A
Adam Barth 已提交
91 92

  'src/third_party/icu':
A
Adam Barth 已提交
93
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c3f79166089e5360c09e3053fce50e6e296c3204',
A
Adam Barth 已提交
94 95 96 97

  'src/dart':
    Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'),

98 99 100 101 102
  'src/third_party/boringssl':
    Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_revision'),

  'src/third_party/boringssl/src':
   'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_revision'),
103

A
Adam Barth 已提交
104
  'src/dart/third_party/observatory_pub_packages':
105 106 107
   Var('chromium_git') +
   '/external/github.com/dart-lang/observatory_pub_packages' + '@' +
   Var('dart_observatory_packages_revision'),
A
Adam Barth 已提交
108

C
Chinmay Garde 已提交
109 110 111 112 113
  'src/dart/third_party/root_certificates':
   Var('chromium_git') +
   '/external/github.com/dart-lang/root_certificates' + '@' +
   Var('dart_root_certificates_revision'),

A
Adam Barth 已提交
114 115 116
  'src/third_party/skia':
   Var('chromium_git') + '/skia.git' + '@' +  Var('skia_revision'),

117
  'src/third_party/yasm/source/patched-yasm':
A
Adam Barth 已提交
118
   Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
119

J
Jason Simmons 已提交
120
  'src/third_party/libjpeg_turbo':
I
Ian Hickson 已提交
121
   Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '7260e4d8b8e1e40b17f03fafdf1cd83296900f76',
122 123 124 125

   # Headers for Vulkan 1.0
   'src/third_party/vulkan':
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
A
Adam Barth 已提交
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
}

deps_os = {
  '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/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/freetype-android/src':
A
Adam Barth 已提交
146
       Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + 'e186230678ee8e4ea4ac4797ece8125761e3225a',
A
Adam Barth 已提交
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
  },
}


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',
    ],
  },
163 164 165 166 167 168 169 170
  {
    'name': 'download_android_tools',
    'pattern': '.',
    'action': [
        'python',
        'src/tools/android/download_android_tools.py',
    ],
  },
A
Adam Barth 已提交
171 172 173 174 175 176
  {
    # Pull clang if needed or requested via GYP_DEFINES.
    'name': 'clang',
    'pattern': '.',
    'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
  },
177 178 179 180 181 182
  {
    # Pull dart sdk if needed
    'name': 'dart',
    'pattern': '.',
    'action': ['python', 'src/tools/dart/update.py'],
  },
A
Adam Barth 已提交
183 184 185 186 187 188 189 190 191 192 193 194 195 196
  {
    # 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_linux64',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
197
                '--quiet',
A
Adam Barth 已提交
198 199 200 201 202 203 204 205 206 207 208
                '--platform=linux*',
                '--no_auth',
                '--bucket', 'chromium-gn',
                '-s', 'src/buildtools/linux64/gn.sha1',
    ],
  },
  {
    'name': 'gn_mac',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
209
                '--quiet',
A
Adam Barth 已提交
210 211 212 213 214 215 216 217 218 219 220
                '--platform=darwin',
                '--no_auth',
                '--bucket', 'chromium-gn',
                '-s', 'src/buildtools/mac/gn.sha1',
    ],
  },
  {
    'name': 'gn_win',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
221
                '--quiet',
A
Adam Barth 已提交
222 223 224 225 226 227 228 229 230 231 232 233
                '--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',
234
                '--quiet',
A
Adam Barth 已提交
235 236 237 238 239 240 241 242 243 244 245
                '--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',
246
                '--quiet',
A
Adam Barth 已提交
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
                '--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 eu-strip binaries using checked-in hashes.
  {
    'name': 'eu-strip',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
270
                '--quiet',
A
Adam Barth 已提交
271 272 273 274 275 276
                '--platform=linux*',
                '--no_auth',
                '--bucket', 'chromium-eu-strip',
                '-s', 'src/build/linux/bin/eu-strip.sha1',
    ],
  },
T
Tony Gentilcore 已提交
277 278
  # Pull the mojom parser binaries using checked-in hashes.
  {
279
    'name': 'mojom_tool',
T
Tony Gentilcore 已提交
280 281 282 283 284 285 286
    'pattern': '',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--quiet',
                '--platform=linux*',
                '--no_auth',
                '--bucket', 'mojo/mojom_parser/linux64',
287
                '-s', 'src/mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1',
T
Tony Gentilcore 已提交
288 289 290
    ],
  },
  {
291
    'name': 'mojom_tool',
T
Tony Gentilcore 已提交
292 293 294 295 296 297 298
    'pattern': '',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--quiet',
                '--platform=darwin',
                '--no_auth',
                '--bucket', 'mojo/mojom_parser/mac64',
299
                '-s', 'src/mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1',
T
Tony Gentilcore 已提交
300 301
    ],
  },
A
Adam Barth 已提交
302 303 304 305 306 307 308 309 310 311 312
  {
    # 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',
    ],
  },
M
mikejurka 已提交
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
  # Pull the mojom generator binaries using checked-in hashes.
  {
    'name': 'mojom_generators',
    'pattern': '',
    'action': [ 'download_from_google_storage.py',
                '--no_resume',
                '--quiet',
                '--platform=linux*',
                '--no_auth',
                '--bucket', 'mojo/mojom_parser/linux64/generators',
                '-d', 'src/mojo/public/tools/bindings/mojom_tool/bin/linux64/generators',
    ],
  },
  {
    'name': 'mojom_generators',
    'pattern': '',
    'action': [ 'download_from_google_storage.py',
                '--no_resume',
                '--quiet',
                '--platform=darwin',
                '--no_auth',
                '--bucket', 'mojo/mojom_parser/mac64/generators',
                '-d', 'src/mojo/public/tools/bindings/mojom_tool/bin/mac64/generators',
    ],
  },
A
Adam Barth 已提交
338
]