[deps] rev async, bazel_worker, benchmark_harness, boolean_selector, browser_launcher, cli_util, clock, collection, convert, crypto, csslib, dartdoc, ecosystem, file, fixnum, glob, html, http, http_multi_server, http_parser, json_rpc_2, lints, logging, markdown, matcher, mime, package_config, path, pool, pub_semver, shelf, source_map_stack_trace, source_maps, source_span, sse, stack_trace, stream_channel, string_scanner, sync_http, term_glyph, test, test_descriptor, test_process, test_reflective_loader, tools, typed_data, usage, watcher, web, web_socket_channel, webdev, webdriver, webkit_inspection_protocol, yaml, yaml_edit

Revisions updated by `dart tools/rev_sdk_deps.dart`.

async (https://github.com/dart-lang/async/compare/4796804..0370a67):
  0370a67  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/async#272)
  3144df2  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/async#271)

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/79d2ad1..d396d3d):
  d396d3d  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/bazel_worker#90)

benchmark_harness (https://github.com/dart-lang/benchmark_harness/compare/197702c..3a6ed5d):
  3a6ed5d  2024-05-02  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/benchmark_harness#104)
  bcbfae5  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/benchmark_harness#103)

boolean_selector (https://github.com/dart-lang/boolean_selector/compare/24635df..b353222):
  b353222  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/boolean_selector#58)
  fdba29c  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/boolean_selector#59)

browser_launcher (https://github.com/dart-lang/browser_launcher/compare/c4b2c81..e5687b4):
  e5687b4  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/browser_launcher#57)
  7c2884c  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/browser_launcher#58)

cli_util (https://github.com/dart-lang/cli_util/compare/e222c56..5103eca):
  5103eca  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/cli_util#102)
  86b7bcb  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/cli_util#101)

clock (https://github.com/dart-lang/clock/compare/a732a09..c7e3875):
  c7e3875  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/clock#63)
  14fbff3  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/clock#62)

collection (https://github.com/dart-lang/collection/compare/fc616ff..34b7269):
  34b7269  2024-05-02  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/collection#338)
  3d0082c  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.1 to 4.1.4 (dart-lang/collection#339)

convert (https://github.com/dart-lang/convert/compare/186ac22..5da924b):
  5da924b  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/convert#103)
  a58d826  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/convert#104)

crypto (https://github.com/dart-lang/crypto/compare/1c7fbad..fc5e7c8):
  fc5e7c8  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/crypto#169)
  2829062  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/crypto#168)

csslib (https://github.com/dart-lang/csslib/compare/171ed48..4ab68e4):
  4ab68e4  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/csslib#200)
  4861bc9  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/csslib#199)

dartdoc (https://github.com/dart-lang/dartdoc/compare/d9e31ff..d16bedc):
  d16bedc2  2024-04-30  Sam Rawlins  Bump analyzer to 6.5.0 (dart-lang/dartdoc#3763)
  6e100245  2024-04-29  dependabot[bot]  Bump actions/checkout from 4.1.3 to 4.1.4 (dart-lang/dartdoc#3759)

ecosystem (https://github.com/dart-lang/ecosystem/compare/9fabe46..74942f6):
  74942f6  2024-05-01  dependabot[bot]  Bump actions/upload-artifact from 4.3.1 to 4.3.3 (dart-lang/ecosystem#254)
  1cd571b  2024-05-01  dependabot[bot]  Bump peter-evans/find-comment (dart-lang/ecosystem#256)
  873d11b  2024-05-01  dependabot[bot]  Bump subosito/flutter-action from 2.15.0 to 2.16.0 (dart-lang/ecosystem#255)
  3c12e07  2024-05-01  dependabot[bot]  Bump actions/download-artifact from 4.1.4 to 4.1.7 (dart-lang/ecosystem#253)

file (https://github.com/google/file.dart/compare/f858c6f..8ce0d13):
  8ce0d13  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (google/file.dart#239)
  bc10194  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (google/file.dart#238)

fixnum (https://github.com/dart-lang/fixnum/compare/dec16eb..2c9f25d):
  2c9f25d  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/fixnum#127)
  5086bb1  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/fixnum#126)

glob (https://github.com/dart-lang/glob/compare/25ee2c2..44e8c22):
  44e8c22  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/glob#91)
  c51e6bd  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/glob#90)

html (https://github.com/dart-lang/html/compare/5b99b43..44613e8):
  44613e8  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/html#241)
  e379fa8  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/html#242)

http (https://github.com/dart-lang/http/compare/e459e5c..ec73b19):
  ec73b19  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/http#1187)
  78b2a9a  2024-04-30  Nate Bosch  Fix runWithClient link in README (dart-lang/http#1184)

http_multi_server (https://github.com/dart-lang/http_multi_server/compare/6ce0a13..e45a674):
  e45a674  2024-05-02  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/http_multi_server#66)
  c4dc8d8  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/http_multi_server#67)

http_parser (https://github.com/dart-lang/http_parser/compare/8ffcaec..ad05810):
  ad05810  2024-05-02  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/http_parser#89)
  bc808ed  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/http_parser#88)

json_rpc_2 (https://github.com/dart-lang/json_rpc_2/compare/1a4c473..7547bb1):
  7547bb1  2024-05-02  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/json_rpc_2#111)
  66d9583  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/json_rpc_2#112)

lints (https://github.com/dart-lang/lints/compare/df9bcbf..e467d1e):
  e467d1e  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/lints#185)
  1cd93f4  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/lints#186)
  7f63963  2024-04-30  Devon Carew  remove the 'library_names' lint (dart-lang/lints#183)

logging (https://github.com/dart-lang/logging/compare/dcaf249..49d89b1):
  49d89b1  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/logging#161)
  0fd22d6  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/logging#162)

markdown (https://github.com/dart-lang/markdown/compare/782b180..6aaa152):
  6aaa152  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/markdown#607)
  f817544  2024-05-01  dependabot[bot]  Bump subosito/flutter-action from 2.15.0 to 2.16.0 (dart-lang/markdown#608)
  4ab9083  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/markdown#606)

matcher (https://github.com/dart-lang/matcher/compare/54c2798..b42bf10):
  b42bf10  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/matcher#245)
  b8102f3  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/matcher#246)

mime (https://github.com/dart-lang/mime/compare/0a32241..b01c9a2):
  b01c9a2  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/mime#120)
  84808ac  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/mime#119)

package_config (https://github.com/dart-lang/package_config/compare/854dc19..a36e496):
  a36e496  2024-05-02  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/package_config#151)
  fba794a  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/package_config#152)

path (https://github.com/dart-lang/path/compare/a7284b9..f411b96):
  f411b96  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/path#162)
  c96ece1  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/path#161)

pool (https://github.com/dart-lang/pool/compare/8055cbb..e6df05a):
  e6df05a  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/pool#84)
  2d1d69a  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/pool#83)

pub_semver (https://github.com/dart-lang/pub_semver/compare/7581029..df834e1):
  df834e1  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/pub_semver#101)
  f35f47e  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/pub_semver#100)

shelf (https://github.com/dart-lang/shelf/compare/7352d1b..c8d8058):
  c8d8058  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/shelf#428)
  df86244  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/shelf#427)

source_map_stack_trace (https://github.com/dart-lang/source_map_stack_trace/compare/9ed8875..4671c20):
  4671c20  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.3 to 1.6.4 (dart-lang/source_map_stack_trace#51)
  8ba0097  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/source_map_stack_trace#52)

source_maps (https://github.com/dart-lang/source_maps/compare/aedfc39..c4dc7d0):
  c4dc7d0  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/source_maps#91)
  1f859b2  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.3 to 1.6.4 (dart-lang/source_maps#90)

source_span (https://github.com/dart-lang/source_span/compare/45e11a3..1695904):
  1695904  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/source_span#110)
  10e6de5  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/source_span#109)

sse (https://github.com/dart-lang/sse/compare/1ab266a..f5ed4d6):
  f5ed4d6  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/sse#108)
  e9242cf  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/sse#107)

stack_trace (https://github.com/dart-lang/stack_trace/compare/c39ae6e..54c7b9d):
  54c7b9d  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/stack_trace#151)
  e5ffd9e  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/stack_trace#152)

stream_channel (https://github.com/dart-lang/stream_channel/compare/5f72035..ba35137):
  ba35137  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/stream_channel#104)
  a3ef580  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/stream_channel#103)

string_scanner (https://github.com/dart-lang/string_scanner/compare/8dbfddf..6e893af):
  6e893af  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/string_scanner#71)
  21ebc0c  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/string_scanner#72)

sync_http (https://github.com/dart-lang/sync_http/compare/b849559..82553db):
  82553db  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.1 to 4.1.4 (dart-lang/sync_http#46)

term_glyph (https://github.com/dart-lang/term_glyph/compare/2ad48ce..c3e323b):
  c3e323b  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/term_glyph#49)
  1e683e5  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/term_glyph#50)

test (https://github.com/dart-lang/test/compare/c7a76b0..0562baf):
  0562baf0  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/test#2216)
  1f54fd84  2024-05-01  dependabot[bot]  Bump actions/upload-artifact from 4.3.0 to 4.3.3 (dart-lang/test#2217)
  5815385e  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/test#2214)
  df708669  2024-05-01  dependabot[bot]  Bump github/codeql-action from 3.24.9 to 3.25.3 (dart-lang/test#2215)

test_descriptor (https://github.com/dart-lang/test_descriptor/compare/b61cfb4..6695954):
  6695954  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/test_descriptor#64)
  23be0c9  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/test_descriptor#63)

test_process (https://github.com/dart-lang/test_process/compare/94ee46d..69c6894):
  69c6894  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/test_process#55)
  f5701d7  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/test_process#56)

test_reflective_loader (https://github.com/dart-lang/test_reflective_loader/compare/d7167a2..537ab5b):
  537ab5b  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/test_reflective_loader#59)
  0917006  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/test_reflective_loader#60)

tools (https://github.com/dart-lang/tools/compare/3e21ae9..d35d633):
  d35d633  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/tools#267)
  498bac0  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/tools#268)

typed_data (https://github.com/dart-lang/typed_data/compare/8c7393c..5b3708e):
  5b3708e  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/typed_data#85)
  82e3b6d  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/typed_data#84)

usage (https://github.com/dart-lang/usage/compare/2847cdb..bc4907b):
  bc4907b  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/usage#205)
  28edd72  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/usage#206)

watcher (https://github.com/dart-lang/watcher/compare/1bd2f20..42308ea):
  42308ea  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/watcher#165)
  d249a26  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/watcher#164)

web (https://github.com/dart-lang/web/compare/9d8c802..ff7185c):
  ff7185c  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/web#230)
  6b598d6  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/web#231)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/b672220..d86313d):
  d86313d  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/web_socket_channel#352)
  97f33f3  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/web_socket_channel#351)

webdev (https://github.com/dart-lang/webdev/compare/50bf268..b41ac34):
  b41ac34d  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/webdev#2420)
  2e5aea71  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/webdev#2421)

webdriver (https://github.com/google/webdriver.dart/compare/c80e01e..f85779e):
  f85779e  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.0 to 1.6.4 (google/webdriver.dart#296)
  af2d359  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (google/webdriver.dart#297)

webkit_inspection_protocol (https://github.com/google/webkit_inspection_protocol.dart/compare/153fea4..5740cc9):
  5740cc9  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.1 to 4.1.4 (google/webkit_inspection_protocol.dart#122)

yaml (https://github.com/dart-lang/yaml/compare/5a1c4be..022ea64):
  022ea64  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/yaml#161)
  c1497da  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/yaml#162)

yaml_edit (https://github.com/dart-lang/yaml_edit/compare/f5a92b3..fe2699d):
  fe2699d  2024-05-02  Jonas Finnemann Jensen  Fix 55 (dart-lang/yaml_edit#75)
  9eaed3e  2024-05-01  dependabot[bot]  Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/yaml_edit#74)
  37146b0  2024-05-01  dependabot[bot]  Bump coverallsapp/github-action from 2.0.0.pre.rc1 to 2.2.3 (dart-lang/yaml_edit#72)
  e26f7f6  2024-05-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/yaml_edit#73)

Change-Id: I49e137721e1ff9424609b94f21804d9f68039403
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365301
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>

https://dart.googlesource.com/sdk/+/2ac16dc7eb64e9715f905bac76b6b5ce872ea0a9
2 files changed
tree: ee5976dd52e7d725c52d97502b86e78ff8b469db
  1. ci/
  2. tools/
  3. .gitignore
  4. commits.json
  5. DEPS
  6. OWNERS
  7. README.md
README.md

Monorepo

A gclient solution for checking out Dart and Flutter source trees

Monorepo is:

  • Optimized for Tip-of-Tree testing: The Monorepo DEPS used to check out Dart and Flutter dependencies comes from the Flutter engine DEPS with updated dependencies from Dart.

Checking out Monorepo

With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:

mkdir monorepo
cd monorepo
gclient config --unmanaged https://dart.googlesource.com/monorepo
gclient sync -D

This gives you a checkout in the monorepo directory that contains:

monorepo/
  DEPS - the DEPS used for this gclient checkout
  commits.json - the pinned commits for Dart, flutter/engine,
                 and flutter/flutter
  tools/ - scripts used to create monorepo DEPS
engine/src/ - the flutter/buildroot repo
    flutter/ - the flutter/engine repo
    out/ - the build directory, where Flutter engine builds are created
    third_party/ - Flutter dependencies checked out by DEPS
      dart/ - the Dart SDK checkout.
        third_party - Dart dependencies, also used by Flutter
flutter/ - the flutter/flutter repo

Building Flutter engine

Flutter's instructions for building the engine are at Compiling the engine

They can be followed closely, with a few changes:

  • Googlers working on Dart do not need to switch to Fuchsia's Goma RBE, except for Windows. The GOMA_DIR enviroment variable can just point to the .cipd_bin directory in a depot_tools installation, and just goma_ctl ensure_start is sufficient.
  • The --no-prebuilt-dart-sdk option has to be added to every gn command, so that the build is set up to build and use a local Dart SDK.
  • The --full-dart-sdk option must be added to gn for the host build target if you will be building web or desktop apps.

Example build commands that work on linux:

MONOREPO_PATH=$PWD
if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then
  PATH=$MONOREPO_PATH/flutter/bin:$PATH
fi

export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin
goma_ctl ensure_start

pushd engine/src
flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk
autoninja -C out/host_debug_unopt
popd

Building Flutter apps

The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine option is provided.

For example, to build and run the Flutter spinning square sample on the web platform,

MONOREPO_PATH=$PWD
cd flutter/examples/layers
flutter --local-engine=host_debug_unopt \
  -d chrome run widgets/spinning_square.dart
cd $MONOREPO_PATH

To build for desktop, specify the desktop platform device in flutter run as -d macos or -d linux or -d windows. You may also need to run the command

flutter create --platforms=windows,macos,linux

on existing apps, such as sample apps. New apps created with flutter create already include these support files. Details of desktop support are at Desktop Support for Flutter

Testing

Tests in the Flutter source tree can be run with the flutter test command, run in the directory of a package containing tests. For example:

MONOREPO_PATH=$PWD
cd flutter/packages/flutter
flutter test --local-engine=host_debug_unopt
cd $MONOREPO_PATH

Troubleshooting

Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.

We will update this documentation to address them.

  • flutter commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.

Windows

  • On Windows, gclient sync needs to be run in an administrator session, because some installed dependencies create symlinks.