262 Commits

Author SHA1 Message Date
Chinmay Garde
12f29d32a1 Allow specifying an alternate Mac host SDK. (flutter/engine#8249) 2019-03-21 15:46:29 -07:00
Matt Carroll
23bfa08262 Moved io.flutter.embedding.engine.android package to io.flutter.embedding.android (flutter/engine#8221) 2019-03-20 11:30:49 -07:00
Jason Simmons
47a46cd02c Define the dart_platform_sdk GN variable only on host targets (flutter/engine#8206)
dart_platform_sdk is not available in Android builds
2019-03-19 09:43:17 -07:00
Jonah Williams
88936d94b0 Support dartdevc, dart2js with shared source files, dartdevc sdk (flutter/engine#8105) 2019-03-18 11:58:35 -07:00
Chris Bracken
e949724670 Add --no-full-dart-sdk option to GN (flutter/engine#8196)
Allows enabling/disabling building trained snapshots for dart2js and
dartdevc.
2019-03-17 15:52:41 -07:00
Jonah Williams
8c6111ffc5 Add flag to allow only building full sdk on release to speed up bots (flutter/engine#8080) 2019-03-15 13:13:44 -07:00
Chinmay Garde
0809280550 Reland ""Add support for trace counters with variable arguments and instrument the raster cache." (flutter/engine#8145)
This reverts commit da6e460c67c34d34eef1e9ec87b8534a379fe1f5 and fixes the
discovered on Windows builds.
2019-03-13 13:53:22 -07:00
Chinmay Garde
31595a3e1c Add “full-dart-debug” that disabled optimizations in the Dart VM. (flutter/engine#8147) 2019-03-13 12:54:57 -07:00
Dan Field
d71a0e17cf Drop android_sdk_downloader in favor of cipd (flutter/engine#8087)
* remove sdk downloader, use cipd

* roll buildroot to drop android_sdk_downloader
2019-03-09 12:39:16 -08:00
Dan Field
7e47a695bf Use right stream for Java, on mac try to autoselect Java 1.8 (flutter/engine#8099)
* Use right stream for Java, on mac try to autoselect Java 1.8
2019-03-08 23:38:59 -08:00
Michael Klimushyn
601f418b04 Android linter prints to the console by default (flutter/engine#8090)
The HTML report can still be generated by passing in an `--html` flag
to the tool.

This will make errors easier to debug in CI.
2019-03-08 22:23:10 -08:00
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