1. 22 Sep, 2023 1 commit
    • Daco Harkes's avatar
      Reland "Native assets support for Linux" (#135097) · 2def9519
      Daco Harkes authored
      Reland of #134031. (Reverted in #135069.) Contains the fix for b/301051367 together with cl/567233346.
      
      Support for FFI calls with `@Native external` functions through Native assets on Linux. This enables bundling native code without any build-system boilerplate code.
      
      For more info see:
      
      * https://github.com/flutter/flutter/issues/129757
      
      ### Implementation details for Linux.
      
      Mainly follows the design of https://github.com/flutter/flutter/pull/130494.
      
      Some differences are:
      
      * Linux does not support cross compiling or compiling for multiple architectures, so this has not been implemented.
      * Linux has no add2app.
      
      The assets copying is done in the install-phase of the CMake build of a flutter app.
      CMake requires the native assets folder to exist, so we create it also when the feature is disabled or there are no assets.
      
      ### Tests
      
      This PR adds new tests to cover the various use cases.
      
      * packages/flutter_tools/test/general.shard/linux/native_assets_test.dart
        * Unit tests the Linux-specific part of building native assets.
      
      It also extends various existing tests:
      
      * packages/flutter_tools/test/integration.shard/native_assets_test.dart
        * Runs (incl hot reload/hot restart), builds, builds frameworks for Linux and flutter-tester.
      2def9519
  2. 20 Sep, 2023 1 commit
  3. 18 Sep, 2023 1 commit
    • Daco Harkes's avatar
      Native assets support for Linux (#134031) · 2337c64d
      Daco Harkes authored
      Support for FFI calls with `@Native external` functions through Native assets on Linux. This enables bundling native code without any build-system boilerplate code.
      
      For more info see:
      
      * https://github.com/flutter/flutter/issues/129757
      
      ### Implementation details for Linux.
      
      Mainly follows the design of https://github.com/flutter/flutter/pull/130494.
      
      Some differences are:
      
      * Linux does not support cross compiling or compiling for multiple architectures, so this has not been implemented.
      * Linux has no add2app.
      
      The assets copying is done in the install-phase of the CMake build of a flutter app.
      CMake requires the native assets folder to exist, so we create it also when the feature is disabled or there are no assets.
      
      ### Tests
      
      This PR adds new tests to cover the various use cases.
      
      * packages/flutter_tools/test/general.shard/linux/native_assets_test.dart
        * Unit tests the Linux-specific part of building native assets.
      
      It also extends various existing tests:
      
      * packages/flutter_tools/test/integration.shard/native_assets_test.dart
        * Runs (incl hot reload/hot restart), builds, builds frameworks for Linux and flutter-tester.
      2337c64d
  4. 16 Aug, 2023 1 commit
  5. 24 Jul, 2023 1 commit
  6. 14 Apr, 2023 1 commit
  7. 09 Mar, 2023 1 commit
  8. 02 Dec, 2022 1 commit
    • Jackson Gardner's avatar
      Platform binaries reland (#115502) · db1c3e20
      Jackson Gardner authored
      You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified.
      
      This also uses precompiled platform kernel files for both ddc and dart2js
      db1c3e20
  9. 13 Nov, 2022 1 commit
  10. 12 Nov, 2022 1 commit
  11. 05 Oct, 2022 1 commit
  12. 30 Aug, 2022 1 commit
  13. 27 Jun, 2022 1 commit
  14. 14 May, 2022 1 commit
  15. 27 Apr, 2022 1 commit
  16. 13 Jan, 2022 1 commit
  17. 07 Nov, 2021 1 commit
  18. 02 Nov, 2021 1 commit
  19. 20 Oct, 2021 1 commit
  20. 28 Jun, 2021 1 commit
  21. 04 Jun, 2021 1 commit
  22. 01 Jun, 2021 1 commit
  23. 22 May, 2021 1 commit
  24. 13 Apr, 2021 1 commit
  25. 16 Feb, 2021 1 commit
  26. 12 Feb, 2021 1 commit
  27. 27 Jan, 2021 1 commit
  28. 14 Jan, 2021 1 commit
  29. 22 Dec, 2020 1 commit
  30. 21 Dec, 2020 1 commit
  31. 15 Dec, 2020 1 commit
  32. 03 Dec, 2020 2 commits
  33. 14 Oct, 2020 1 commit
  34. 13 Oct, 2020 1 commit
  35. 12 Oct, 2020 4 commits
  36. 17 Sep, 2020 1 commit