1. 11 Mar, 2024 2 commits
  2. 06 Mar, 2024 1 commit
  3. 05 Mar, 2024 2 commits
  4. 23 Feb, 2024 1 commit
  5. 07 Feb, 2024 1 commit
  6. 02 Feb, 2024 1 commit
    • Lau Ching Jun's avatar
      Avoid depending on files from build_system/targets other than from top level... · ac7879e2
      Lau Ching Jun authored
      Avoid depending on files from build_system/targets other than from top level entrypoints in flutter_tools. (#142760)
      
      Add a new `BuildTargets` class that provides commonly used build targets. And avoid importing files from `build_system/targets` except from the top level entrypoints or from top level commands.
      
      Also move `scene_importer.dart` and `shader_compiler.dart` into `build_system/tools` because they are not `Target` classes, but wrapper for certain tools.
      
      With this change, we can ignore all files in `build_system/targets` internally and make PR #142709 easier to land internally. See cl/603434066 for the corresponding internal change.
      
      Related to:
      https://github.com/flutter/flutter/pull/142709
      https://github.com/flutter/flutter/issues/142041
      
      Also note that I have opted to add a new variable in `globals.dart` for `BuildTargets` in this PR, but I know that we are trying to get rid of globals. Several alternatives that I was considering:
      
      1. Add a new field in `BuildSystem` that returns a `BuildTargets` instance. Since `BuildSystem` is already in `globals`, we can access build targets using `globals.buildSystem.buildTargets` without adding a new global variable.
      2. Properly inject the `BuildTargetsImpl` instance from the top level `executable.dart` and top level commands.
      
      Let me know if you want me to do one of the above instead. Thanks!
      ac7879e2
  7. 23 Jan, 2024 1 commit
  8. 10 Aug, 2023 1 commit
  9. 15 May, 2023 1 commit
  10. 22 Mar, 2023 1 commit
  11. 23 Jan, 2023 1 commit
  12. 10 Jan, 2023 1 commit
  13. 08 Aug, 2022 1 commit
  14. 27 Jul, 2022 1 commit
  15. 20 Jul, 2022 1 commit
  16. 18 Jul, 2022 1 commit
  17. 15 Jul, 2022 1 commit
  18. 15 Jun, 2022 1 commit
  19. 22 Feb, 2022 1 commit
  20. 02 Nov, 2021 1 commit
  21. 08 Oct, 2021 3 commits
  22. 02 Oct, 2021 1 commit
  23. 01 Oct, 2021 1 commit
    • stuartmorgan's avatar
      Fix Dart plugin registrant interaction with 'flutter test' (#90288) · 97fb8c05
      stuartmorgan authored
      Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
      - Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
      - Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
      
      Fixes https://github.com/flutter/flutter/issues/88794
      97fb8c05
  24. 08 Sep, 2021 1 commit
  25. 28 Jun, 2021 1 commit
  26. 25 Jun, 2021 2 commits
  27. 08 Jun, 2021 1 commit
  28. 01 Jun, 2021 1 commit
  29. 27 Apr, 2021 1 commit
  30. 23 Apr, 2021 1 commit
  31. 23 Mar, 2021 1 commit
  32. 24 Feb, 2021 1 commit
  33. 19 Feb, 2021 1 commit
  34. 27 Jan, 2021 1 commit
  35. 25 Jan, 2021 1 commit