• Martin Kustermann's avatar
    Add support for NDK discovery and add --prefer-shared-library option (#12788) · 545ec9ef
    Martin Kustermann authored
    * Add support for NDK discovery and add --prefer-shared-library option
    
    We would like to be able to use native tools (e.g. simpleperf, gdb) with
    precompiled flutter apps.  The native tools work much better with *.so
    files instead of the custom formats the Dart VM uses by default.
    
    The reason for using blobs / instruction snapshots is that we do not
    want to force flutter users to install the Android NDK.
    
    This CL adds a `--prefer-shared-library` flag to e.g. `flutter build
    apk` which will use the NDK compiler (if available) to turn the
    precompiled app assembly file to an `*.so` file.  If the NDK compiler is
    not available it will default to the default behavior.
    
    * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag
    
    * Use InMemoryFileSystem for test
    
    * Remove unused import
    
    * Address some analyzer warnings
    545ec9ef
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
ios Loading commit data...
runner Loading commit data...
test Loading commit data...
application_package.dart Loading commit data...
artifacts.dart Loading commit data...
asset.dart Loading commit data...
build_info.dart Loading commit data...
cache.dart Loading commit data...
compile.dart Loading commit data...
crash_reporting.dart Loading commit data...
dependency_checker.dart Loading commit data...
devfs.dart Loading commit data...
device.dart Loading commit data...
disabled_usage.dart Loading commit data...
doctor.dart Loading commit data...
flutter_manifest.dart Loading commit data...
flx.dart Loading commit data...
globals.dart Loading commit data...
plugins.dart Loading commit data...
protocol_discovery.dart Loading commit data...
resident_runner.dart Loading commit data...
run_cold.dart Loading commit data...
run_hot.dart Loading commit data...
services.dart Loading commit data...
template.dart Loading commit data...
tracing.dart Loading commit data...
usage.dart Loading commit data...
version.dart Loading commit data...
vmservice.dart Loading commit data...
vmservice_record_replay.dart Loading commit data...
zip.dart Loading commit data...