- 21 Nov, 2017 1 commit
-
-
Martin Kustermann authored
* Add support for NDK discovery and add --prefer-shared-library option We would like to be able to use native tools (e.g. simpleperf, gdb) with precompiled flutter apps. The native tools work much better with *.so files instead of the custom formats the Dart VM uses by default. The reason for using blobs / instruction snapshots is that we do not want to force flutter users to install the Android NDK. This CL adds a `--prefer-shared-library` flag to e.g. `flutter build apk` which will use the NDK compiler (if available) to turn the precompiled app assembly file to an `*.so` file. If the NDK compiler is not available it will default to the default behavior. * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag * Use InMemoryFileSystem for test * Remove unused import * Address some analyzer warnings
-
- 18 Oct, 2017 1 commit
-
-
Sarah Zakarias authored
-
- 03 Oct, 2017 1 commit
-
-
Alexander Markov authored
Add hidden options --extra-front-end-options and --extra-gen-snapshot-options to flutter tool (#12219) This CL introduces 2 hidden options to 'flutter build aot' and 'flutter run' for passing arbitrary arguments to front-end server and to gen_snapshot tool when building and running flutter app in --profile or --release modes. The ability to pass arbitrary options simplifies various experiments, as it removes the need to change defaults and rebuild flutter engine for every tested configuration.
-
- 12 Sep, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 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.
-
- 24 Aug, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 04 Aug, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 31 Jul, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 16 Jun, 2017 1 commit
-
-
Seth Ladd authored
-
- 22 May, 2017 1 commit
-
-
Rafal Wachol authored
-
- 05 May, 2017 1 commit
-
-
Jakob Andersen authored
Eagerly generate local.properties, and always update the flutter.sdk setting in it, in case FLUTTER_ROOT has changed. Fixes #8365. Fixes #9716 - at least the specific issue reported. My Android Studio still complains about Gradle versions - it ships with v3.2, but requires v3.3... Add a 'generate dependencies' task to the Gradle build, which checks if the snapshot dependencies file exists, and runs an extra build before the actual FlutterTask if it doesn't. This makes the first build slower, but sub-sequent builds (without source changes) much faster. Fixes #9717.
-
- 31 Mar, 2017 1 commit
-
-
Collin Jackson authored
This reverts commit 8f9d4a22.
-
- 29 Mar, 2017 2 commits
-
-
Jason Simmons authored
-
Collin Jackson authored
This reverts commit e2b49d64.
-
- 28 Mar, 2017 3 commits
-
-
Collin Jackson authored
Revert "Revert "Revert "Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity (#9036)"" (#9046)" (#9047) Test is still failing with increased timeout. This reverts commit 864b3c37.
-
Collin Jackson authored
Revert "Revert "Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity (#9036)"" (#9046) Increased the time limit slightly to allow the microbenchmark test time to finish.
-
Collin Jackson authored
Revert "Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity (#9036)" (#9041) This reverts commit 6bf0ceb0.
-
- 27 Mar, 2017 1 commit
-
-
Collin Jackson authored
Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity (#9036)
-
- 23 Mar, 2017 2 commits
-
-
xster authored
-
Jakob Andersen authored
Go through all packages brought in by pub, and write the name and path of every one that is a flutter plugin into .flutter-plugins. In android/settings.gradle and ios/Podfile, read in .flutter-plugins, if that file exists. The Android / iOS code from the plugins is automatically added as dependencies of the native code of the app.
-
- 22 Mar, 2017 1 commit
-
-
Michael Thomsen authored
* Revert "use color.shadeXxx instead of color[Xxx] (#8932)" This reverts commit 578ca0a2. * Revert "add missing const keyword (#8931)" This reverts commit fac2fac1. * Revert "Make min/max fling velocity and min fling distance ScrollPhysics properties (#8928)" This reverts commit dac80aac. * Revert "Defer to operating system for whichAll (#8921)" This reverts commit 14933de9. * Revert "Update gradle wrapper and build-tools version for flutter create. (#8914)" This reverts commit deb71cc6.
-
- 21 Mar, 2017 1 commit
-
-
asaarnak authored
* Update gradle wrapper and build-tools version. Tested manually by "flutter create" with Idea "flutter run" and from android studio "run" android app. * Update com.android.tools.build to 2.3.0
-
- 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.
-
- 15 Mar, 2017 1 commit
-
-
Jakob Andersen authored
Changed the default build output directory in the new project template to build/, instead of android/build/ and android/app/build/. Updated tools to ask the Gradle scripts what the build directory is, since this is configurable in the build scripts, and we need to know where the build output actually is. Silenced output from 'flutter build aot' when invoked from Gradle, since the output was confusing in this case. Fixes #8723 Fixes #8656 Fixes #8138
-
- 14 Mar, 2017 1 commit
-
-
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
-
- 23 Feb, 2017 3 commits
-
-
Jakob Andersen authored
-
Jakob Andersen authored
If a target file is specified on the flutter tools command line, pass it through to Gradle. It is still possible to statically specify a target file in the flutter section of build.gradle, but it is now possible to specify it on the command line as well. The command line option takes precedence. Fixes #8175.
-
Jakob Andersen authored
Fixes #6761.
-
- 16 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
* Enable Gradle Workflow on Windows With this the app created by `flutter create` now compiles on Windows. * Move OS check to gradle file
-
- 15 Feb, 2017 1 commit
-
-
Jakob Andersen authored
The "old" APK build did not include Roboto fonts, but the new Gradle-based build did. This is due to `flutter build flx` defaulting to include the fonts, where the old `flutter build apk` defaulted to NOT include them. So let's change the Gradle build to also not include Roboto fonts. Fixes #8149
-
- 10 Feb, 2017 1 commit
-
-
Jakob Andersen authored
* Make new project template gradle-based for Android. With this change, the 'new project' template uses the same gradle-based build for Android as the hello_services example. This has some implications on build performance, since we're now building a complete Android app instead of just combining a pre-compiled .dex with the Flutter assets. The very first build is a little over 2x slower, since it needs to download gradle and build the build scripts before getting to the actual code. Subsequent builds with changes to the code are comparable to the old builds. Null builds are faster. Enabling the gradle daemon speeds up subsequent builds by around 5s. * Move Flutter Gradle plugin to Flutter root.
-
- 31 Jan, 2017 1 commit
-
-
Jakob Andersen authored
* Update gradle example to support x86 in debug mode. Changed the Flutter Gradle plugin a bit to better fit in with the Android build. Fixes #6136 Fixes #6864 Fixes #7539
-
- 23 Jan, 2017 1 commit
-
-
Ryan Macnak authored
-
- 07 Jun, 2016 1 commit
-
-
Adam Barth authored
This lets you build something other than `lib/main.dart`.
-
- 06 Jun, 2016 1 commit
-
-
Adam Barth authored
The `flutter.buildMode` property now controls whether to build in debug, profiling, or release.
-
- 03 Jun, 2016 1 commit
-
-
Adam Barth authored
The hello_services example can now be built both for Android and iOS.
-
- 28 May, 2016 1 commit
-
-
Jason Simmons authored
-
- 12 Apr, 2016 1 commit
-
-
- 23 Mar, 2016 1 commit
-
-
Jason Simmons authored
-
- 19 Mar, 2016 1 commit
-
-
Devon Carew authored
Update the groovy build example.
-