1. 04 Jun, 2018 1 commit
  2. 01 Jun, 2018 1 commit
  3. 31 May, 2018 2 commits
  4. 28 May, 2018 4 commits
  5. 17 May, 2018 1 commit
  6. 14 May, 2018 1 commit
  7. 02 May, 2018 1 commit
    • Chris Bracken's avatar
      Include kernel_compile.d in Gradle depfiles (#17175) · 75290649
      Chris Bracken authored
      This updates the Android build to declare the kernel compile depfile as
      an output and its contents as inputs when running with --preview-dart-2
      (the default mode).
      
      The 'flutter build aot' command behaves differently depending on whether
      it's running in Dart 1 or Dart 2 mode:
      
      * Dart 1: the entrypoint Dart file (typically main.dart) is passed
        directly to gen_snapshot, which then emits snapshot.d, whose contents
        list the transitive closure of Dart dependencies (input files) for the
        snapshot. snapshot.d is a declared output, its contents (plus
        gen_snapshot itself) constitute the set of input files to the Gradle
        build action.
      
      * Dart 2: then entrypoint Dart file (typically main.dart) is first
        compiled with the Dart kernel frontend. This emits kernel_compile.d,
        whose contents list the transitive closure of Dart dependencies (input
        files) for the kernel 'dill' output file. This 'dill' file is then
        passed to gen_snapshot, which emits snapshot.d, whose contents are
        empty. As of this change, both snapshot.d and kernel_compile.d are
        declared outputs, and their contents (plus gen_snapshot and the
        frontend compiler themselves) constitute the set of input files to the
        Gradle build action.
      
      This fixes a bug wherein profile/release AOT outputs were not
      invalidated due to snapshot.d being empty, and kernel_compile.d being
      ignored. This was introduced during recent refactoring of the AOT build
      code, wherein the kernel compile and gen_snapshot actions were changed
      to emit independent depfiles (previously one stomped -- or failed to --
      on the other's output).
      75290649
  8. 24 Apr, 2018 1 commit
  9. 12 Apr, 2018 1 commit
  10. 06 Apr, 2018 1 commit
  11. 17 Mar, 2018 3 commits
  12. 16 Mar, 2018 3 commits
  13. 06 Mar, 2018 1 commit
  14. 02 Mar, 2018 1 commit
  15. 28 Feb, 2018 1 commit
  16. 12 Feb, 2018 1 commit
  17. 08 Feb, 2018 1 commit
  18. 01 Feb, 2018 1 commit
  19. 27 Jan, 2018 1 commit
  20. 15 Jan, 2018 1 commit
  21. 08 Jan, 2018 1 commit
  22. 04 Jan, 2018 1 commit
    • Siva's avatar
      support for --strong option (#13859) · 426d6b06
      Siva authored
      * Plumb a --strong option through to the front end server and the engine
      so that we can run flutter apps in preview-dart-2 and strong mode
      
      * - Address analyzer lint issues
      *- correctly set up strong mode option in the case of AOT builds
      426d6b06
  23. 18 Dec, 2017 1 commit
  24. 14 Dec, 2017 5 commits
  25. 13 Dec, 2017 2 commits
  26. 21 Nov, 2017 1 commit
    • 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
  27. 18 Oct, 2017 1 commit