)]}'
{
  "commit": "ca77beac58dc957da385424fbb7a6ed7f8487eb6",
  "tree": "827037d476b054002da495cabb15912977aa9948",
  "parents": [
    "81a786168f4e3559176f45ec44ea877b3dc7ca24"
  ],
  "author": {
    "name": "Simon Binder",
    "email": "oss@simonbinder.eu",
    "time": "Thu Aug 15 17:24:37 2024 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Aug 15 17:24:37 2024 +0000"
  },
  "message": "[dart2wasm] Fix multi root invocations\n\n`dart2wasm` supports the `--multi-root` argument and respective URIs as\ninputs.\n`build_runner` uses the multi root argument when compiling with dart2js\nas it allows a file system layout like this, placing `lib/` contents of\npackages into folders next to non-lib assets of the root package being\ncompiled:\n\n```\ninput/\n  args/\n  async/\n  .../\n  other_packages/\n  web/\n    index.html\n    main.dart\n```\n\nWhile it looks like `dart2wasm` is supposed to support the same\narguments as well, the way it parses URI flags and a pre-check in\n`dartdev` unfortunately prevent this.\nThis fixes `dartdev` to not check for inputs when a multi-root argument\nis given, as the paths are not physical paths from the operating system\nin that case.\nIt also fixes the `UriOption` in `dart2wasm` to be consistent with how\ninput arguments are resolved, allowing multi-root scheme URIs to be\nused as arguments for e.g. `--packages`.\n\nChange-Id: If751a5ee58938d5c7c62e27a69957456d8eea860\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/377662\nReviewed-by: Johnni Winther \u003cjohnniwinther@google.com\u003e\nCommit-Queue: Kevin Moore \u003ckevmoo@google.com\u003e\nReviewed-by: Ömer Ağacan \u003comersa@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b15bacabf27412d6d23a1e384e5f1d382c74bdfb",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/option.dart",
      "new_id": "fc55746890d3cfb1883078c75510a1d3108721dc",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/option.dart"
    },
    {
      "type": "modify",
      "old_id": "61f91458ba9c1fdde516973b485d7e9321cadfc9",
      "old_mode": 33188,
      "old_path": "pkg/dartdev/lib/src/commands/compile.dart",
      "new_id": "826e5516ca28f03ff32b7d46522d4fe4bec6bfb5",
      "new_mode": 33188,
      "new_path": "pkg/dartdev/lib/src/commands/compile.dart"
    }
  ]
}
