1. 05 Apr, 2022 1 commit
    • gaaclarke's avatar
      Made flag for debugging build time of user created widgets (#100926) · 35b18ba2
      gaaclarke authored
      * Added a bool that allows us to limit debugProfileBuildsEnabled to user
      created widgets.
      
      * made it turned on by default
      
      * switched to hashmap
      
      * Cleaned everything up and added tests
      
      * fixed an odd test where it wants to be able to add asserts and run in profile mode
      
      * hixie feedback
      
      * hixie2
      
      * made it default to false
      
      * updated docstring as per dans request
      35b18ba2
  2. 31 Mar, 2022 1 commit
  3. 29 Mar, 2022 1 commit
  4. 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
  5. 21 Mar, 2022 1 commit
  6. 02 Mar, 2022 1 commit
    • gaaclarke's avatar
      Starts using the `--source` flag to compile the dart registrant. (#98046) · fdcd1446
      gaaclarke authored
      * Starts using the `--source` flag to compile the dart registrant.
      
      * updated general.shard tests
      
      * Fixed the resident compiler flow
      
      * added integration test
      
      * made the integration test self contained
      
      * renamed generated_main to dart_plugin_registrant
      
      * cleaned up for review
      
      * added task runner for ci
      
      * added bringup and TESTOWNERS
      
      * updated failure message
      fdcd1446
  7. 24 Jan, 2022 1 commit
  8. 12 Nov, 2021 1 commit
  9. 04 Nov, 2021 1 commit
  10. 02 Nov, 2021 1 commit
  11. 21 Oct, 2021 1 commit
  12. 20 Oct, 2021 1 commit
  13. 12 Oct, 2021 1 commit
  14. 08 Oct, 2021 3 commits
  15. 06 Oct, 2021 1 commit
  16. 01 Oct, 2021 1 commit
  17. 27 Jul, 2021 1 commit
  18. 24 Jun, 2021 2 commits
  19. 23 Jun, 2021 1 commit
  20. 16 Jun, 2021 1 commit
  21. 02 Jun, 2021 1 commit
  22. 01 Jun, 2021 1 commit
  23. 25 May, 2021 1 commit
  24. 19 May, 2021 2 commits
  25. 12 May, 2021 2 commits
  26. 10 May, 2021 1 commit
  27. 08 May, 2021 1 commit
  28. 07 May, 2021 1 commit
  29. 06 May, 2021 1 commit
  30. 01 May, 2021 1 commit
  31. 28 Apr, 2021 2 commits
  32. 27 Apr, 2021 2 commits
  33. 23 Apr, 2021 1 commit