Jason Simmons
9b924765f4
Improve performance of Locale.toString ( #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
e32531f0ee
Switch flutter's dart sdk to full and add dartdevc libraries ( #7968 )
2019-02-26 14:49:09 -08:00
Jason Simmons
f804279964
Update licenses for the switch away from the Wuffs GIF decoder ( #7786 )
2019-02-11 11:41:21 -08:00
Michael Klimushyn
28bafe6903
Don't use Wuffs ( #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
f9252e72f8
allow specifying out directory root ( #7753 )
2019-02-08 15:15:47 -08:00
Dan Field
b8473cdee1
use correct no-download-badge ( #7735 )
2019-02-07 15:15:41 -08:00
liyuqian
3c118b6c3b
Disable wuff on Windows ( #7713 )
...
MSVC won't compile wuff...
2019-02-06 11:52:25 -08:00
Jason Simmons
351f5a35f3
Use the Wuffs GIF decoder ( #7658 )
...
Fixes https://github.com/flutter/flutter/issues/23838
2019-02-05 14:09:18 -08:00
liyuqian
09a3735ea7
Respect default goma path on Windows ( #7643 )
2019-01-30 13:00:34 -08:00
Dan Field
20d8388b5f
Check in GEM_HOME for jazzy ( #7628 )
...
* Check in GEM_HOME for jazzy
2019-01-29 13:01:35 -08:00
Chinmay Garde
1dc01adfa6
Allow generating coverage reports for all unit-tests in the engine. ( #7576 )
2019-01-24 14:03:15 -08:00
Dan Field
75cfebde06
Roll buildroot and update method of getting android SDK and support libs ( #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
8a71c73d4b
Pass operator_new_alignment value through gn script into GN args. ( #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
eaffc462ae
[License] Enable avoid_positional_boolean_parameters lint ( #7275 )
2018-12-20 16:05:43 -08:00
Chris Bracken
b07753badc
[License] Sync analysis_options.yaml from framework ( #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
233c100b69
[License] Enable always_require_non_null_named_parameters
...
Adds dependency on package:meta.
2018-12-20 14:56:23 -08:00
Chris Bracken
f4b348f779
[License] Enable flutter_style_todos lint
2018-12-20 14:56:23 -08:00
Chris Bracken
48be433ce2
[License] Enable prefer_is_empty lint
2018-12-20 14:56:23 -08:00
Chris Bracken
bd648bad6e
[License] Enable prefer_const_constructors lint
2018-12-20 14:56:23 -08:00
Chris Bracken
2b207a51c7
[License] Enable unnecessary_parenthesis lint
2018-12-20 14:56:23 -08:00
Chris Bracken
97ae27164e
[License] Enable prefer_initializing_formals lint
2018-12-20 14:56:23 -08:00
Chris Bracken
c8f83fbea2
[License] Enable prefer_collection_literals lint
2018-12-20 14:56:23 -08:00
Chris Bracken
d120e15af6
[License] Enable prefer_void_to_null lint
2018-12-20 14:56:23 -08:00
Chris Bracken
e2ab3780a3
[License] Enable directives_ordering lint
2018-12-20 14:56:23 -08:00
Chris Bracken
5f2e6cd419
[License] Enable unnecessary_overrides lint
2018-12-20 14:56:23 -08:00
Chris Bracken
bd955d78a7
[License] Enable avoid_function_literals_in_foreach_calls lint
2018-12-20 14:56:23 -08:00
Chris Bracken
392df65f69
[License] Enable prefer_const_declarations lint
2018-12-20 14:56:23 -08:00
Chris Bracken
06e35912da
[License] Enable prefer_final_fields lint
2018-12-20 14:56:23 -08:00
Chris Bracken
32423ef386
[License] Enable prefer_asserts_in_initializer_lists lint
2018-12-20 14:56:23 -08:00
Chris Bracken
4703a7f108
[License] Enable prefer_equal_for_default_values lint
2018-12-20 14:56:23 -08:00
Chris Bracken
1d7285beac
[License] Enable empty_catches lint
2018-12-20 14:56:23 -08:00
Chris Bracken
68fadca0e1
[License] Enable unnecessary_this lint
2018-12-20 14:56:23 -08:00
Chris Bracken
c6f5e67cbe
[License] Enable prefer_single_quotes lint
2018-12-20 14:56:23 -08:00
Chris Bracken
6a9041853c
[License] Assert license filename is non-null, non-empty ( #7270 )
2018-12-20 13:50:21 -08:00
Chris Bracken
72aa378428
[License] Eliminate duplicate case in switch ( #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
74af4429a5
Mark all unreassigned locals final in license tool ( #7267 )
...
Marks locals final where possible, and enables the prefer_final_locals
lint.
2018-12-20 12:27:50 -08:00
Chris Bracken
b81d1b4736
Eliminate use of new keyword in licence tool ( #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
2d2b9d753c
Re-run license tool on all source when it changes ( #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
8b73b9d42c
Fix javadoc for Android-28 ( #7254 )
...
* Fix javadoc for Android-28
* build javadoc as part of pre-submit
2018-12-19 09:24:02 -08:00
Chris Bracken
ada6748d0c
Extract function to collect licenses for component ( #7250 )
...
Extracts _collectLicensesForComponent() from main, which collects the
licenses for the specified component (e.g. flutter, third_party, skia).
This is pre-factoring related to a fix for flutter/flutter#25519 .
2018-12-18 20:08:15 -08:00
Chris Bracken
5c63303c2f
Revert spelling correction in licence matcher ( #7242 )
...
In f986a12e20b874317c690f7efe71a452c7a66a61 (#7179 ), the word
'publically' was altered to 'publicly', causing the licence aggregator
to fail to match the licence text included in many BoringSSL source
files.
The original licence includes several misspellings (e.g. 'rouines'
rather than 'routines') which we need to faithfully reproduce in our
match regex.
The failure this triggered went unnoticed during pre-/post-submit
due to the fact that the contents of the third_party directory didn't
change, so hash of the list of files used as a signature matched the
signature in the golden file, causing the run to be skipped.
2018-12-17 18:57:04 -08:00
Jimmy Casey
f986a12e20
Correct spelling in doc comments ( #7179 )
...
Applies spelling corrections to accessibility-related doc comments and in the
license tool.
2018-12-16 12:51:00 -08:00
liyuqian
793a08bbfd
Add .woff file to binary format ( #7202 )
...
Fixes https://github.com/flutter/flutter/issues/25285
2018-12-12 10:29:02 -08:00
Michael Goderbauer
31e6861d49
Reland "Compile libcxx and libcxxabi for Android ( #6886 )" ( #7160 )
...
This reverts commit a8d55821ccc58c55046e21d96563d85e719234bc.
2018-12-11 19:20:53 -08:00
Chinmay Garde
93f75f283a
Don't provide system vulkan header paths to Skia. ( #7003 )
...
Skia privately brings in its own copy. https://skia-review.googlesource.com/c/skia/+/172147
2018-11-28 15:31:16 -08:00
Michael Goderbauer
dda9f69a7f
Remove unused code from licenses script ( #6910 )
...
Code became obsolete with https://github.com/flutter/engine/pull/3627 .
Also fixes mix-in syntax and marks class as private. With the latter the anaylser tells us in the future if there are unused classes in the file.
2018-11-20 12:34:16 -08:00
Michael Goderbauer
983d70eb3e
Revert "Compile libcxx and libcxxabi for Android ( #6886 )" ( #6912 )
...
This reverts commit 9ccd1e86df956761a244bd3e6df2c1106514e10b.
2018-11-19 22:19:51 -08:00
Michael Goderbauer
9ccd1e86df
Compile libcxx and libcxxabi for Android ( #6886 )
2018-11-19 20:29:31 -08:00
Jason Simmons
a64049a14e
Update Vulkan headers to 1.1 ( #6806 )
2018-11-09 12:01:57 -08:00
Michael Goderbauer
b6f76e07ac
Delete unused license goldens and add check ( #6784 )
2018-11-07 13:23:18 -08:00