251 Commits

Author SHA1 Message Date
Matt Carroll
af6deb0357 Android Embedding PR 17: Clarify AccessibilityBridge and move logic out of FlutterView. (flutter/engine#8061) 2019-03-08 18:09:04 -08:00
Michael Klimushyn
3bf53be79c Guard against NewAPI failures (flutter/engine#8048)
Adds minimum SDK checks around minimum APIs.

flutter/flutter#28848
2019-03-08 13:33:58 -08:00
Dan Field
74b63a8a22 Move android_sdk_downloader so I can more easily deprecate it (flutter/engine#8084) 2019-03-08 12:10:53 -08:00
Dan Field
3239e53130 Add script to help generate PR messages (flutter/engine#8074)
* Add script to help generate PR messages

* newline
2019-03-07 16:56:46 -08:00
Jason Simmons
3c6dd9a78d Only build a full Dart SDK when building for the host system (flutter/engine#8071) 2019-03-07 11:44:00 -08:00
liyuqian
c7103621e6 Skip skp files in license check (flutter/engine#8050)
* Skip skp files in license check

This fixes https://bugs.chromium.org/p/skia/issues/detail?id=8828

* Update signature
2019-03-06 08:39:00 -08:00
Chris Bracken
bb954fc123 Add clang static analysis support to gn wrapper (flutter/engine#8047)
Adds --clang-static-analysis option to GN to enable/disable compiling
with clang static analysis enabled.
2019-03-05 17:35:43 -08:00
Dan Field
019972ad79 add lint script for Android with baseline (flutter/engine#8036)
* add lint script for Android with baseline
2019-03-05 09:36:16 -08:00
Ian Hickson
d4570ea2f4 Select MPL instead of LGPL (flutter/engine#7991) 2019-03-04 18:43:47 -08:00
Dan Field
9383838e9f Start of linting Android embedding (flutter/engine#8023)
* Add a tool for running Android SDK lint on Android embedding
2019-03-04 13:55:53 -08:00
Dan Field
af23ee88b9 Build engine for iOS on presubmit (flutter/engine#8011)
* build the ios engine on Cirrus
2019-03-02 10:01:15 -08:00
Jason Simmons
4836cde8d3 Improve performance of Locale.toString (flutter/engine#7990)
Use a map instead of a switch to replace deprecated language and country codes.
Also cache the result for the most recently used locale.
2019-02-27 14:41:58 -08:00
Jonah Williams
5a03c42aae Switch flutter's dart sdk to full and add dartdevc libraries (flutter/engine#7968) 2019-02-26 14:49:09 -08:00
Jason Simmons
f6e50eebfd Update licenses for the switch away from the Wuffs GIF decoder (flutter/engine#7786) 2019-02-11 11:41:21 -08:00
Michael Klimushyn
f81154f9f3 Don't use Wuffs (flutter/engine#7785)
This code path isn't stable yet.

Fixes flutter/flutter#27718
Reopens flutter/flutter#23838
2019-02-11 11:09:45 -08:00
Dan Field
6c9922b776 allow specifying out directory root (flutter/engine#7753) 2019-02-08 15:15:47 -08:00
Dan Field
021996ff8d use correct no-download-badge (flutter/engine#7735) 2019-02-07 15:15:41 -08:00
liyuqian
0aa9535b36 Disable wuff on Windows (flutter/engine#7713)
MSVC won't compile wuff...
2019-02-06 11:52:25 -08:00
Jason Simmons
a9c3e82bc8 Use the Wuffs GIF decoder (flutter/engine#7658)
Fixes https://github.com/flutter/flutter/issues/23838
2019-02-05 14:09:18 -08:00
liyuqian
074cda1d2e Respect default goma path on Windows (flutter/engine#7643) 2019-01-30 13:00:34 -08:00
Dan Field
8a5344f0ce Check in GEM_HOME for jazzy (flutter/engine#7628)
* Check in GEM_HOME for jazzy
2019-01-29 13:01:35 -08:00
Chinmay Garde
3407c73dbd Allow generating coverage reports for all unit-tests in the engine. (flutter/engine#7576) 2019-01-24 14:03:15 -08:00
Dan Field
1b3d586cfe Roll buildroot and update method of getting android SDK and support libs (flutter/engine#7284)
* Get support, use new SDK tooling from buildroot
* Roll NDK to 19
* Skip Android bits on Windows with note
2019-01-18 15:20:56 -08:00
Vyacheslav Egorov
692952dfd0 Pass operator_new_alignment value through gn script into GN args. (flutter/engine#7031)
Background:

Some allocators (tcmalloc) don't provide alignment guarantees that
match clang's default expectations, which causes crashes when using
clang compiled binary with such allocators.

For example clang can produce movaps instructions to initialize newly
allocated object - which would crash if result of ::operator new() is
not 16 bytes aligned.
2019-01-15 16:09:46 +01:00
Chris Bracken
e82a699995 [License] Enable avoid_positional_boolean_parameters lint (flutter/engine#7275) 2018-12-20 16:05:43 -08:00
Chris Bracken
d4ea07a082 [License] Sync analysis_options.yaml from framework (flutter/engine#7273)
Updates to the framework analysis_options.yaml, but enables a few more lints that
  (a) seem sensible and
  (b) don't require any code changes.
2018-12-20 15:36:35 -08:00
Chris Bracken
ed84026a81 [License] Enable always_require_non_null_named_parameters
Adds dependency on package:meta.
2018-12-20 14:56:23 -08:00
Chris Bracken
31e171846d [License] Enable flutter_style_todos lint 2018-12-20 14:56:23 -08:00
Chris Bracken
3c70c53b6e [License] Enable prefer_is_empty lint 2018-12-20 14:56:23 -08:00
Chris Bracken
3d8a5ecb8d [License] Enable prefer_const_constructors lint 2018-12-20 14:56:23 -08:00
Chris Bracken
153e071ef9 [License] Enable unnecessary_parenthesis lint 2018-12-20 14:56:23 -08:00
Chris Bracken
bdfdae4abb [License] Enable prefer_initializing_formals lint 2018-12-20 14:56:23 -08:00
Chris Bracken
ddbe4bf456 [License] Enable prefer_collection_literals lint 2018-12-20 14:56:23 -08:00
Chris Bracken
dcdbeeba3e [License] Enable prefer_void_to_null lint 2018-12-20 14:56:23 -08:00
Chris Bracken
41ac8b88ec [License] Enable directives_ordering lint 2018-12-20 14:56:23 -08:00
Chris Bracken
8f2171b00f [License] Enable unnecessary_overrides lint 2018-12-20 14:56:23 -08:00
Chris Bracken
dabdcc19a7 [License] Enable avoid_function_literals_in_foreach_calls lint 2018-12-20 14:56:23 -08:00
Chris Bracken
b5e7301452 [License] Enable prefer_const_declarations lint 2018-12-20 14:56:23 -08:00
Chris Bracken
9fcc2f0a94 [License] Enable prefer_final_fields lint 2018-12-20 14:56:23 -08:00
Chris Bracken
daa400f0ef [License] Enable prefer_asserts_in_initializer_lists lint 2018-12-20 14:56:23 -08:00
Chris Bracken
7f63386418 [License] Enable prefer_equal_for_default_values lint 2018-12-20 14:56:23 -08:00
Chris Bracken
4e9eed6141 [License] Enable empty_catches lint 2018-12-20 14:56:23 -08:00
Chris Bracken
f1d81a6960 [License] Enable unnecessary_this lint 2018-12-20 14:56:23 -08:00
Chris Bracken
5fd7a23242 [License] Enable prefer_single_quotes lint 2018-12-20 14:56:23 -08:00
Chris Bracken
33a144cbc5 [License] Assert license filename is non-null, non-empty (flutter/engine#7270) 2018-12-20 13:50:21 -08:00
Chris Bracken
16949aab71 [License] Eliminate duplicate case in switch (flutter/engine#7269)
This changes behaviour, but we should treat diffs as binary for the
reasons outlined in the comment on the remaining diff case.
2018-12-20 13:22:30 -08:00
Chris Bracken
a3bb2045a4 Mark all unreassigned locals final in license tool (flutter/engine#7267)
Marks locals final where possible, and enables the prefer_final_locals
lint.
2018-12-20 12:27:50 -08:00
Chris Bracken
30f4d14d6b Eliminate use of new keyword in licence tool (flutter/engine#7266)
This eliminates the use of the now-optional new keyword and enforces the
unnecessary_new lint.
2018-12-20 11:29:28 -08:00
Chris Bracken
7c7a5cc412 Re-run license tool on all source when it changes (flutter/engine#7260)
The license tool includes an optimization whereby it skips re-running on
components (flutter, third_party, skia, currently) when it detects that
no changes have occurred to the sources in that component.

When the license script itself changes, we now force re-run it on all
components in order to verify the tool still works and output is as
expected.
2018-12-19 23:15:44 -08:00
Dan Field
e12c087f9e Fix javadoc for Android-28 (flutter/engine#7254)
* Fix javadoc for Android-28

* build javadoc as part of pre-submit
2018-12-19 09:24:02 -08:00