| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 # IMPORTANT: |
| 6 # Before adding or updating dependencies, please review the documentation here: |
| 7 # https://github.com/dart-lang/sdk/wiki/Adding-and-Updating-Dependencies |
| 8 |
| 5 vars = { | 9 vars = { |
| 6 # The dart_root is the root of our sdk checkout. This is normally | 10 # The dart_root is the root of our sdk checkout. This is normally |
| 7 # simply sdk, but if using special gclient specs it can be different. | 11 # simply sdk, but if using special gclient specs it can be different. |
| 8 "dart_root": "sdk", | 12 "dart_root": "sdk", |
| 9 | 13 |
| 10 # We use mirrors of all github repos to guarantee reproducibility and | 14 # We use mirrors of all github repos to guarantee reproducibility and |
| 11 # consistency between what users see and what the bots see. | 15 # consistency between what users see and what the bots see. |
| 12 # We need the mirrors to not have 100+ bots pulling github constantly. | 16 # We need the mirrors to not have 100+ bots pulling github constantly. |
| 13 # We mirror our github repos on chromium git servers. | 17 # We mirror our github repos on chromium git servers. |
| 14 # DO NOT use this var if you don't see a mirror here: | 18 # DO NOT use this var if you don't see a mirror here: |
| 15 # https://chromium.googlesource.com/ | 19 # https://chromium.googlesource.com/ |
| 16 # named like: | 20 # named like: |
| 17 # external/github.com/dart-lang/NAME | 21 # external/github.com/dart-lang/NAME |
| 18 # It is ok to add a dependency directly on dart-lang (dart-lang only) | |
| 19 # github repo until the mirror has been created, but please do file a bug | |
| 20 # against infra to make that happen. | |
| 21 "github_mirror": | 22 "github_mirror": |
| 22 "https://chromium.googlesource.com/external/github.com/dart-lang/%s.git", | 23 "https://chromium.googlesource.com/external/github.com/dart-lang/%s.git", |
| 23 | 24 |
| 24 # Chromium git | 25 # Chromium git |
| 25 "chromium_git": "https://chromium.googlesource.com", | 26 "chromium_git": "https://chromium.googlesource.com", |
| 26 "fuchsia_git": "https://fuchsia.googlesource.com", | 27 "fuchsia_git": "https://fuchsia.googlesource.com", |
| 27 | 28 |
| 28 # Only use this temporarily while waiting for a mirror for a new package. | 29 # IMPORTANT: |
| 29 "github_dartlang": "https://github.com/dart-lang/%s.git", | 30 # This should only be used for local testing. Before adding a new package, |
| 31 # request a mirror of the package you need. To request a mirror, file an issue |
| 32 # on github and add the label 'area-infrastructure'. |
| 33 # "github_dartlang": "https://github.com/dart-lang/%s.git", |
| 30 | 34 |
| 31 "gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638", | 35 "gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638", |
| 32 "co19_rev": "@4af9ef149be554216c5bb16cbac8e50d4c28cdf1", | 36 "co19_rev": "@4af9ef149be554216c5bb16cbac8e50d4c28cdf1", |
| 33 | 37 |
| 34 # Revisions of GN related dependencies. This should match the revision | 38 # Revisions of GN related dependencies. This should match the revision |
| 35 # pulled by Flutter. | 39 # pulled by Flutter. |
| 36 "buildtools_revision": "@057ef89874e3c622248cf99259434fdc683c4e30", | 40 "buildtools_revision": "@057ef89874e3c622248cf99259434fdc683c4e30", |
| 37 | 41 |
| 38 # Scripts that make 'git cl format' work. | 42 # Scripts that make 'git cl format' work. |
| 39 "clang_format_scripts_rev": "@c09c8deeac31f05bd801995c475e7c8070f9ecda", | 43 "clang_format_scripts_rev": "@c09c8deeac31f05bd801995c475e7c8070f9ecda", |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 Var("package_config_tag"), | 271 Var("package_config_tag"), |
| 268 Var("dart_root") + "/third_party/pkg_tested/package_resolver": | 272 Var("dart_root") + "/third_party/pkg_tested/package_resolver": |
| 269 (Var("github_mirror") % "package_resolver") + Var("package_resolver_tag"), | 273 (Var("github_mirror") % "package_resolver") + Var("package_resolver_tag"), |
| 270 Var("dart_root") + "/third_party/pkg/path": | 274 Var("dart_root") + "/third_party/pkg/path": |
| 271 (Var("github_mirror") % "path") + Var("path_tag"), | 275 (Var("github_mirror") % "path") + Var("path_tag"), |
| 272 Var("dart_root") + "/third_party/pkg/plugin": | 276 Var("dart_root") + "/third_party/pkg/plugin": |
| 273 (Var("github_mirror") % "plugin") + Var("plugin_tag"), | 277 (Var("github_mirror") % "plugin") + Var("plugin_tag"), |
| 274 Var("dart_root") + "/third_party/pkg/pool": | 278 Var("dart_root") + "/third_party/pkg/pool": |
| 275 (Var("github_mirror") % "pool") + Var("pool_tag"), | 279 (Var("github_mirror") % "pool") + Var("pool_tag"), |
| 276 Var("dart_root") + "/third_party/pkg/protobuf": | 280 Var("dart_root") + "/third_party/pkg/protobuf": |
| 277 # Restore the github mirror once it's corrected to point to protobuf | 281 (Var("github_mirror") % "protobuf") + Var("protobuf_tag"), |
| 278 # instead of dart-protobuf | |
| 279 # (Var("github_mirror") % "dart-protobuf") + Var("protobuf_tag"), | |
| 280 (Var("github_dartlang") % "protobuf") + Var("protobuf_tag"), | |
| 281 Var("dart_root") + "/third_party/pkg/pub_semver": | 282 Var("dart_root") + "/third_party/pkg/pub_semver": |
| 282 (Var("github_mirror") % "pub_semver") + Var("pub_semver_tag"), | 283 (Var("github_mirror") % "pub_semver") + Var("pub_semver_tag"), |
| 283 Var("dart_root") + "/third_party/pkg/pub": | 284 Var("dart_root") + "/third_party/pkg/pub": |
| 284 (Var("github_mirror") % "pub") + Var("pub_rev"), | 285 (Var("github_mirror") % "pub") + Var("pub_rev"), |
| 285 Var("dart_root") + "/third_party/pkg/quiver": | 286 Var("dart_root") + "/third_party/pkg/quiver": |
| 286 Var("chromium_git") | 287 Var("chromium_git") |
| 287 + "/external/github.com/google/quiver-dart.git" | 288 + "/external/github.com/google/quiver-dart.git" |
| 288 + Var("quiver_tag"), | 289 + Var("quiver_tag"), |
| 289 Var("dart_root") + "/third_party/pkg/resource": | 290 Var("dart_root") + "/third_party/pkg/resource": |
| 290 (Var("github_mirror") % "resource") + Var("resource_rev"), | 291 (Var("github_mirror") % "resource") + Var("resource_rev"), |
| (...skipping 28 matching lines...) Expand all Loading... |
| 319 Var("string_scanner_tag"), | 320 Var("string_scanner_tag"), |
| 320 Var("dart_root") + "/third_party/sunflower": | 321 Var("dart_root") + "/third_party/sunflower": |
| 321 (Var("github_mirror") % "sample-sunflower") + | 322 (Var("github_mirror") % "sample-sunflower") + |
| 322 Var("sunflower_rev"), | 323 Var("sunflower_rev"), |
| 323 Var("dart_root") + "/third_party/pkg/test": | 324 Var("dart_root") + "/third_party/pkg/test": |
| 324 (Var("github_mirror") % "test") + Var("test_tag"), | 325 (Var("github_mirror") % "test") + Var("test_tag"), |
| 325 Var("dart_root") + "/third_party/pkg/test_reflective_loader": | 326 Var("dart_root") + "/third_party/pkg/test_reflective_loader": |
| 326 (Var("github_mirror") % "test_reflective_loader") + | 327 (Var("github_mirror") % "test_reflective_loader") + |
| 327 Var("test_reflective_loader_tag"), | 328 Var("test_reflective_loader_tag"), |
| 328 Var("dart_root") + "/third_party/pkg/tuple": | 329 Var("dart_root") + "/third_party/pkg/tuple": |
| 329 (Var("github_dartlang") % "tuple") + Var("tuple_tag"), | 330 (Var("github_mirror") % "tuple") + Var("tuple_tag"), |
| 330 Var("dart_root") + "/third_party/pkg/typed_data": | 331 Var("dart_root") + "/third_party/pkg/typed_data": |
| 331 (Var("github_mirror") % "typed_data") + Var("typed_data_tag"), | 332 (Var("github_mirror") % "typed_data") + Var("typed_data_tag"), |
| 332 Var("dart_root") + "/third_party/pkg/usage": | 333 Var("dart_root") + "/third_party/pkg/usage": |
| 333 (Var("github_mirror") % "usage") + Var("usage_tag"), | 334 (Var("github_mirror") % "usage") + Var("usage_tag"), |
| 334 Var("dart_root") + "/third_party/pkg/utf": | 335 Var("dart_root") + "/third_party/pkg/utf": |
| 335 (Var("github_mirror") % "utf") + Var("utf_tag"), | 336 (Var("github_mirror") % "utf") + Var("utf_tag"), |
| 336 Var("dart_root") + "/third_party/pkg/watcher": | 337 Var("dart_root") + "/third_party/pkg/watcher": |
| 337 (Var("github_mirror") % "watcher") + Var("watcher_tag"), | 338 (Var("github_mirror") % "watcher") + Var("watcher_tag"), |
| 338 Var("dart_root") + "/third_party/pkg/web_components": | 339 Var("dart_root") + "/third_party/pkg/web_components": |
| 339 (Var("github_mirror") % "web-components") + | 340 (Var("github_mirror") % "web-components") + |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 # Update the Windows toolchain if necessary. | 490 # Update the Windows toolchain if necessary. |
| 490 'name': 'win_toolchain', | 491 'name': 'win_toolchain', |
| 491 'pattern': '.', | 492 'pattern': '.', |
| 492 'action': ['python', 'sdk/build/vs_toolchain.py', 'update'], | 493 'action': ['python', 'sdk/build/vs_toolchain.py', 'update'], |
| 493 }, | 494 }, |
| 494 { | 495 { |
| 495 "pattern": ".", | 496 "pattern": ".", |
| 496 "action": ["python", Var("dart_root") + "/tools/generate_buildfiles.py"], | 497 "action": ["python", Var("dart_root") + "/tools/generate_buildfiles.py"], |
| 497 }, | 498 }, |
| 498 ] | 499 ] |
| OLD | NEW |