1. 14 Oct, 2020 1 commit
  2. 13 Oct, 2020 1 commit
  3. 12 Oct, 2020 4 commits
  4. 17 Sep, 2020 1 commit
  5. 25 Aug, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and... · 059de153
      Jonah Williams authored
      [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and Android on Windows (#63610)
      
      Adds support for size analysis on iOS, macOS, linux, and Windows - using an uncompressed directory based approach. The output format is not currently specified.
      
      Adds support for size analysis on android on windows, switching to package:archive
      
      Updates the console format to display as a tree, allowing longer paths. Increases the number of dart libraries shown (to avoid only ever printing the flutter/dart:ui libraries, which dominate the size)
      059de153
  6. 06 Jul, 2020 1 commit
    • stuartmorgan's avatar
      Switch Windows to CMake (#60629) · 4b120501
      stuartmorgan authored
      * First pass at CMake files; untested
      
      * First pass of adding CMake generation logic on Windows
      
      * Misc fixes
      
      * Get bundling working, start incoprorating CMake build into tool
      
      * Fix debug, exe name.
      
      * Add resources
      
      * Move cmake.dart
      
      * Rip out all the vcxproj/solution plumbing
      
      * Fix plugin cmake generation
      
      * Build with cmake rather than calling VS directly
      
      * Adjust Windows plugin template to match standard header directory structure
      
      * Pass config selection when building
      
      * Partially fix multi-config handling
      
      * Rev template version
      
      * Share the CMake generation instead of splitting it out
      
      * VS build/run cycle works, with slightly awkward requirement to always build all
      
      * Update manifest
      
      * Plugin template fixes
      
      * Minor adjustments
      
      * Build install as part of build command, instead of separately
      
      * Test cleanup
      
      * Update Linux test for adjusted generated CMake approach
      
      * Plugin test typo fix
      
      * Add missing stub file for project test
      
      * Add a constant for VS generator
      4b120501
  7. 24 Jun, 2020 1 commit
    • stuartmorgan's avatar
      Consider the Linux template stable (#60163) · d9902a54
      stuartmorgan authored
      Remove the version checking and associated warnings. The Linux template
      and build process will now be subject to more typical Flutter breaking
      change policy, and should no longer require regularly deleting and
      recreating the platform directory.
      d9902a54
  8. 29 May, 2020 1 commit
  9. 18 May, 2020 1 commit
    • stuartmorgan's avatar
      Fix CMake invocation for 3.10 compat (#57415) · f991308e
      stuartmorgan authored
      The -S/-B format of specifying source and build directories wasn't added
      until 3.13. For 3.10 compatibility, use the older form of having the
      working directory as the build directory, and the last argument as the
      source directory.
      
      Fixes #57409
      f991308e
  10. 16 May, 2020 1 commit
    • stuartmorgan's avatar
      Switch to CMake for Linux desktop (#57238) · 8abf0a6d
      stuartmorgan authored
      Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.
      
      Also updates doctor to check for cmake and ninja in place of make.
      
      Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.
      
      Fixes #52751
      8abf0a6d
  11. 26 Apr, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] quality pass on Linux build (#55556) · dd88b204
      Jonah Williams authored
      - Update the Linux build to support most of the build configuration, though like windows most only make sense for profile/release.
      - Ensure VERBOSE_SCRIPT_LOGGING is set when the logger is verbose
      - Automatically run pub get like other build commands
      dd88b204
  12. 25 Mar, 2020 2 commits
  13. 06 Mar, 2020 1 commit
  14. 03 Mar, 2020 1 commit
    • stuartmorgan's avatar
      Add pre-stable support for create on Linux (#51832) · 8d8439f8
      stuartmorgan authored
      Adds initial support for `flutter create` of apps and plugins. This is derived from the current FDE example app and sample plugin, with a few changes:
      - Added template values where it makes sense.
      - Moved some likely-to-change values into separate files for now, to simplify the delete/recreate cycle that will be necessary until it's stable.
      - Added some minor Makefile flag handling improvements
      
      Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the `create` output about the fact that it won't be stable.
      8d8439f8
  15. 13 Feb, 2020 1 commit
    • stuartmorgan's avatar
      Create plugin symlinks for Windows and Linux (#50599) · 7bdd4757
      stuartmorgan authored
      This makes ephemeral symlinks to each plugin, for use by build systems.
      This is similar to the logic implemented in the Podfile on iOS and
      macOS, but managed internally to the Flutter tool.
      
      Exploration for addressing #32719 and #32720
      Related to #41146
      7bdd4757
  16. 11 Feb, 2020 1 commit
  17. 08 Jan, 2020 1 commit
    • stuartmorgan's avatar
      Check for desktop project files before building (#48350) · 58d6c425
      stuartmorgan authored
      Moves the checks that projects have been configured for desktop to a lower level, where they will cover more codepaths (e.g., 'run'), and improves them to check for native build projects, rather than just directories, to catch cases where the directory exists (e.g., due to accidental creation of generated files).
      
      Also adds links to the error messages pointing to instructions on adding desktop support to a project.
      
      Fixes #47145
      58d6c425
  18. 06 Jan, 2020 1 commit
  19. 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
  20. 19 Nov, 2019 1 commit
  21. 28 Oct, 2019 1 commit
  22. 10 Oct, 2019 1 commit
  23. 08 Oct, 2019 2 commits
  24. 30 Sep, 2019 1 commit
    • stuartmorgan's avatar
      Pass Linux build mode on command line (#41551) · d1761f10
      stuartmorgan authored
      Currently Linux builds override the default BUILD mode by putting it in
      the generated config. That makes it sticky for manual runs of make,
      which is inconsistent with how other platforms work.
      
      Instead, pass the build mode as a command-line override, the same way
      someone would if building directly with make. This makes the flow of
      controlling the mode less confusing.
      
      Fixes #41528
      d1761f10
  25. 16 Sep, 2019 1 commit
  26. 21 Aug, 2019 1 commit
    • stuartmorgan's avatar
      Add build warning for non-debug desktop builds (#38932) · 01530928
      stuartmorgan authored
      When building in profile or release mode on desktop, add a prominent
      warning that it's actually a debug build. This is to help address issues
      with people being unaware of the current state of builds due to
      following third-party guides rather than official documentation.
      
      macOS is not included since PRs are in flight for macOS release support.
      01530928
  27. 29 Jul, 2019 1 commit
  28. 16 Jul, 2019 1 commit
  29. 07 Jun, 2019 1 commit
  30. 11 May, 2019 1 commit
  31. 24 Apr, 2019 1 commit
  32. 19 Apr, 2019 1 commit
  33. 18 Apr, 2019 2 commits