commit | 937e51851c14624dbb9e160197720d531b2b9158 | [log] [tgz] |
---|---|---|
author | Zachary Anderson <zanderso@users.noreply.github.com> | Mon Apr 08 20:26:57 2024 +0000 |
committer | GitHub <noreply@github.com> | Mon Apr 08 13:26:57 2024 -0700 |
tree | 6f49f66babdddaef9e74b15a358ffef53dd13c4b | |
parent | 37fed97b48f4fc199fa2ae2e8b3b0122246c3931 [diff] |
[et] Run GN before looking for targets. Default to build config targets (#51956) Addresses the notes I left on https://github.com/flutter/engine/pull/51868. Mainly fixes an issue in which the `build`, `query`, and `test` commands would fail if GN had not yet been run for the requested configuration. Instead, in this PR, if the build output directory doesn't exist yet, then it will run GN before querying the targets. Additionally, for the `build` command, if no targets are specified on the command line, the PR uses the targets in the build config as the default rather than all targets. `query` and `test` keep the same behavior.
Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.
The Flutter Engine is a portable runtime for hosting Flutter applications. It implements Flutter's core libraries, including animation and graphics, file and network I/O, accessibility support, plugin architecture, and a Dart runtime and compile toolchain. Most developers will interact with Flutter via the Flutter Framework, which provides a modern, reactive framework, and a rich set of platform, layout and foundation widgets.
If you want to run/contribute to Flutter Web engine, more tooling can be found at felt. This is a tool written to make web engine development experience easy.
If you are new to Flutter, then you will find more general information on the Flutter project, including tutorials and samples, on our Web site at Flutter.dev. For specific information about Flutter's APIs, consider our API reference which can be found at the docs.flutter.dev.
Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our contributor guide.