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

Commit b65c24c

Browse files
Add semantics constants to the exported symbols list for the embedder library (#37526)
Fixes flutter/flutter#114657
1 parent 9f7e3ae commit b65c24c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

shell/platform/embedder/embedder_exports.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
global:
99
Flutter*;
1010
__Flutter*;
11+
kFlutter*;
1112
kDartIsolateSnapshotData;
1213
kDartIsolateSnapshotInstructions;
1314
kDartVmSnapshotData;

testing/symbols/verify_exported.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ int _checkLinux(String outPath, String nmPath, Iterable<String> builds) {
274274
break;
275275
}
276276
if (!(entry.name.startsWith('Flutter')
277-
|| entry.name.startsWith('__Flutter'))) {
277+
|| entry.name.startsWith('__Flutter')
278+
|| entry.name.startsWith('kFlutter'))) {
278279
print('ERROR: $libFlutter exports an unexpected symbol name: ($entry)');
279280
print(' Library has $entries.');
280281
failures++;

0 commit comments

Comments
 (0)