1. 08 Jun, 2023 1 commit
    • Tess Strickland's avatar
      Use `--target-os` for appropriate precompiled targets. (#127567) · 840d7dd6
      Tess Strickland authored
      This PR adds uses of the `--target-os` command line argument when
      building kernel sources for precompiled applications for supported
      target operating systems. The Dart CFE then:
      
      * treats `Platform.operatingSystem` as if it were defined as the
      constant string provided as an argument to the flag,
      * treats `Platform.pathSeparator` as the appropriate separator for that
      operating system,
      * attempts to constant evaluate the initializer for any field annotated
      with the `vm:platform-const` pragma, and
      * attempts to constant evaluate all calls to a method annotated with the
      `vm:platform-const` pragma.
      
      The `vm:platform-const` pragma can appear in either library or user
      code. If the attempt to constant evaluate the field initializer or
      method call fails, then an error is thrown at kernel compilation time.
      
      Addresses #14233.
      
      The tests in
      `packages/flutter_tools/test/general.shard/build_system/targets/common_test.dart`
      have been adjusted properly to account for the new passed command line
      arguments.
      840d7dd6
  2. 05 May, 2023 1 commit
  3. 03 May, 2023 1 commit
  4. 14 Apr, 2023 1 commit
  5. 23 Mar, 2023 1 commit
  6. 22 Mar, 2023 1 commit
  7. 17 Feb, 2023 1 commit
  8. 15 Dec, 2022 1 commit
    • Christopher Fujino's avatar
      [flutter_tools] tree shake icons from web builds (#115886) · 1eaf5c0f
      Christopher Fujino authored
      * wip
      
      * remove temp text file
      
      * fix tests
      
      * add test
      
      * default to off
      
      * restore gitignore
      
      * update
      
      * apply annotation to cupertino icons as well
      
      * update reference to library in icon_tree_shaker.dart
      
      * update tests
      
      * fix tests
      
      * remove hack to skip non-const check on web
      
      * add hint about how much reduction and test
      1eaf5c0f
  9. 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
  10. 04 Oct, 2022 1 commit
  11. 05 Sep, 2022 1 commit
  12. 27 Jul, 2022 1 commit
  13. 07 Jul, 2022 1 commit
  14. 04 May, 2022 1 commit
  15. 27 Apr, 2022 1 commit
  16. 26 Apr, 2022 1 commit
  17. 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
  18. 02 Nov, 2021 1 commit
  19. 11 Oct, 2021 1 commit
  20. 08 Oct, 2021 3 commits
  21. 06 Oct, 2021 1 commit
  22. 26 May, 2021 1 commit
  23. 08 May, 2021 1 commit
  24. 28 Apr, 2021 1 commit
  25. 23 Apr, 2021 2 commits
  26. 31 Mar, 2021 1 commit
  27. 23 Mar, 2021 1 commit
  28. 09 Mar, 2021 1 commit
  29. 05 Mar, 2021 1 commit
  30. 19 Feb, 2021 1 commit
  31. 18 Feb, 2021 1 commit
  32. 02 Feb, 2021 1 commit
    • Jonah Williams's avatar
      [flutter_tools] switch dart defines to base64 to avoid windows control characters (#75027) · 44d5950d
      Jonah Williams authored
      = gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.
      
      This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.
      
      Fixes #75017
      Fixes #74705
      44d5950d
  33. 27 Jan, 2021 1 commit
  34. 04 Nov, 2020 1 commit
  35. 23 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] Reland: simplify pub cache logic (#67589) · cb67513f
      Jonah Williams authored
      There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
      
      Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.
      
      Fixes #66777
      Fixes #65723
      cb67513f
  36. 12 Oct, 2020 1 commit
  37. 07 Oct, 2020 1 commit