1. 26 Jan, 2024 1 commit
    • Pierrick Bouvier's avatar
      Enable native compilation for windows-arm64 (#141930) · 37c3978b
      Pierrick Bouvier authored
      It's now possible to natively compile a flutter app for windows-arm64. Cross-compilation is not yet implemented.
      
      Uses arm64 artifacts now available for Dart/Flutter. Platform detection is based on Abi class, provided by Dart. Depending if Dart is an arm64 or x64 binary, the Abi is set accordingly. Initial bootstrap of dart artifacts (update_dart_sdk.ps1) is checking PROCESSOR_ARCHITECTURE environment variable, which is the way to detect host architecture on Windows.
      
      This is available only for master channel (on other channels, it fallbacks to windows-x64).
      
      On windows-x64, it produces an x64 app. On windows-arm64, it produces an arm64 app.
      37c3978b
  2. 18 Jan, 2024 2 commits
    • auto-submit[bot]'s avatar
      Reverts "Enable native compilation for windows-arm64 " (#141809) · 1901d6fa
      auto-submit[bot] authored
      Reverts flutter/flutter#137618
      Initiated by: Jasguerrero
      This change reverts the following previous change:
      Original Description:
      It's now possible to natively compile a flutter app for
      windows-arm64. Cross-compilation is not yet implemented.
      
      Uses arm64 artifacts now available for Dart/Flutter.
      Platform detection is based on Abi class, provided by Dart. Depending if
      Dart is an arm64 or x64 binary, the Abi is set accordingly.
      Initial bootstrap of dart artifacts (update_dart_sdk.ps1) is checking
      PROCESSOR_ARCHITECTURE environment variable, which is the way to detect
      host architecture on Windows.
      
      This is available only for master channel (on other channels, it
      fallbacks to windows-x64).
      
      On windows-x64, it produces an x64 app. On windows-arm64, it produces an
      arm64 app.
      1901d6fa
    • Pierrick Bouvier's avatar
      Enable native compilation for windows-arm64 (#137618) · 54055920
      Pierrick Bouvier authored
      It's now possible to natively compile a flutter app for
      windows-arm64. Cross-compilation is not yet implemented.
      
      Uses arm64 artifacts now available for Dart/Flutter.
      Platform detection is based on Abi class, provided by Dart. Depending if
      Dart is an arm64 or x64 binary, the Abi is set accordingly.
      Initial bootstrap of dart artifacts (update_dart_sdk.ps1) is checking
      PROCESSOR_ARCHITECTURE environment variable, which is the way to detect
      host architecture on Windows.
      
      This is available only for master channel (on other channels, it
      fallbacks to windows-x64).
      
      On windows-x64, it produces an x64 app. On windows-arm64, it produces an
      arm64 app.
      54055920
  3. 16 Jan, 2024 1 commit
  4. 04 Jan, 2024 1 commit
    • stuartmorgan's avatar
      Fix local engine use in macOS plugins (#140222) · 24e06232
      stuartmorgan authored
      Currently podhelper.rb will always point plugin builds at the cached engine artifacts, even when using `--local-engine`. In most cases this is fine, since when the final build actually runs it will be using the engine bundled into the app build, which will be the correct local engine build. When trying to test a local engine build with API additions against a local plugin modified to use those additions to ensure that they are working as expected, however, compilation will fail, because the new APIs won't be present in the plugin build.
      
      This fixes that for macOS, and adds a TODO for iOS (which is more complicated to fix due to the host vs target build distinction).
      
      macOS portion of https://github.com/flutter/flutter/issues/132228
      24e06232
  5. 12 Oct, 2023 1 commit
  6. 10 Oct, 2023 1 commit
  7. 31 Aug, 2023 1 commit
  8. 15 May, 2023 1 commit
  9. 07 Apr, 2023 1 commit
  10. 22 Mar, 2023 1 commit
  11. 21 Mar, 2023 1 commit
  12. 09 Mar, 2023 1 commit
  13. 16 Feb, 2023 1 commit
  14. 15 Feb, 2023 2 commits
    • stuartmorgan's avatar
      Add Linux unit tests to plugin template (#120814) · e65dfba8
      stuartmorgan authored
      * Add Linux unit tests to plugin template
      
      Adds an example native unit test to the plugin template for Linux,
      matching the structure we use for our 1P plugin unit tests. Once these
      have been added for all platforms+languages, they will be documented on
      a new plugin development page to explain their use.
      
      While ideally we would adjust the engine APIs first to allow for testing
      the method call handler directly, it's unclear when we will have time
      for that work, and for a complex plugin most of the testing wouldn't be
      at that layer anyway, so having the structure in place with the
      limitations documented is still a significant improvement over having
      nothing in the template.
      
      Part of https://github.com/flutter/flutter/issues/82458
      
      * Add creation test
      
      * Add integration tests
      
      * Missing newlines
      
      * test owner
      
      * Typo
      e65dfba8
    • stuartmorgan's avatar
      Add Android unit tests to plugin template (#120720) · ef49f566
      stuartmorgan authored
      * Add Java tests
      
      * Add Kotlin
      
      * Add integration testing
      
      * Add cerate tests
      ef49f566
  15. 24 Jan, 2023 1 commit
    • stuartmorgan's avatar
      Add Windows unit tests to plugin template (#118638) · e3c51a2f
      stuartmorgan authored
      * Add Windows unit tests to plugin template
      
      Adds an example native unit test to the plugin template for Windows,
      matching the format we use for our 1P plugin example app unit tests.
      Once these have been added for all platforms+languages, they will be
      documented on a new plugin development page to explain their use.
      
      Since we don't appear to be running our current plugin e2e tests for
      Windows, this adds a new configuration to run them. I haven't
      `led`-tested this, so it may not work, but this will give a starting
      point for getting them running.
      
      Part of https://github.com/flutter/flutter/issues/82458
      
      * Minor fix
      
      * Add test owner
      
      * Fix typo
      
      * Fix test feature flag
      e3c51a2f
  16. 09 Jan, 2023 1 commit
  17. 21 Dec, 2022 1 commit
  18. 13 May, 2022 1 commit
  19. 26 Jan, 2022 1 commit
  20. 13 Jan, 2022 1 commit
  21. 11 Oct, 2021 1 commit
  22. 07 Oct, 2021 1 commit
  23. 05 Oct, 2021 1 commit
  24. 25 Aug, 2021 1 commit
  25. 23 Jul, 2021 1 commit
  26. 22 Jul, 2021 1 commit
  27. 13 Jul, 2021 1 commit
  28. 12 Jul, 2021 2 commits
  29. 05 Jun, 2021 1 commit
  30. 21 Apr, 2021 1 commit
  31. 11 Jan, 2021 1 commit
  32. 07 Oct, 2020 1 commit
  33. 28 Sep, 2020 1 commit
  34. 16 Sep, 2020 1 commit
  35. 07 Jan, 2020 1 commit
  36. 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
  37. 19 Nov, 2019 1 commit