DEPS 10.1 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
  'skia_git': 'https://skia.googlesource.com',
24
  'github_git': 'https://github.com',
B
Brian Osman 已提交
25
  'skia_revision': '80ce804f3e18e29726ab2575333e4441d312a9ed',
C
Chinmay Garde 已提交
26

I
Ian Hickson 已提交
27 28 29
  # When updating the Dart revision, ensure that all entries that are
  # dependencies of Dart are also updated to match the entries in the
  # Dart SDK's DEPS file for that revision of Dart. The DEPS file for
30 31 32
  # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
  # You can use //dart/tools/create_updated_fluter_deps.py to produce
  # updated revision list of existing dependencies.
33
  'dart_revision': '3c543bb210711dd6761d592a863fd6f32e1f1279',
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

  'dart_args_tag': '0.13.7',
  'dart_async_tag': 'daf66909019d2aaec1721fc39d94ea648a9fdc1d',
  'dart_boringssl_gen_rev': '753224969dbe43dad29343146529727b5066c0f3',
  'dart_boringssl_rev': 'd519bf6be0b447fb80fbc539d4bff4479b5482a2',
  'dart_charcode_tag': 'v1.1.1',
  'dart_collection_tag': '1.13.0',
  'dart_convert_tag': '2.0.1',
  'dart_crypto_tag': '2.0.1',
  'dart_csslib_tag': '0.13.3+1',
  'dart_dart2js_info_tag': '0.5.4+2',
  'dart_glob_tag': '1.1.3',
  'dart_html_tag': '0.13.1',
  'dart_isolate_tag': '1.0.0',
  'dart_logging_tag': '0.11.3+1',
  'dart_observatory_pub_packages_rev': '26aad88f1c1915d39bbcbff3cad589e2402fdcf1',
  'dart_package_config_tag': '1.0.0',
  'dart_path_tag': '1.4.1',
  'dart_plugin_tag': '0.2.0',
  'dart_pub_semver_tag': '1.3.2',
  'dart_root_certificates_rev': 'a4c7c6f23a664a37bc1b6f15a819e3f2a292791a',
  'dart_source_span_tag': '1.4.0',
  'dart_string_scanner_tag': '1.0.1',
  'dart_typed_data_tag': '1.1.3',
  'dart_utf_tag': '0.9.0+3',
  'dart_watcher_tag': '0.9.7+3',
  'dart_yaml_tag': '2.1.12',
A
Adam Barth 已提交
61

62 63 64
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

65
  'buildtools_revision': 'c8db819853bcf8ce1635a8b7a395820f39b5a9fc',
A
Adam Barth 已提交
66 67 68 69 70 71
}

# 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 已提交
72
  'fuchsia.googlesource.com',
J
James Robinson 已提交
73
  'github.com',
74
  'skia.googlesource.com',
A
Adam Barth 已提交
75 76 77
]

deps = {
78
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '10383548a4063ad75855527a745e324125cf2210',
79

A
Adam Barth 已提交
80 81 82 83 84 85 86
   # 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':
87
   Var('fuchsia_git') + '/ftl' + '@' + '81aa1ca480c99caffbc2965deb0a6f7ac7f59f1c',
A
Adam Barth 已提交
88

A
Adam Barth 已提交
89
  'src/lib/tonic':
90
   Var('fuchsia_git') + '/tonic' + '@' + 'a8f142e04d811ac12a595018ea6815d11e536619',
A
Adam Barth 已提交
91

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

A
Adam Barth 已提交
95 96 97
  'src/third_party/gtest':
   Var('fuchsia_git') + '/third_party/gtest' + '@' + 'c00f82917331efbbd27124b537e4ccc915a02b72',

98 99 100
  'src/third_party/rapidjson':
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',

A
Adam Barth 已提交
101 102 103 104 105
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

A
Adam Barth 已提交
106
  'src/buildtools':
107
   Var('fuchsia_git') + '/buildtools' + '@' +  Var('buildtools_revision'),
108

109
  'src/ios_tools':
110
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
111 112

  'src/third_party/icu':
A
Adam Barth 已提交
113
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c3f79166089e5360c09e3053fce50e6e296c3204',
A
Adam Barth 已提交
114 115

  'src/dart':
116
   Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'),
A
Adam Barth 已提交
117

118
  'src/third_party/boringssl':
119
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
120 121

  'src/third_party/boringssl/src':
122
   'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_rev'),
123

