Make --build-shared-library more robust. (#17420)
* Search for a suitable ARM sysroot instead of hardcoding it; * Add facility to explain why NDK was not found;
This commit is contained in:
committed by
GitHub
parent
f9bb4289e9
commit
4931b46772
@@ -659,7 +659,7 @@ void main() {
|
||||
testUsingContext('returns failure if buildSharedLibrary is true but no NDK is found', () async {
|
||||
final String outputPath = fs.path.join('build', 'foo');
|
||||
|
||||
when(mockAndroidSdk.ndkCompiler).thenReturn(null);
|
||||
when(mockAndroidSdk.ndk).thenReturn(null);
|
||||
|
||||
final int genSnapshotExitCode = await snapshotter.build(
|
||||
platform: TargetPlatform.android_arm,
|
||||
|
||||
Reference in New Issue
Block a user