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 May 13, 2022

This is a reland of #33284. In the original attempt, Dart snapshot symbols were not exposed properly and so flutter_tester initialization failed in host_debug builds. Since we're now using a new linker, this PR includes updated linker flags in //flutter/BUILD.gn to ensure the symbols are available.

Before landing this, I'll land a recipe change to increase test coverage on engine CI to catch similar problems in the future.

@@ -0,0 +1,6 @@
# These symbols are looked up from within the executable at runtime and must
# be exported in the dynamic symbol table.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a comment about why we have a different file here for mac than exported_symbols.sym.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment in the GN build file.

@jmagman
Copy link
Member

jmagman commented May 13, 2022

Note this also pulls in flutter/buildroot@d243d31 and flutter/buildroot@c865293 which wasn't mentioned in #33284

@zanderso zanderso merged commit fd8b205 into flutter:main May 14, 2022
@zanderso zanderso deleted the try-clang-roll branch May 14, 2022 01:58
zanderso added a commit that referenced this pull request May 14, 2022
zanderso added a commit that referenced this pull request May 14, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 14, 2022
houhuayong pushed a commit to houhuayong/engine that referenced this pull request Jun 21, 2022
houhuayong pushed a commit to houhuayong/engine that referenced this pull request Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants