- 31 Aug, 2017 1 commit
-
-
Alexander Aprelev authored
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
-
- 29 Aug, 2017 1 commit
-
-
Chris Bracken authored
Extract a Snapshotter class that can be shared between FLX snapshotting, AOT snapshotting, and assembly AOT snapshotting. Allows for better testability of snapshotting logic. * Extracts script snapshotting used in FLX build. * Adds tests for snapshot checksumming, build invalidation/skipping. Remaining work: disentangle + extract AOT snapshotting and Assembly AOT snapshotting logic from build_aot.dart.
-
- 28 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change re-introduces skipping AOT snapshot builds if input sources and outputs have not changed since the last snapshot build, assuming a build for the same platform in the same build mode. This reverts commit 3d5afb5a. It includes the following changes relative to the original: 1. Include the entrypoint source in the checksums 2. include the build mode in the checksums 3. include the target platform in the checksums
-
- 25 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change ensures that snapshot build checksums used to avoid duplicate builds are invalidated by a change to framework revision (in case gen_snapshot is updated), as well as by build mode. Currently, only FLX snapshotting uses checksums to avoid duplicate builds. FLX snapshotting is always done with BuildMode.debug, so didn't include build mode in the checksum file.
-
- 23 Aug, 2017 1 commit
-
-
Chris Bracken authored
During FLX snapshotting, changes to (or absence of) any of the following should trigger re-snapshot: 1. main() entrypoint source 2. transitive closure of sources reachable from the entrypoint source 3. the output snapshot
-
- 16 Aug, 2017 3 commits
-
-
Ian Hickson authored
This reverts commit 1705bf3c.
-
Ian Hickson authored
* Revert "Fix a typo in the saved certificate error message (#11640)" This reverts commit bfda885a. * Revert "Rollback patch that broke microbenchmarks (#11616)" This reverts commit 70fe6f4c.
-
Ian Hickson authored
* Revert "Extract snapshotting logic to Snapshotter class (#11591)" This reverts commit 309a2d78. * Revert "Minor whitespace formatting fix (#11590)" This reverts commit bf69c3c6. * Revert "Avoid rebuilding snapshots if no change to source (#11551)" This reverts commit 74835db5.
-
- 11 Aug, 2017 1 commit
-
-
Chris Bracken authored
First step in eliminating code duplication between script snapshotting (in FLX build) and AOT, assembly AOT snapshotting.
-
- 08 Aug, 2017 1 commit
-
-
Chris Bracken authored
This change re-introduces skipping snapshot builds if input sources (and outputs) have not changed since the last snapshot build, with a bugfix to include the entry-point source in the checksum used to check whether rebuild can be skipped. This ensures that the following sequence invalidates the cached build, resulting in two snapshot builds: flutter build ios lib/foo.dart flutter build ios lib/bar.dart This reverts commit 3d5afb5a.
-
- 01 Aug, 2017 1 commit
-
-
Ian Hickson authored
* Revert "Support space- and backslash-escaped dependencies (#11090)" This reverts commit e6bafd0b. * Revert "Skip AOT snapshot build if inputs are unchanged (#11084)" This reverts commit b5e522e2.
-
- 05 Jul, 2017 1 commit
-
-
Chris Bracken authored
Previously, the snapshot file was recomputed on every build. We now record checksums for all snapshot inputs (which are catalogued in the snapshot dependencies file output alongside the snapshot) and only rebuild if the checksum for any input file (or the previous output file) has changed.
-
- 30 Jun, 2017 2 commits
-
-
Chris Bracken authored
Previously, the snapshot file was recomputed on every build. We now record checksums for all snapshot inputs (which are catalogued in the snapshot dependencies file output alongside the snapshot) and only rebuild if the checksum for any input file has changed.
-
Chris Bracken authored
* Only one call to createSnapshot exists, and it's in the same library. * Eliminate conditional logic around the presence of depfilePath, the only existing call always passes a non-null depfilePath.
-
- 06 Apr, 2017 1 commit
-
-
Ryan Macnak authored
Support for placing an AOT dylib in the flx. Part of Fuchsia AOT support.
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 23 Mar, 2017 2 commits
-
-
xster authored
-
P.Y. Laligand authored
-
- 20 Mar, 2017 1 commit
-
-
Jakob Andersen authored
* Remove legacy .apk build. Print out an error message telling the user to upgrade the project if it's not Gradle-based. Removed all the obvious traces of the legacy build. Added support for Dart VM kernel snapshots in Gradle builds. Fixed Android installs to verify that the app is actually installed, and not just rely on the presence of the .sha1 file.
-
- 14 Mar, 2017 2 commits
-
-
Jason Simmons authored
gen_snapshot is now used for both JIT and AOT snapshots. The JIT version used in debug mode will be a 64-bit binary.
-
Jakob Andersen authored
* Use snapshot's .d file as source inputs in Gradle build. If we don't yet have a .d file (first build), fall back to using the .dart files in the current directory. This enables us to detect changes in dependent source files (Flutter framework, packages outside the source directory, etc.), and re-generate the snapshots as needed. Unfortunately, Gradle requires knowing the source files before executing the task, and can't update them after building, so Gradle considers the second build to be out-of-date (because it has more input files than the first build). Sub-sequent builds have the correct dependency information, and will be skipped if the source files haven't changed. Also added a dependency on gen_snapshot. The snapshot ABI isn't stable, so we need to re-generate the snapshots when we roll the Dart SDK dependency. Fixes #8315 Fixes #8687 Fixes #8607
-
- 08 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
* eliminate sky snapshot * roll engine
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 02 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
* Enable Hot Reload on Windows (backed by gen_snapshot) \o/ Two caveats: * Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot * We currently cannot hot reload projects with spaces in the path * enable tests
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 22 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 17 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
Artifacts are now located in a central place. This will enable us to downlaod artifacts when we need them (instead of downloading them all upfront). This also makes replacing sky_snapshot with gen_snapshot easier.
-
- 15 Feb, 2017 1 commit
-
-
Dan Rubel authored
-
- 14 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 24 Jan, 2017 1 commit
-
-
Ian Hickson authored
-
- 22 Jan, 2017 1 commit
-
-
Dan Rubel authored
Refactor DevFS so that it's easier to add new types of content such as kernel code * add tests for DevFS package scanning * add tests for DevFS over VMService protocol * which covers _DevFSHttpWriter and ServiceProtocolDevFSOperations * replace AssetBundleEntry and DevFSEntry with DevFSContent * refactor to cleanup common code and replace some fields with locals * rework .package file generation refactor away DevFSOperations.writeSource * only update .package file if it has changed * only write/delete/evict assets that have been changed/removed
-
- 07 Jan, 2017 1 commit
-
-
Todd Volkert authored
This removes direct file access from within flutter_tools in favor of using `package:file` via a `FileSystem` that's accessed via the `ApplicationContext`. This lays the groundwork for us to be able to easily swap out the underlying file system when running Flutter tools, which will be used to provide a record/replay file system, analogous to what we have for process invocations.
-
- 14 Nov, 2016 1 commit
-
-
Dan Rubel authored
* convert pubGet to throw ToolExit on non-zero exit code * convert commandValidator to throw ToolExit for non-zero exit code * convert flutter commands to throw ToolExit for non-zero exit code * use convenience method throwToolExit * only show "if this problem persists" for unusual exceptions
-
- 04 Nov, 2016 1 commit
-
-
P.Y. Laligand authored
Fonts should never be bundled on Fuchsia.
-
- 03 Nov, 2016 1 commit
-
-
Jason Simmons authored
-
- 02 Nov, 2016 1 commit
-
-
Petr Hosek authored
This is causing issues when integratting Flutter into GN as the generated depfile refers to snapshot as the target instead of the bundle. We instead use a separate GN action to generate the snapshot use the Flutter compiler to only assemble the bundle.
-
- 20 Oct, 2016 1 commit
-
-
Adam Barth authored
This patch makes it possible to build Flutter apps that use the framework on Fuchsia.
-
- 30 Sep, 2016 1 commit
-
-
P.Y. Laligand authored
-
- 25 Aug, 2016 1 commit
-
-
Chris Bracken authored
This change adds a top-level getBuildDirectory func and funcs for android, aot, asset, ios build products. Developers may now add a "build-dir" mapping to their ~/.flutter_settings (JSON format) config file. Output directory is relative to the main flutter application directory. This change also changes the default build directory for iOS builds to a subdirectory of the configured build directory, 'build/ios' by default.
-
- 10 Aug, 2016 1 commit
-
-
Ian Hickson authored
Also, add a "flutter build flx --report-licensed-packages" option for when you need to get the list of the packages affected by licenses.
-