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

Add semantics constants to the exported symbols list for the embedder library #37526

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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