Add semantics constants to the exported symbols list for the embedder library (flutter/engine#37526)

Fixes https://github.com/flutter/flutter/issues/114657
This commit is contained in:
Jason Simmons 2022-11-17 13:50:04 -08:00 committed by GitHub
parent 3085f214f9
commit 0010be93cd
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
global:
Flutter*;
__Flutter*;
kFlutter*;
kDartIsolateSnapshotData;
kDartIsolateSnapshotInstructions;
kDartVmSnapshotData;

View File

@ -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++;