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 14 matching lines...) Expand all Loading... |
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 related dependencies. | 33 # Revisions of GN related dependencies. |
34 "buildtools_revision": "@39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa", | 34 "buildtools_revision": "@39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa", |
| 35 "clang_format_rev": "@0ed791d1387a3c9146ea6c453c646f3c0fc97784", |
35 | 36 |
36 "gperftools_revision": "@02eeed29df112728564a5dde6417fa4622b57a06", | 37 "gperftools_revision": "@02eeed29df112728564a5dde6417fa4622b57a06", |
37 | 38 |
38 # Revisions of /third_party/* dependencies. | 39 # Revisions of /third_party/* dependencies. |
39 "args_tag": "@0.13.5", | 40 "args_tag": "@0.13.5", |
40 "async_tag": "@1.11.3", | 41 "async_tag": "@1.11.3", |
41 "barback-0.13.0_rev": "@34853", | 42 "barback-0.13.0_rev": "@34853", |
42 "barback-0.14.0_rev": "@36398", | 43 "barback-0.14.0_rev": "@36398", |
43 "barback-0.14.1_rev": "@38525", | 44 "barback-0.14.1_rev": "@38525", |
44 "barback_tag" : "@0.15.2+9", | 45 "barback_tag" : "@0.15.2+9", |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 128 |
128 deps = { | 129 deps = { |
129 # Stuff needed for GYP to run. | 130 # Stuff needed for GYP to run. |
130 Var("dart_root") + "/third_party/gyp": | 131 Var("dart_root") + "/third_party/gyp": |
131 Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"), | 132 Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"), |
132 | 133 |
133 # Stuff needed for GN build. | 134 # Stuff needed for GN build. |
134 Var("dart_root") + "/buildtools": | 135 Var("dart_root") + "/buildtools": |
135 Var('chromium_git') + '/chromium/buildtools.git' + | 136 Var('chromium_git') + '/chromium/buildtools.git' + |
136 Var('buildtools_revision'), | 137 Var('buildtools_revision'), |
| 138 Var("dart_root") + "/buildtools/clang_format/script": |
| 139 Var("chromium_git") + "/chromium/llvm-project/cfe/tools/clang-format.git" + |
| 140 Var("clang_format_rev"), |
137 | 141 |
138 Var("dart_root") + "/tests/co19/src": | 142 Var("dart_root") + "/tests/co19/src": |
139 (Var("github_mirror") % "co19") + Var("co19_rev"), | 143 (Var("github_mirror") % "co19") + Var("co19_rev"), |
140 | 144 |
141 Var("dart_root") + "/third_party/zlib": | 145 Var("dart_root") + "/third_party/zlib": |
142 Var("chromium_git") + "/chromium/src/third_party/zlib.git" + | 146 Var("chromium_git") + "/chromium/src/third_party/zlib.git" + |
143 Var("zlib_rev"), | 147 Var("zlib_rev"), |
144 | 148 |
145 Var("dart_root") + "/third_party/boringssl": | 149 Var("dart_root") + "/third_party/boringssl": |
146 (Var("github_dartlang") % "boringssl_gen") + Var("boringssl_gen_rev"), | 150 (Var("github_dartlang") % "boringssl_gen") + Var("boringssl_gen_rev"), |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 '--quiet', | 403 '--quiet', |
400 '--platform=win*', | 404 '--platform=win*', |
401 '--bucket', | 405 '--bucket', |
402 'chromium-gn', | 406 'chromium-gn', |
403 '-s', | 407 '-s', |
404 Var('dart_root') + '/buildtools/win/gn.exe.sha1', | 408 Var('dart_root') + '/buildtools/win/gn.exe.sha1', |
405 ], | 409 ], |
406 }, | 410 }, |
407 # Pull clang-format binaries using checked-in hashes. | 411 # Pull clang-format binaries using checked-in hashes. |
408 { | 412 { |
| 413 'name': 'clang_format_win', |
| 414 'pattern': '.', |
| 415 'action': [ |
| 416 'download_from_google_storage', |
| 417 '--no_auth', |
| 418 '--no_resume', |
| 419 '--quiet', |
| 420 '--platform=win32', |
| 421 '--bucket', |
| 422 'chromium-clang-format', |
| 423 '-s', |
| 424 Var('dart_root') + '/buildtools/win/clang-format.exe.sha1', |
| 425 ], |
| 426 }, |
| 427 { |
409 'name': 'clang_format_linux', | 428 'name': 'clang_format_linux', |
410 'pattern': '.', | 429 'pattern': '.', |
411 'action': [ | 430 'action': [ |
412 'download_from_google_storage', | 431 'download_from_google_storage', |
413 '--no_auth', | 432 '--no_auth', |
414 '--no_resume', | 433 '--no_resume', |
415 '--quiet', | 434 '--quiet', |
416 '--platform=linux*', | 435 '--platform=linux*', |
417 '--bucket', | 436 '--bucket', |
418 'chromium-clang-format', | 437 'chromium-clang-format', |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 # Update the Windows toolchain if necessary. | 598 # Update the Windows toolchain if necessary. |
580 'name': 'win_toolchain', | 599 'name': 'win_toolchain', |
581 'pattern': '.', | 600 'pattern': '.', |
582 'action': ['python', 'sdk/build/vs_toolchain.py', 'update'], | 601 'action': ['python', 'sdk/build/vs_toolchain.py', 'update'], |
583 }, | 602 }, |
584 { | 603 { |
585 "pattern": ".", | 604 "pattern": ".", |
586 "action": ["python", Var("dart_root") + "/tools/generate_buildfiles.py"], | 605 "action": ["python", Var("dart_root") + "/tools/generate_buildfiles.py"], |
587 }, | 606 }, |
588 ] | 607 ] |
OLD | NEW |