Commit Graph

304 Commits

Author SHA1 Message Date
Ming Lyu (CareF)
b5d0b9122f Cleanup devicelab framework duplicate (#59046)
* combine forwardStandardStreams

* combine exec and eval
2020-06-10 19:30:12 -04:00
Greg Spencer
ab68721a5d Add Android device build/OS/API Level information to logs. (#58747)
This adds some information about the chosen device to the output log so that we can tell what type of device/OS Level/API Level the test is running on when doing a postmortem on a failed test.
2020-06-05 14:02:07 -07:00
Jonah Williams
d9144bf8fc [flutter_tools] rename output LICENSE file to NOTICES and support loading either (#57871)
Work towards #16723

This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
2020-05-29 11:55:02 -07:00
Jenn Magder
d9adfe3f7e Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) 2020-05-27 10:08:09 -07:00
liyuqian
721927efd3 Use pub inside the Flutter directory (#57704) 2020-05-21 17:52:02 -07:00
Jonah Williams
631087d83b [flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
Nate Bosch
59a8ef3a21 Remove direct uses of LocalPlatform (#56605)
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Jim Graham
3519bec6c4 Save results of A/B test runs in a JSON file for future processing (#56416) 2020-05-08 00:34:02 -07:00
Jenn Magder
0a4f6cdef0 Add split-debug and obfuscation to build aar (#56342) 2020-05-07 18:14:02 -07:00
Jonah Williams
c6a83af54a [devicelab] add verification print (#56398) 2020-05-05 13:33:16 -07:00
Jonah Williams
f04d61944a [devicelab] enable macOS, windows, linux, and web on devicelab bots (#56336)
* enable macOS desktop

* enable all configs on CI

* Update track_widget_creation_enabled_task.dart

* Update framework.dart

* remove FLUTTER_WEB

* remove config environment variables

* configure in correct spot
2020-05-04 18:49:28 -07:00
liyuqian
a091206ed1 Add performance tests for the new gallery (#55181) 2020-04-22 20:03:01 -07:00
Tianguang
fbf4fa0a05 Devicelab tests (Chrome run, Web compile) for New Flutter Gallery (#53096) 2020-04-21 11:48:03 -07:00
liyuqian
f57197ad23 Remove the unused getFlutter function (#55225) 2020-04-20 12:30:02 -07:00
Yegor
20803507fd print intermediate and raw A/B results when not silent (#54676)
* print intermediate A/B results when not silent
* print raw A/B results when in loud mode
* add tests; handle missing metrics more gracefully
* use less fancy section header on Windows
2020-04-16 14:36:42 -07:00
Jonah Williams
e21266294f Revert "Do not wait for connections after process has exited (#54497)" (#54618)
This reverts commit 283ec9e2a1.
2020-04-13 11:04:31 -07:00
Yegor
283ec9e2a1 Do not wait for connections after process has exited (#54497) 2020-04-10 16:54:10 -07:00
Yegor
d119e5f1e4 Add A/B test mode to local devicelab runner (#54494)
* Add A/B test mode to local devicelab runner
2020-04-10 16:53:52 -07:00
Yegor
4e3cf198e8 disable tracing for non-frame based benchmarks (#54236) 2020-04-08 09:17: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
Yegor
de27d7131c disable the "gpu" tracing category (#54122) 2020-04-06 13:44:02 -07:00
Yegor
4b92c16755 Use "measured_frame" instead of "CrRendererMain" to detect process ID (#53969) 2020-04-03 16:51:44 -07:00
Yegor
29c88081b9 Collect chrome://tracing data in Web benchmarks (#53879)
Collect chrome://tracing data in Web benchmarks
2020-04-03 15:10:39 -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
Kate Lovett
560c72287b TODO Audits - 1 (#53604) 2020-03-31 11:21:01 -07:00
xster
1376746237 Reland #53153 to attach to existing modules and apps for Android (#53289) 2020-03-25 16:45:49 -07:00
Erik Ernst
d99ab6aa2c Update utils.dart to work with the breaking change of SDK issue 40678 (#53093) 2020-03-24 14:21:01 -07:00
Christopher Fujino
704fb4cbc7 Remove usage of ideviceinstaller in favor of ios-deploy (#50772) 2020-02-25 09:09:40 -08:00
Yegor
b34046903b Fix stack trace parsing on non-debug builds; add e2e tests (#50652)
* Fix stack trace parsing on non-debug builds; add e2e tests
2020-02-13 18:34:08 -08:00
Alexandre Ardhuin
f15c887c63 change quote to avoid escapes (#50368) 2020-02-11 20:58:27 +01:00
Jenn Magder
082ae838bd Fall back to global cache and platform if null when injected into constructor (#50370) 2020-02-07 15:28:45 -08:00
Alexandre Ardhuin
b953c3e5a8 use raw strings to avoid escaping (#50322) 2020-02-07 16:35:55 +01:00
Alexandre Ardhuin
5c28e3eeea unnecessary escapes fixes (#50178)
* unnecessary escapes fixes

* replace some strings with raw strings

* update regexp

* address review comments
2020-02-07 06:35:50 +01:00
Alexandre Ardhuin
94c7e823be remove unnecessary string escapes (#50096) 2020-02-05 08:00:32 +01:00
Yegor
423459da18 Initial web benchmark harness and 3 benchmarks (#49460)
Initial web benchmark harness and 3 benchmarks
2020-01-30 14:19:17 -08:00
Jenn Magder
2a7d57791d Generate bitcode for plugin frameworks for flutter build ios-framework (#49102) 2020-01-21 16:38:03 -08:00
Andrew Davies
52e0d980cb [tools] Rename dev_finder to device-finder. (#48610)
dev_finder name is deprecated. device-finder is preferred.
Functionality remains identical, this is an aesthetic change.

This change was generated via:
$ find . -not -path '*/\.*' -type f -exec sed -i 's/(^import.*)!dev_finder/device-finder/g' {} \;
2020-01-14 09:41:16 -08:00
Emmanuel Garcia
fca5917519 Test hot reload targeting a Fuchsia device (#48472) 2020-01-10 14:38:01 -08:00
Alexandre Ardhuin
82262d8896 format operator== according to flutter style guide (#48449) 2020-01-09 08:23:02 -08:00
Alexandre Ardhuin
4f9b6cf017 enable lint prefer_final_in_for_each (#47724) 2020-01-07 16:32:04 +01:00
Sean Freiburg
418b814555 Add buildNumber param to "flutter build aar" command (#46291) 2019-12-12 10:28:01 -08:00
Alexandre Ardhuin
ec1a015045 implicit-casts:false in dev (#45787) 2019-12-05 22:34:06 +01:00
Jenn Magder
fb69a393b8 Add bitcode and architectures to App.framework build ios framework command (#46130) 2019-12-05 12:16:54 -08:00
Ian Hickson
449f4a6673 License update (#45373)
* 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
2019-11-27 15:04:02 -08:00
Greg Spencer
a60bf8e23a Spell check of Flutter docs (#45200)
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
liyuqian
c61ef90f94 Upgrade gauge for debugging (#45212)
For https://github.com/flutter/flutter/issues/45194
and see also https://github.com/flutter/packages/pull/47.
2019-11-21 13:03:02 -08:00
Jonah Williams
0e36a91d18 Add macOS hot reload test (#45264) 2019-11-20 12:35:53 -08:00
Jonah Williams
df3505c1f3 Improve performance of build APK (~50%) by running gen_snapshot concurrently (#44534) 2019-11-19 11:26:07 -08:00
Jenn Magder
6e5769d425 Remove FLUTTER_DEVICELAB_XCODE_PROVISIONING_CONFIG code paths (#45136) 2019-11-19 11:19:44 -08:00
Ian Hickson
1ce4a4f36f Make sure all our .dart files have license headers (#44467) 2019-11-08 16:53:21 -08:00