• Chris Bracken's avatar
    Replace --prefer-shared-library with --build-shared-library (#17394) · 8b8d368d
    Chris Bracken authored
    This replaces the --prefer-shared-library flag, which falls back to
    regular (non-shared-lib) compile if the NDK is not found, with the
    --build-shared-library flag, which exits with an error message if the
    NDK is not found.
    
    This simplifies the set of allowed code paths through AOT compile,
    resulting in better testability and easier-to-follow logic. It also
    results in more predictable behaviour for continuous integration and
    other scenarios.
    8b8d368d
build_aot.dart 6.15 KB