56f2e00fd6
Add `package:front_end/src/api_prototype/macros.dart` for utilities related to compiling macros. Export `isMacroLibraryUri`. Use `isMacroLibraryUri` instead of hard-coding in a few places. Add TODO about need to handle macro deps to places that are currently listing sources as deps. R=jakemac@google.com, johnniwinther@google.com Change-Id: I5d2473b810afd42f487178f0aad995804da945c4 Tested: Manually tested with Flutter; e2e tests will be added under tests/macro_build. Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/358700 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Morgan :) <davidmorgan@google.com> Reviewed-by: Jake Macdonald <jakemac@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Auto-Submit: Morgan :) <davidmorgan@google.com>
This package hosts VM specific Dart code and helper scripts.