Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented Sep 30, 2023

Instead, this PR copies the frontend server from the Dart SDK (whether prebuilt or not) into the location expected by internal engine tests and artifact construction. This PR also consolidates the three GN templates that invoked the frontend server down to one.

Framework presubs: flutter/flutter#135836

Related: flutter/flutter#60007

@zanderso
Copy link
Member Author

@dnfield @jason-simmons friendly ping

@zanderso zanderso added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 12, 2023
@auto-submit auto-submit bot merged commit f020067 into flutter:main Oct 12, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 12, 2023
@aam
Copy link
Member

aam commented Oct 12, 2023

This seems to have broken --no-prebuilt-dart-sdk build:

─➤  flutter/tools/gn --no-prebuilt-dart-sdk --runtime-mode debug && ninja -C out/host_debug
Generating GN files in: out/host_debug
ERROR at //flutter/build/dart/rules.gni:113:38: No value named "package_config" in scope "invoker"
      packages = rebase_path(invoker.package_config)
                                     ^-------------
See //flutter/testing/testing.gni:82:3: whence it was called.
  flutter_frontend_server(target_name) {
  ^-------------------------------------
See //flutter/testing/testing.gni:156:3: whence it was called.
  dart_snapshot_kernel(dart_snapshot_kernel_target_name) {
  ^-------------------------------------------------------
See //flutter/testing/testing.gni:291:5: whence it was called.
    dart_snapshot(dart_snapshot_target_name) {
    ^-----------------------------------------
See //flutter/third_party/tonic/tests/BUILD.gn:7:1: whence it was called.
test_fixtures("tonic_fixtures") {
^--------------------------------
See //flutter/BUILD.gn:174:7: which caused the file to be included.
      "//flutter/third_party/tonic/tests:tonic_unittests",
      ^--------------------------------------------------

@zanderso
Copy link
Member Author

I have a fix. Will upload shortly.

auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 12, 2023
zanderso added a commit that referenced this pull request Oct 13, 2023
zanderso added a commit that referenced this pull request Oct 13, 2023
auto-submit bot pushed a commit that referenced this pull request Oct 18, 2023
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Instead, this PR copies the frontend server from the Dart SDK (whether prebuilt or not) into the location expected by internal engine tests and artifact construction. This PR also consolidates the three GN templates that invoked the frontend server down to one.

Framework presubs: flutter/flutter#135836

Related: flutter/flutter#60007
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants