1. 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
  2. 24 Jan, 2022 1 commit
  3. 12 May, 2021 1 commit
  4. 08 May, 2021 1 commit
  5. 01 May, 2021 1 commit
  6. 28 Apr, 2021 1 commit
  7. 13 Mar, 2021 1 commit
  8. 06 Mar, 2021 1 commit
  9. 18 Feb, 2021 1 commit
  10. 27 Jan, 2021 1 commit
  11. 17 Dec, 2020 1 commit
  12. 25 Aug, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and... · 059de153
      Jonah Williams authored
      [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and Android on Windows (#63610)
      
      Adds support for size analysis on iOS, macOS, linux, and Windows - using an uncompressed directory based approach. The output format is not currently specified.
      
      Adds support for size analysis on android on windows, switching to package:archive
      
      Updates the console format to display as a tree, allowing longer paths. Increases the number of dart libraries shown (to avoid only ever printing the flutter/dart:ui libraries, which dominate the size)
      059de153
  13. 26 Jun, 2020 1 commit
  14. 09 Jun, 2020 1 commit
  15. 08 Jun, 2020 1 commit
  16. 06 May, 2020 1 commit
  17. 09 Apr, 2020 1 commit
  18. 03 Apr, 2020 2 commits
  19. 31 Mar, 2020 1 commit
  20. 30 Mar, 2020 1 commit
  21. 24 Mar, 2020 1 commit
  22. 19 Mar, 2020 3 commits
  23. 05 Mar, 2020 1 commit
  24. 31 Jan, 2020 1 commit
  25. 28 Jan, 2020 1 commit
  26. 27 Jan, 2020 1 commit
  27. 25 Jan, 2020 1 commit
  28. 24 Jan, 2020 1 commit
  29. 17 Jan, 2020 1 commit
  30. 16 Jan, 2020 1 commit
  31. 14 Jan, 2020 1 commit
  32. 07 Jan, 2020 1 commit
  33. 06 Jan, 2020 1 commit
  34. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  35. 24 Nov, 2019 1 commit
  36. 24 Sep, 2019 1 commit
  37. 12 Sep, 2019 1 commit