1. 27 Apr, 2022 1 commit
  2. 26 Apr, 2022 1 commit
  3. 15 Apr, 2022 1 commit
  4. 12 Apr, 2022 1 commit
  5. 22 Mar, 2022 1 commit
    • Chris Bracken's avatar
      [macOS] Use arm64 snapshot in arm64 App.framework (#100504) · fd3c34c9
      Chris Bracken authored
      Previously, https://github.com/flutter/flutter/pull/100271 enabled
      building universal macOS binaries by default, but included a bug causing
      the arm64 App.framework to be built such that the TEXT section
      containing the app instructions built by gen_snapshot incorrectly
      contained x86_64 instructions rather than arm64 instructions.
      
      When building macOS (and iOS) apps, Flutter builds them in three
      components:
      * The Runner application: built by Xcode
      * The bundled App.framework: built from assembly code generated by
        gen_snapshot from the application's Dart sources.
      * The bundled FlutterMacOS.framework: built as part of the engine build
        and packaged by copying the distributed binary framework from our
        artifacts cache.
      
      Building App.framework consists of the following steps:
      * For each architecture, invoke gen_snapshot to generate
        architecture-specific assembly code, which is then built to object
        code and linked into an architecture-specific App.framework.
      * Use the `lipo` tool to generate a universal binary that includes both
        x86_64 and arm64 architectures.
      
      Previously, we were building architecture specific App.framework
      binaries. However, for all architectures we were (mistakenly) invoking
      the general `gen_snapshot` tool (which emitted x64 instructions, and
      which is now deprecated) instead of the architecture-specific
      `gen_snapshot_x86` and `gen_snapshot_arm64` builds which emit
      instructions for the correct architecture.
      
      This change introduces a small refactoring, which is to split the
      `getNameForDarwinArch` function into two functions:
      * `getDartNameForDarwinArch`: the name for the specified architecture as
        used in the Dart SDK, for example as the suffix of `gen_snapshot`.
      * `getNameForDarwinArch`: the name for the specified architecture
        as used in Apple tools, for example as an argument to `lipo`. For
        consistency, and to match developer expectations on Darwin platforms,
        this is also the name used in Flutter's build outputs.
      
      Issue: https://github.com/flutter/flutter/issues/100348
      fd3c34c9
  6. 24 Jun, 2021 1 commit
  7. 16 Jun, 2021 1 commit
  8. 01 Jun, 2021 1 commit
  9. 26 May, 2021 1 commit
  10. 28 Apr, 2021 1 commit
  11. 09 Apr, 2021 1 commit
  12. 12 Feb, 2021 1 commit
  13. 08 Feb, 2021 1 commit
  14. 04 Feb, 2021 1 commit
    • Jonah Williams's avatar
      [flutter_tools] move process manager into tool (#75350) · 8b6baae4
      Jonah Williams authored
      Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
      8b6baae4
  15. 02 Feb, 2021 1 commit
  16. 27 Jan, 2021 1 commit
  17. 03 Dec, 2020 1 commit
  18. 04 Nov, 2020 1 commit
  19. 23 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] Reland: simplify pub cache logic (#67589) · cb67513f
      Jonah Williams authored
      There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
      
      Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.
      
      Fixes #66777
      Fixes #65723
      cb67513f
  20. 22 Oct, 2020 1 commit
  21. 28 Sep, 2020 1 commit
  22. 16 Sep, 2020 1 commit
  23. 06 Aug, 2020 1 commit
  24. 24 Jun, 2020 1 commit
  25. 23 Jun, 2020 1 commit
  26. 29 May, 2020 1 commit
  27. 28 May, 2020 1 commit
  28. 19 Mar, 2020 3 commits
  29. 14 Mar, 2020 2 commits
  30. 06 Mar, 2020 1 commit
  31. 27 Feb, 2020 1 commit
  32. 12 Feb, 2020 1 commit
  33. 07 Feb, 2020 1 commit
  34. 06 Feb, 2020 2 commits
  35. 03 Feb, 2020 1 commit
  36. 29 Jan, 2020 1 commit