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 vars = { | 5 vars = { |
6 # The dart_root is the root of our sdk checkout. This is normally | 6 # 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. | 7 # simply sdk, but if using special gclient specs it can be different. |
8 "dart_root": "sdk", | 8 "dart_root": "sdk", |
9 | 9 |
10 # We use mirrors of all github repos to guarantee reproducibility and | 10 # We use mirrors of all github repos to guarantee reproducibility and |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 # Chromium git | 24 # Chromium git |
25 "chromium_git": "https://chromium.googlesource.com", | 25 "chromium_git": "https://chromium.googlesource.com", |
26 | 26 |
27 # Only use this temporarily while waiting for a mirror for a new package. | 27 # Only use this temporarily while waiting for a mirror for a new package. |
28 "github_dartlang": "https://github.com/dart-lang/%s.git", | 28 "github_dartlang": "https://github.com/dart-lang/%s.git", |
29 | 29 |
30 "gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638", | 30 "gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638", |
31 "co19_rev": "@d4767b4caea3c5828ad8e053cd051d44a59061af", | 31 "co19_rev": "@d4767b4caea3c5828ad8e053cd051d44a59061af", |
32 | 32 |
33 # Revisions of GN/Mojo/Flutter related dependencies. | 33 # Revisions of GN related dependencies. |
34 "base_revision": "@672b04e54b937ec899429a6bd5409c5a6300d151", | |
35 "buildtools_revision": "@565d04e8741429fb1b4f26d102f2c6c3b849edeb", | 34 "buildtools_revision": "@565d04e8741429fb1b4f26d102f2c6c3b849edeb", |
36 | 35 |
37 "gperftools_revision": "@7822b5b0b9fa7e016e1f6b46ea86f26f4691a457", | 36 "gperftools_revision": "@7822b5b0b9fa7e016e1f6b46ea86f26f4691a457", |
38 | 37 |
39 # Revisions of /third_party/* dependencies. | 38 # Revisions of /third_party/* dependencies. |
40 "args_tag": "@0.13.5", | 39 "args_tag": "@0.13.5", |
41 "async_tag": "@1.11.1", | 40 "async_tag": "@1.11.1", |
42 "barback-0.13.0_rev": "@34853", | 41 "barback-0.13.0_rev": "@34853", |
43 "barback-0.14.0_rev": "@36398", | 42 "barback-0.14.0_rev": "@36398", |
44 "barback-0.14.1_rev": "@38525", | 43 "barback-0.14.1_rev": "@38525", |
45 "barback_tag" : "@0.15.2+9", | 44 "barback_tag" : "@0.15.2+9", |
46 "bazel_worker_tag": "@0.1.1", | 45 "bazel_worker_tag": "@0.1.1", |
47 "boolean_selector_tag" : "@1.0.2", | 46 "boolean_selector_tag" : "@1.0.2", |
48 "boringssl_gen_rev": "@ef64e76254a12ee08a7142c825aa59ea32005958", | 47 "boringssl_gen_rev": "@1e8e5da213d0d5b1d50fcc1356c4783091bcc20d", |
49 "boringssl_rev" : "@8d343b44bbab829d1a28fdef650ca95f7db4412e", | 48 "boringssl_rev" : "@8d343b44bbab829d1a28fdef650ca95f7db4412e", |
50 "charcode_tag": "@1.1.0", | 49 "charcode_tag": "@1.1.0", |
51 "chrome_rev" : "@19997", | 50 "chrome_rev" : "@19997", |
52 "cli_util_tag" : "@0.0.1+2", | 51 "cli_util_tag" : "@0.0.1+2", |
53 "code_transformers_tag": "@v0.4.2+3", | 52 "code_transformers_tag": "@v0.4.2+3", |
54 "collection_tag": "@1.9.1", | 53 "collection_tag": "@1.9.1", |
55 "convert_tag": "@2.0.1", | 54 "convert_tag": "@2.0.1", |
56 "crypto_tag" : "@2.0.1", | 55 "crypto_tag" : "@2.0.1", |
57 "csslib_tag" : "@0.13.2", | 56 "csslib_tag" : "@0.13.2", |
58 "dart2js_info_tag" : "@0.2.7+1", | 57 "dart2js_info_tag" : "@0.2.7+1", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 "which_tag": "@0.1.3+1", | 123 "which_tag": "@0.1.3+1", |
125 "yaml_tag": "@2.1.10", | 124 "yaml_tag": "@2.1.10", |
126 "zlib_rev": "@c3d0a6190f2f8c924a05ab6cc97b8f975bddd33f", | 125 "zlib_rev": "@c3d0a6190f2f8c924a05ab6cc97b8f975bddd33f", |
127 } | 126 } |
128 | 127 |
129 deps = { | 128 deps = { |
130 # Stuff needed for GYP to run. | 129 # Stuff needed for GYP to run. |
131 Var("dart_root") + "/third_party/gyp": | 130 Var("dart_root") + "/third_party/gyp": |
132 Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"), | 131 Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"), |
133 | 132 |
134 # Stuff needed for GN/Mojo/Flutter. | 133 # Stuff needed for GN build. |
135 Var("dart_root") + "/base": | |
136 Var('chromium_git') + '/external/github.com/domokit/base' | |
137 + Var('base_revision'), | |
138 | |
139 Var("dart_root") + "/buildtools": | 134 Var("dart_root") + "/buildtools": |
140 Var('chromium_git') + '/chromium/buildtools.git' + | 135 Var('chromium_git') + '/chromium/buildtools.git' + |
141 Var('buildtools_revision'), | 136 Var('buildtools_revision'), |
142 | 137 |
143 Var("dart_root") + "/tests/co19/src": | 138 Var("dart_root") + "/tests/co19/src": |
144 (Var("github_mirror") % "co19") + Var("co19_rev"), | 139 (Var("github_mirror") % "co19") + Var("co19_rev"), |
145 | 140 |
146 Var("dart_root") + "/third_party/zlib": | 141 Var("dart_root") + "/third_party/zlib": |
147 Var("chromium_git") + "/chromium/src/third_party/zlib.git" + | 142 Var("chromium_git") + "/chromium/src/third_party/zlib.git" + |
148 Var("zlib_rev"), | 143 Var("zlib_rev"), |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 "win": { | 351 "win": { |
357 Var("dart_root") + "/third_party/cygwin": | 352 Var("dart_root") + "/third_party/cygwin": |
358 Var("chromium_git") + "/chromium/deps/cygwin.git" + | 353 Var("chromium_git") + "/chromium/deps/cygwin.git" + |
359 "@c89e446b273697fadf3a10ff1007a97c0b7de6df", | 354 "@c89e446b273697fadf3a10ff1007a97c0b7de6df", |
360 }, | 355 }, |
361 } | 356 } |
362 | 357 |
363 # TODO(iposva): Move the necessary tools so that hooks can be run | 358 # TODO(iposva): Move the necessary tools so that hooks can be run |
364 # without the runtime being available. | 359 # without the runtime being available. |
365 hooks = [ | 360 hooks = [ |
| 361 # Pull GN binaries. This needs to be before running GYP below. |
| 362 { |
| 363 'name': 'gn_linux64', |
| 364 'pattern': '.', |
| 365 'action': [ |
| 366 'download_from_google_storage', |
| 367 '--no_auth', |
| 368 '--no_resume', |
| 369 '--quiet', |
| 370 '--platform=linux*', |
| 371 '--bucket', |
| 372 'chromium-gn', |
| 373 '-s', |
| 374 Var('dart_root') + '/buildtools/linux64/gn.sha1', |
| 375 ], |
| 376 }, |
| 377 { |
| 378 'name': 'gn_mac', |
| 379 'pattern': '.', |
| 380 'action': [ |
| 381 'download_from_google_storage', |
| 382 '--no_auth', |
| 383 '--no_resume', |
| 384 '--quiet', |
| 385 '--platform=darwin', |
| 386 '--bucket', |
| 387 'chromium-gn', |
| 388 '-s', |
| 389 Var('dart_root') + '/buildtools/mac/gn.sha1', |
| 390 ], |
| 391 }, |
| 392 { |
| 393 'name': 'gn_win', |
| 394 'pattern': '.', |
| 395 'action': [ |
| 396 'download_from_google_storage', |
| 397 '--no_auth', |
| 398 '--no_resume', |
| 399 '--quiet', |
| 400 '--platform=win*', |
| 401 '--bucket', |
| 402 'chromium-gn', |
| 403 '-s', |
| 404 Var('dart_root') + '/buildtools/win/gn.exe.sha1', |
| 405 ], |
| 406 }, |
| 407 # Pull clang-format binaries using checked-in hashes. |
| 408 { |
| 409 'name': 'clang_format_linux', |
| 410 'pattern': '.', |
| 411 'action': [ |
| 412 'download_from_google_storage', |
| 413 '--no_auth', |
| 414 '--no_resume', |
| 415 '--quiet', |
| 416 '--platform=linux*', |
| 417 '--bucket', |
| 418 'chromium-clang-format', |
| 419 '-s', |
| 420 Var('dart_root') + '/buildtools/linux64/clang-format.sha1', |
| 421 ], |
| 422 }, |
| 423 { |
| 424 'name': 'clang_format_mac', |
| 425 'pattern': '.', |
| 426 'action': [ |
| 427 'download_from_google_storage', |
| 428 '--no_auth', |
| 429 '--no_resume', |
| 430 '--quiet', |
| 431 '--platform=darwin', |
| 432 '--bucket', |
| 433 'chromium-clang-format', |
| 434 '-s', |
| 435 Var('dart_root') + '/buildtools/mac/clang-format.sha1', |
| 436 ], |
| 437 }, |
366 { | 438 { |
367 'name': 'd8_testing_binaries', | 439 'name': 'd8_testing_binaries', |
368 'pattern': '.', | 440 'pattern': '.', |
369 'action': [ | 441 'action': [ |
370 'download_from_google_storage', | 442 'download_from_google_storage', |
371 '--no_auth', | 443 '--no_auth', |
372 '--no_resume', | 444 '--no_resume', |
373 '--bucket', | 445 '--bucket', |
374 'dart-dependencies', | 446 'dart-dependencies', |
375 '--recursive', | 447 '--recursive', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 "--no_resume", | 563 "--no_resume", |
492 "--bucket", | 564 "--bucket", |
493 "dart-dependencies", | 565 "dart-dependencies", |
494 "--platform=linux*", | 566 "--platform=linux*", |
495 "--extract", | 567 "--extract", |
496 "-s", | 568 "-s", |
497 Var('dart_root') + "/third_party/clang.tar.gz.sha1", | 569 Var('dart_root') + "/third_party/clang.tar.gz.sha1", |
498 ], | 570 ], |
499 }, | 571 }, |
500 { | 572 { |
| 573 # Pull clang if needed or requested via GYP_DEFINES. |
| 574 'name': 'gn_clang', |
| 575 'pattern': '.', |
| 576 'action': ['python', 'sdk/tools/clang/scripts/update.py', '--if-needed'], |
| 577 }, |
| 578 { |
501 "pattern": ".", | 579 "pattern": ".", |
502 "action": ["python", Var("dart_root") + "/tools/gyp_dart.py"], | 580 "action": ["python", Var("dart_root") + "/tools/gyp_dart.py"], |
503 }, | 581 }, |
504 ] | 582 ] |
OLD | NEW |