Fix some tests that fail with Swift Package Manager enabled (#152267)
https://github.com/flutter/flutter/pull/152049 was reverted as it broke several post-submit tests. This relands the test fixes in https://github.com/flutter/flutter/pull/152049 without enabling Swift Package Manager on the master channel. This change is split into two commits: 1.dd1762abb9- The changes in https://github.com/flutter/flutter/pull/152049 1.00fdcfb7bb- Undoes the changes that enabled Swift Package Manager on the master channel Part of https://github.com/flutter/flutter/issues/151567
This commit is contained in:
@@ -308,3 +308,17 @@ File? _createDisabledSandboxEntitlementFile(
|
||||
|
||||
return disabledSandboxEntitlementFile;
|
||||
}
|
||||
|
||||
/// Returns global (external) symbol table entries, delimited by new lines.
|
||||
Future<String> dumpSymbolTable(String filePath) {
|
||||
return eval(
|
||||
'nm',
|
||||
<String>[
|
||||
'--extern-only',
|
||||
'--just-symbol-name',
|
||||
filePath,
|
||||
'-arch',
|
||||
'arm64',
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user