Commit graph

218 commits

Author SHA1 Message Date
Viral Kachhadiya 24b1a02224
replace localEngineOut with local-engine-out (#85968)
* replace localEngineOut with local-engine-out
* local-engine-out section removed entirely

Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2021-08-26 14:02:46 -07:00
Emmanuel Garcia e7a9adeeab
Remove AndroidX workarounds (#86911) 2021-07-23 17:41:04 -07:00
Emmanuel Garcia fa5883b78e
Add Gradle lockfiles and tool to generate them (#83067) 2021-05-21 13:04:03 -07:00
Jonah Williams 50ace38c32
[flutter_tools] make bundle-sksl-path a define (#81576) 2021-04-30 17:39:07 -07:00
Jonah Williams d9638d25d7
migrate from jcenter to mavencentral (#80908) 2021-04-21 21:41:07 -07:00
Chris Bracken 3e7e06512c
Correct misspellings throughout the codebase (#79500) 2021-04-01 10:04:03 -07:00
Jonah Williams c89d57f652
[flutter_tools] make flutter.gradle compatible with 7 rc1 (#79167) 2021-03-31 10:44:04 -07:00
Shi-Hao Hong 7a88eb97ea
Typo fixes (#78755) 2021-03-23 09:23:43 +08:00
Gary Qian ee41782732
[flutter_tools] Deferred components build system (#76192) 2021-03-04 18:09:02 -08:00
Jenn Magder e94f36a7c5
Skip assemble version check in tool backend scripts (#76414) 2021-02-22 10:54:19 -08:00
Emmanuel Garcia da90156f8c
Fix plugin java class desugar (#73758) 2021-01-13 14:09:04 -08:00
Emmanuel Garcia f172c827cb
Ensure apps can build while using AGP 3.3.0 (#71964) 2020-12-09 12:58:05 -08:00
Emmanuel Garcia d35dd9f8a6
Allow flavors and build types when using plugins (#71738) 2020-12-07 09:23:04 -08:00
Emmanuel Garcia 8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 (#71446) 2020-12-01 19:01:09 -08:00
Amir Hardon 7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808)" (#71096)
This reverts commit 8e73bab94c.
2020-11-23 12:27:36 -08:00
Emmanuel Garcia 61dfbfe105
Wait for Android plugin to load before configuring plugin dependency (#70970) 2020-11-20 18:03:39 -08:00
Emmanuel Garcia 8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808) 2020-11-20 13:05:35 -08:00
Jonah Williams 9a3a0dc18f
[flutter_tools] hot reload/restart update for asset manager change (#66742)
Do not upload all assets on initial devFS sync. This should increase the reliability of the initial connection, even in the face of flaky devfs behavior, in addition to a moderate perf improvement.

Updates fast-start to build assets as part of the initial bundle

Requires flutter/engine#21436
Requires flutter/engine#21586
Requires flutter/engine#21611
2020-10-09 12:25:15 -07:00
Jonah Williams 059de1537e
[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)
2020-08-25 10:00:24 -07:00
Jonah Williams 6c6c7ba8ec
[flutter_tools] ensure x64 is built if target-platforms is not specified (#62096)
In the add-2-app case, users may not specify the android target platforms field, but this only defaults to arm builds. Add x64 to the default list.

Fixes #62095
2020-07-24 15:33:13 -07:00
Jonah Williams e72d26a720
Revert "flutter.gradle: collect list of Android plugins from .flutter-plugins-dependencies (#59294)" (#59810)
This reverts commit 947b48e062.
2020-06-18 15:19:12 -07:00
Igor Akkerman 947b48e062
flutter.gradle: collect list of Android plugins from .flutter-plugins-dependencies (#59294) 2020-06-18 14:08:01 -07:00
Ian Hickson 6202476691
Remove license statements in template files. (#57268) 2020-06-15 09:30:05 -07:00
Jonah Williams 395d27aa9b
Revert "Collect list of Android plugins from .flutter-plugins-dependencies (#57907)" (#58732)
This reverts commit 253eb1cfbd.
2020-06-04 16:16:18 -07:00
Igor Akkerman 253eb1cfbd
Collect list of Android plugins from .flutter-plugins-dependencies (#57907) 2020-06-04 14:06:03 -07:00
Jonah Williams b1d75fc99d
[flutter_tools] add flag for sound-null-safety, unify with experiments (#58533)
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
Emmanuel Garcia 4465ff9e3d
Prevent building non-android plugins in build aar (#58018) 2020-05-27 10:11:36 -07:00
shihchanghsiungsonos bb49a9b056
[Add2App Android] Fix the issue of Hotreload broken on latest Dev release with Android device (#57145) 2020-05-14 12:17:02 -07:00
Luke Cheng 793e6a48a1
typo fix on the FLUTTER_STORAGE_BASE_URL usage (#56685) 2020-05-09 21:14:01 -07:00
xster f6b47a5f35
let the embedding maven engine dependency reference the storage proxy (#56164) 2020-05-07 11:36:02 -07:00
Jonah Williams 6dc1e83f12
[flutter_tools] ensure track-widget-creation can be disabled on Android/macOS (#56203)
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
Jonah Williams 2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file (#56094)
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams 368da5bb59
[flutter_tools] support bundling SkSL shaders in flutter build apk/appbundle (#56059)
Support bundling SkSL shaders into an android APK or appbundle via the --bundle-sksl-path command line options. If provided, these are validated for platform engine revision and then placed in flutter_assets/io.flutter.shaders.json
2020-04-30 13:39:08 -07:00
Jonah Williams e092dcfa22
[flutter_tools] Reland: fix multiple dart defines (#54973) 2020-04-16 10:56:49 -07:00
Jonah Williams 11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web (#54909)" (#54967)
This reverts commit b8bd09db21.
2020-04-16 08:33:16 -07:00
Jonah Williams b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web (#54909) 2020-04-15 22:25:32 -07:00
Emmanuel Garcia 54dba4cd59
Don't import plugins that don't support android in settings.gradle (#54407) 2020-04-12 08:55:03 -07:00
Jonah Williams 981afe39ae
[flutter_tools] ensure build fails if asset files are missing (#54233)
Ensure build fails if asset files are missing and that stderr messages are forwarded through Gradle
2020-04-07 19:42:57 -07:00
Anisov Aleksey be6234d56e
Read custom app project name from gradle.properties (#52791) 2020-04-05 20:46:44 -07:00
Emmanuel Garcia e61ab4a832
Copy APK into a known location, so it can be easily discovered (#53718) 2020-04-01 10:03:56 -07:00
Jonah Williams c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds (#52044) 2020-03-06 14:53:36 -08:00
Jenn Magder b8472f25ab
Update Maven URL to https (#52042) 2020-03-05 16:00:34 -08:00
Jonah Williams ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714)" (#52041)
This reverts commit ee60eeea3e.
2020-03-05 12:51:42 -08:00
Jonah Williams ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714) 2020-03-05 12:38:40 -08:00
Jonah Williams 08d079f6c2
[flutter_tools] wire up complete support for Dart obfuscation (#50509) 2020-02-27 08:58:33 -08:00
shihchanghsiungsonos 3f9d08a002
Fix the issue of Can't find \android\app${assetsDirectory} #50913 (#51158) 2020-02-22 17:06:01 -07:00
Jonah Williams 3cee8e0eb0
[flutter_tools] include depfile outputs in gradle outputs (#50877) 2020-02-20 13:24:36 -08:00
shihchanghsiungsonos ec9813a500
Fix the issue of Android add2app build fails on Android when assets are read-only (#50047) 2020-02-16 19:15:52 -08:00
Jonah Williams da4b5d68c4
[flutter_tools] support --split-debug-info option in android builds (#49650) 2020-02-05 17:45:24 -08:00
Dan Field 4b8efad99b
Font subset in the tool (#49737) 2020-02-04 20:34:24 -08:00