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

Commit

Permalink
Add semantics constants to the exported symbols list for the embedder…
Browse files Browse the repository at this point in the history
… library (#37526)

Fixes flutter/flutter#114657
  • Loading branch information
jason-simmons authored Nov 17, 2022
1 parent 9f7e3ae commit b65c24c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions shell/platform/embedder/embedder_exports.lst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
global:
Flutter*;
__Flutter*;
kFlutter*;
kDartIsolateSnapshotData;
kDartIsolateSnapshotInstructions;
kDartVmSnapshotData;
Expand Down
3 changes: 2 additions & 1 deletion testing/symbols/verify_exported.dart
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ int _checkLinux(String outPath, String nmPath, Iterable<String> builds) {
break;
}
if (!(entry.name.startsWith('Flutter')
|| entry.name.startsWith('__Flutter'))) {
|| entry.name.startsWith('__Flutter')
|| entry.name.startsWith('kFlutter'))) {
print('ERROR: $libFlutter exports an unexpected symbol name: ($entry)');
print(' Library has $entries.');
failures++;
Expand Down

0 comments on commit b65c24c

Please sign in to comment.