| # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| |
| vars = { |
| "github_mirror": |
| "https://chromium.googlesource.com/external/github.com/dart-lang/", |
| "dart_root": "dart", |
| "sdk_tag": "@f38f91bb7e8cceff5149c5ee742d1a501749e4e3", |
| # package:path is needed to run test.dart. |
| "path_tag": "@1.4.2", |
| } |
| |
| deps = { |
| Var("dart_root"): |
| Var("github_mirror") + "sdk.git" + Var("sdk_tag"), |
| Var("dart_root") + "/third_party/pkg/path": |
| Var("github_mirror") + "path.git" + Var("path_tag"), |
| } |
| |
| hooks = [ |
| { |
| 'name': 'd8_testing_binaries', |
| 'pattern': '.', |
| 'action': [ |
| 'download_from_google_storage', |
| '--no_auth', |
| '--no_resume', |
| '--bucket', |
| 'dart-dependencies', |
| '--recursive', |
| '--directory', |
| Var('dart_root') + '/third_party/d8', |
| ], |
| }, |
| { |
| "name": "checked_in_dart_sdks", |
| "pattern": ".", |
| "action": [ |
| "download_from_google_storage", |
| "--no_auth", |
| "--no_resume", |
| "--bucket", |
| "dart-dependencies", |
| "--recursive", |
| "--auto_platform", |
| "--extract", |
| "--directory", |
| Var('dart_root') + "/tools/sdks", |
| ], |
| }, |
| { |
| "name": "gsutil", |
| "pattern": ".", |
| "action": [ |
| "download_from_google_storage", |
| "--no_auth", |
| "--no_resume", |
| "--bucket", |
| "dart-dependencies", |
| "--extract", |
| "-s", |
| Var('dart_root') + "/third_party/gsutil.tar.gz.sha1", |
| ], |
| }, |
| { |
| "name": "firefox_jsshell", |
| "pattern": ".", |
| "action": [ |
| "download_from_google_storage", |
| "--no_auth", |
| "--no_resume", |
| "--bucket", |
| "dart-dependencies", |
| "--recursive", |
| "--auto_platform", |
| "--extract", |
| "--directory", |
| Var('dart_root') + "/third_party/firefox_jsshell", |
| ], |
| }, |
| ] |