A
Adam Barth 已提交
124
  'src/dart/third_party/observatory_pub_packages':
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
   Var('chromium_git') + '/external/github.com/dart-lang/observatory_pub_packages' + '@' + Var('dart_observatory_pub_packages_rev'),

  'src/dart/third_party/pkg/args':
   Var('chromium_git') + '/external/github.com/dart-lang/args' + '@' + Var('dart_args_tag'),

  'src/dart/third_party/pkg/async':
   Var('chromium_git') + '/external/github.com/dart-lang/async' + '@' +   Var('dart_async_tag'),

  'src/dart/third_party/pkg/charcode':
   Var('chromium_git') + '/external/github.com/dart-lang/charcode' + '@' + Var('dart_charcode_tag'),

  'src/dart/third_party/pkg/collection':
   Var('chromium_git') + '/external/github.com/dart-lang/collection' + '@' + Var('dart_collection_tag'),

  'src/dart/third_party/pkg/convert':
   Var('chromium_git') + '/external/github.com/dart-lang/convert' + '@' + Var('dart_convert_tag'),

  'src/dart/third_party/pkg/crypto':
   Var('chromium_git') + '/external/github.com/dart-lang/crypto' + '@' + Var('dart_crypto_tag'),

  'src/dart/third_party/pkg/csslib':
   Var('chromium_git') + '/external/github.com/dart-lang/csslib' + '@' + Var('dart_csslib_tag'),

  'src/dart/third_party/pkg/dart2js_info':
   Var('chromium_git') + '/external/github.com/dart-lang/dart2js_info' + '@' + Var('dart_dart2js_info_tag'),

  'src/dart/third_party/pkg/isolate':
   Var('chromium_git') + '/external/github.com/dart-lang/isolate' + '@' + Var('dart_isolate_tag'),

  'src/dart/third_party/pkg/glob':
   Var('chromium_git') + '/external/github.com/dart-lang/glob' + '@' + Var('dart_glob_tag'),

  'src/dart/third_party/pkg/html':
   Var('chromium_git') + '/external/github.com/dart-lang/html' + '@' + Var('dart_html_tag'),

  'src/dart/third_party/pkg/logging':
   Var('chromium_git') + '/external/github.com/dart-lang/logging' + '@' + Var('dart_logging_tag'),

  'src/dart/third_party/pkg_tested/package_config':
   Var('chromium_git') + '/external/github.com/dart-lang/package_config' + '@' + Var('dart_package_config_tag'),

  'src/dart/third_party/pkg/path':
   Var('chromium_git') + '/external/github.com/dart-lang/path' + '@' + Var('dart_path_tag'),

  'src/dart/third_party/pkg/plugin':
   Var('chromium_git') + '/external/github.com/dart-lang/plugin' + '@' + Var('dart_plugin_tag'),

  'src/dart/third_party/pkg/pub_semver':
   Var('chromium_git') + '/external/github.com/dart-lang/pub_semver' + '@' + Var('dart_pub_semver_tag'),

  'src/dart/third_party/pkg/source_span':
   Var('chromium_git') + '/external/github.com/dart-lang/source_span' + '@' + Var('dart_source_span_tag'),

  'src/dart/third_party/pkg/string_scanner':
   Var('chromium_git') + '/external/github.com/dart-lang/string_scanner' + '@' + Var('dart_string_scanner_tag'),

  'src/dart/third_party/pkg/typed_data':
   Var('chromium_git') + '/external/github.com/dart-lang/typed_data' + '@' + Var('dart_typed_data_tag'),

  'src/dart/third_party/pkg/utf':
   Var('chromium_git') + '/external/github.com/dart-lang/utf' + '@' + Var('dart_utf_tag'),

  'src/dart/third_party/pkg/watcher':
   Var('chromium_git') + '/external/github.com/dart-lang/watcher' + '@' + Var('dart_watcher_tag'),

  'src/dart/third_party/pkg/yaml':
   Var('chromium_git') + '/external/github.com/dart-lang/yaml' + '@' + Var('dart_yaml_tag'),
A
Adam Barth 已提交
192

193
  'src/third_party/root_certificates':
194
   Var('chromium_git') + '/external/github.com/dart-lang/root_certificates' + '@' + Var('dart_root_certificates_rev'),
C
Chinmay Garde 已提交
195

A
Adam Barth 已提交
196
  'src/third_party/skia':
197
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
198

199 200
  'src/third_party/libjpeg-turbo':
   Var('skia_git') + '/third_party/libjpeg-turbo.git' + '@' + 'debddedc75850bcdeb8a57258572f48b802a4bb3',
201

202 203 204
  'src/third_party/gyp':
   Var('chromium_git') + '/external/gyp.git' + '@' + '6ee91ad8659871916f9aa840d42e1513befdf638',

205 206 207
   # Headers for Vulkan 1.0
   'src/third_party/vulkan':
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
A
Adam Barth 已提交
208 209
}

210 211 212 213
recursedeps = [
  'src/buildtools',
]

A
Adam Barth 已提交
214 215 216 217 218
deps_os = {
  'android': {
    'src/third_party/colorama/src':
     Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

219
    'src/third_party/freetype2':
220
       Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'e23a030e9b43c648249477fdf7bf5305d2cc8f59',
A
Adam Barth 已提交
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
  },
}


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',
    ],
  },
237 238 239 240 241 242
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
243 244 245 246 247 248 249 250
  {
    'name': 'download_android_tools',
    'pattern': '.',
    'action': [
        'python',
        'src/tools/android/download_android_tools.py',
    ],
  },
A
Adam Barth 已提交
251
  {
252
    'name': 'buildtools',
A
Adam Barth 已提交
253
    'pattern': '.',
254 255 256 257 258 259 260
    'action': [
      'python',
      'src/tools/buildtools/update.py',
      '--ninja',
      '--gn',
      '--toolchain'
    ],
A
Adam Barth 已提交
261
  },
262 263 264 265 266 267
  {
    # Pull dart sdk if needed
    'name': 'dart',
    'pattern': '.',
    'action': ['python', 'src/tools/dart/update.py'],
  },
A
Adam Barth 已提交
268 269 270 271 272 273 274 275 276 277 278 279
  {
    # 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',
    ],
  },
]