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. 31 Aug, 2023 1 commit
  4. 17 Aug, 2023 3 commits
  5. 09 Aug, 2023 1 commit
    • Zachary Anderson's avatar
      Allows adding a storage 'realm' to the storage base URL (#131951) · 118c2df7
      Zachary Anderson authored
      Context: https://github.com/flutter/flutter/issues/131862
      
      This PR injects a "realm" component to the storage base URL when the contents of the file `bin/internal/engine.realm` is non-empty.
      
      As documented in the PR, when the realm is `flutter_archives_v2`, and `bin/internal/engine.version` contains the commit hash for a commit in a `flutter/engine` PR, then the artifacts pulled by the tool will be the artifacts built by the presubmit checks for the PR.
      
      This works for everything but the following two cases:
      1. Fuchsia artifacts are not uploaded to CIPD by the Fuchsia presubmit builds.
      2. Web artifacts are not uploaded to gstatic by the web engine presubmit builds.
      
      For (1), the flutter/flutter presubmit `fuchsia_precache` is driven by a shell script outside of the repo. It will fail when the `engine.version` and `engine.realm` don't point to a post-submit engine commit.
      
      For (2), the flutter/flutter web presubmit tests that refer to artifacts in gstatic hang when the artifacts aren't found, so this PR skips them.
      118c2df7
  6. 05 Feb, 2021 1 commit
  7. 03 Feb, 2021 1 commit
  8. 12 Oct, 2020 1 commit
  9. 23 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] only lock if an upgrade/download will be performed... · f1472e1f
      Jonah Williams authored
      [flutter_tools] only lock if an upgrade/download will be performed (linux/macos) and output building messages to stderr (#65422)
      
      Currently an invocation of flutter/dart will always attempt to acquire a lock. This can pose problems for tools that attempt to run multiple dart/flutter instances.
      
      Instead update the lock logic (on Linux/macOS) so that we only attempt to acquire it if an update/snapshot needs to be performed. To avoid repeatedly performing downloads/snapshots if multiple flutter/dart invocations are fired off concurrently when an update needs to be performed, do a second check of the download/snapshot condition after the lock is released.
      
      Additionally, moves all of the building/debug output to stderr on both the bash and batch scripts. This allows machine mode consumption of the tool to ignore needing to parse/handle the rebuild messages.
      f1472e1f
  10. 17 Sep, 2020 1 commit
  11. 31 Aug, 2020 1 commit
  12. 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
  13. 08 Aug, 2019 1 commit
  14. 05 Apr, 2019 1 commit
  15. 06 Feb, 2019 1 commit
  16. 27 Jul, 2018 1 commit
  17. 27 Feb, 2018 1 commit
  18. 14 Feb, 2018 1 commit
  19. 11 Jan, 2018 1 commit
    • Michael Goderbauer's avatar
      Use bundled mingit on Windows if available (#14025) · 54e33331
      Michael Goderbauer authored
      In the packaged ZIP files for Flutter we bundle mingit on Windows to make setup for our users easier (they don't have to download and install git anymore). This change makes Flutter use the bundled mingit if it is available and if git is not installed on the system.
      
      This change will still require that users add `flutter\bin` to their path or they'll have to execute `flutter\bin\flutter.bat` directly. A follow-up PR will add a pre-configured Flutter Console that people can start with a double-click to minimize setup even further.
      
      Also in this PR:
      * If 7Zip is not available to unpack the Dart SDK try 7Zip's standalone version.
      54e33331
  20. 07 Dec, 2017 1 commit
    • Jakob Andersen's avatar
      Make artifacts URLs configurable. (#13380) · e1018fab
      Jakob Andersen authored
      Add support for configuring the base storage URL for Flutter's
      artifacts. If FLUTTER_STORAGE_BASE_URL is set, use it instead of
      storage.googleapis.com.
      
      The pub server can be overridden by setting PUB_HOSTED_URL.
      e1018fab
  21. 24 Jul, 2017 1 commit
  22. 19 Jul, 2017 1 commit
  23. 13 Jun, 2017 1 commit
  24. 10 Mar, 2017 1 commit
  25. 08 Mar, 2017 1 commit
  26. 07 Mar, 2017 2 commits
  27. 24 Feb, 2017 1 commit
  28. 23 Feb, 2017 1 commit
  29. 14 Feb, 2017 1 commit
  30. 24 Jan, 2017 1 commit
    • Michael Goderbauer's avatar
      Launch Flutter Tools on Windows. (#7613) · 51dc83dd
      Michael Goderbauer authored
      This brings the Windows script up to par with the Linux/Mac script.
      
      `flutter doctor` works.
      
      There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent.
      
      Required for https://github.com/flutter/flutter/issues/138
      51dc83dd