363 Commits

Author SHA1 Message Date
Jonah Williams
c341326d6a Add support for JIT release mode (flutter/engine#12446) 2019-09-27 11:20:54 -07:00
liyuqian
92dda0b588 Add .mskp file to binary format (flutter/engine#12454)
Fixes https://bugs.chromium.org/p/skia/issues/detail?id=9467
2019-09-26 11:09:47 -07:00
Chinmay Garde
9145088731 Roll buildroot and remove toolchain prefix. (flutter/engine#12324) 2019-09-23 11:29:13 -07:00
Kaushik Iska
2c1b30a4f2 [flutter_runner] Do not use prebuilts just yet (flutter/engine#12340) 2019-09-18 15:31:57 -07:00
Dan Field
350969c90c optionally skip builds (flutter/engine#12281) 2019-09-13 16:17:49 -07:00
Kaushik Iska
f4ecd9c175 Namespace patched SDK names to not conflict with Topaz (flutter/engine#12218) 2019-09-11 08:19:58 -07:00
Chinmay Garde
b927fcceb9 Only build the x64 variant of Fuchsia on the try-jobs. (flutter/engine#12206)
Halves the presubmit times.
2019-09-10 17:16:29 -07:00
Yegor
0a3bdb877f Add custom test plugin that supports screenshot tests (flutter/engine#12079)
- Add a custom `PlatformPlugin` that spins up a server waiting for test to request a screenshot.
  - When a screenshot is requested the plugin talks to Chrome via the debug port, captures a screenshot, and compares it with a golden file
- This PR also adds proper CLI for `dev/test.dart` with an `ArgParser` for future extension into a proper developer tool for the team.
  - As a first couple of features, it adds `--debug` option to launch Chrome in debug mode, a `--target` option to choose a single test to run rather than all tests, and `--shard` option to choose a subset of tests to run.

Limitations:
 - While screenshot test will run on Cirrus, they are configured to not fail on Cirrus. Need to solve Chrome version skew.
 - Stack maps do not work yet (you get stacks, but they are nonsensical)
 - When requesting a single test, build_runner builds all tests anyway
 - Nothing but desktop Chrome is supported
 - Nothing but Linux is supported
 - There's no Chrome version pinning; currently assumed stable Chrome channel
2019-09-10 13:53:47 -07:00
Dan Field
cae01907a7 option for --no-lto for fuchsia (flutter/engine#12010) 2019-09-07 00:21:04 -07:00
Emmanuel Garcia
61d1fabcae Document dependencies and remove support-v13 (flutter/engine#11912) 2019-09-06 15:25:59 -07:00
Kaushik Iska
ed39cbade1 [flutter_runner] Kernel platform files can now be built in topaz (flutter/engine#12016)
- Tested this compatibility in topaz repo. The build rules can now be
used to build kernel_platform_files in topaz tree, after this change we
can migrate the platform*dill and vm*snapshot files in topaz to use the
engine built artifacts.

- Also removes some namespace conflicts for dart configuration.
2019-09-06 14:34:26 -07:00
Dan Field
4f155f04a9 LTO fuchsia binaries (flutter/engine#11883) 2019-09-05 14:30:28 -07:00
Kaushik Iska
92367955cd Support building standalone far packages with autogenerating manigests (flutter/engine#11849)
Also makes package_dir support testonly mode
2019-09-04 07:23:58 -07:00
Dan Field
3a5a21655d Bitcode only for release (flutter/engine#11520) 2019-08-27 11:25:59 -07:00
xster
6ef2c2bc87 make it possible to disable debug symbols stripping (flutter/engine#11265) 2019-08-26 16:53:00 -07:00
Dan Field
abca7e3fa9 Roll buildroot and update gn script for bitcode_marker (flutter/engine#11449) 2019-08-26 12:58:14 -07:00
Yegor
3c08ceeae6 sync web engine; run web engine tests (flutter/engine#11031)
sync web engine; run web engine tests
2019-08-22 16:38:03 -07:00
Emmanuel Garcia
c5cac036ad Remove empty line in the pom file (flutter/engine#11382) 2019-08-22 13:39:14 -07:00
Siva
d655b7e3af 1. Update license files to account for the new Dart License file (flutter/engine#11364)
2. Roll src/third_party/dart 027071318f..1279641cdd (65 commits)

dart-lang/sdk@1279641cdd Migration: integrate for-each loops with flow analysis.
dart-lang/sdk@51cd16ecf0 Flow analysis: support for and for-in elements in collections.
dart-lang/sdk@47d2794a71 Implement methods that were missing from ExtensionElementForLink
dart-lang/sdk@a17959b5a0 Log the context in which analysis work is done.
dart-lang/sdk@9198813a55 Revert "Scaffolding for dart:wasm"
dart-lang/sdk@4bf5a72ca0 Flow analysis: support functions whose bodies are expressions.
dart-lang/sdk@b569bf048e Migration: node builder support for new-style typedefs.
dart-lang/sdk@f39a3f188e Scaffolding for dart:wasm
dart-lang/sdk@3729b961bb Use SearchedFiles when searching subtypes for 'analysis.implemented'.
dart-lang/sdk@5d816cbc5d [vm/concurrency] Add FLAG_enable_isolate_groups, still defaulting to true
dart-lang/sdk@480e481708 Throw HttpException instead of String in http impl
dart-lang/sdk@9aa48c2e91 Build local elements in initializers of typed constants.
dart-lang/sdk@af2e729fca Record request / response statistics.
dart-lang/sdk@7bc9515ac2 Fix CompilationUnitMember doc comment. Fixes #27170
dart-lang/sdk@ef39492fd6 Fix support for annotations on extensions
dart-lang/sdk@64efe44e5e Formal parameters of FunctionTypeAlias should be created in @function reference.
dart-lang/sdk@0323fb97bc Migration: support Function() syntax with type formal parameters.
dart-lang/sdk@19533094eb Stop deleting the terminating period on diagnostic messages
dart-lang/sdk@d252efaa49 Migration: node builder support for old-style typedefs
dart-lang/sdk@468800f9d7 Refine the type of FunctionTypeAlias.declaredElement.
dart-lang/sdk@c44c2f1b68 Update LSP readme with instructions for shipped SDKs instead of source
dart-lang/sdk@f2e04caeaf [CFE] Fix CQ race condition with lint status
dart-lang/sdk@bc16959fc7 Reland "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable."
dart-lang/sdk@48edb2362a [CFE] Update lint for explicit types to also look at fields and top level fields
dart-lang/sdk@5905fe41a9 [CFE] Explicit return types and overrides in constant evaluator
dart-lang/sdk@698c5b1a36 [CFE] Add 'double import' lint
dart-lang/sdk@b625152523 [infra] Remove non-essential test expectations from kernel status files
dart-lang/sdk@c37b5b2edf [vm/ffi] Status: skip test including callbacks on DBC
dart-lang/sdk@095d1c2835 [infra] Clean up general status files
dart-lang/sdk@7f9f4ad774 [cfe] Delete legacy tests
dart-lang/sdk@91c8cf7167 [cfe] Support per folder experimental flags in testcases
dart-lang/sdk@670d40d808 [vm/ffi] regression test for 37511
dart-lang/sdk@c651102793 Remove third_party licenses from LICENSE
dart-lang/sdk@5e5313c8d6 [vm/bytecode] Keep unreachable code for code coverage
dart-lang/sdk@922c2bfbb0 [vm/bytecode] Include source info and asserts into platform with bytecode
dart-lang/sdk@457c4349d0 [ package:vm_service ] Prep for 1.1.1 release
dart-lang/sdk@861cae4853 [vm/fuzzer] Disable stacktrace option on FFI runs
dart-lang/sdk@f50a566476 Enclose local variables in default values of optional formal parameters.
dart-lang/sdk@239a6d1449 [vm, bytecode] Annotate super calls and clear lookup caches on reload.
dart-lang/sdk@ee38a308da thread feature set into linter debug util
dart-lang/sdk@afc259ea6b [dart2js] Add 'any' to DartType.
dart-lang/sdk@1d9b6427ef Prepare to publish analyzer version 0.38.1.
dart-lang/sdk@a5007cde35 Clean up an obsolete TODO comment
dart-lang/sdk@293eee940b [dart2js] Revert to old Closure.toString() implementation for old RTI.
dart-lang/sdk@f842b03de5 linter visit hooks for extensions
dart-lang/sdk@3fe9ba152f Migration: implement Variables._decorateDirectSupertypes.
dart-lang/sdk@d67eaefe77 Add more tests of the visibility of extension members
dart-lang/sdk@72923471c4 strict-inference failures for untyped parameters:
dart-lang/sdk@bfc7f8c4b5 Fix crash parsing invalid constructor initializer
dart-lang/sdk@3e69627752 Fix type argument parsing crash
dart-lang/sdk@e2777454cc Fix dartfmt bug
dart-lang/sdk@d95bb2d74f [ package:vm_service ] Analyze package:vm_service on bots
dart-lang/sdk@38ca72a3e7 [dart2js] TrivialRuntimeTypesNeed should not say non-generic classes need type arguments.
dart-lang/sdk@04bd34ed87 Issue 37916. The name of ConstructorName cannot be shadowed.
dart-lang/sdk@3865187956 [nnbd_migration] already-migrated types with 1:1 type args & params.
dart-lang/sdk@e2fee9c0dd [pkg:vm_service] fix an issue serializing list args
dart-lang/sdk@37183f8865 [observatory] Remove stale asserts from heap snapshot processing.
dart-lang/sdk@396613d884 [pkg:vm_service] be more lenient towards nulls json fields in the java library
dart-lang/sdk@0fee296130 [vm] Add wasmer to third_party, and support building rust libraries
dart-lang/sdk@663a8630e6 Revert "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable."
dart-lang/sdk@e8c82c6784 [vm/ffi] Suppress irrelevant lint failures in FFI sources.
dart-lang/sdk@bab592fd28 [vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable.
dart-lang/sdk@e34c4319dc Migration: property decorate implicit bottom types.
dart-lang/sdk@c6e2497569 Migration: capture more exception information and make it easier to examine stack traces.
dart-lang/sdk@fc16f8aa58 Apply flutter-engine patch to dump dart_package_config_tag version
dart-lang/sdk@1e79aa6b7e Update LSP readme to link to dart-vim instructions
2019-08-21 21:02:35 -07:00
Emmanuel Garcia
6222a57fde Remove engine hash from pom filename (flutter/engine#11356) 2019-08-21 15:08:10 -07:00
stuartmorgan
2c1bf6a61f De-dup FILE output for each license (flutter/engine#10945)
Only list each file once per license block.
2019-08-21 10:12:41 -07:00
Chinmay Garde
03d9c4f025 Remove ability to override mac_sdk_path in flutter/tools/gn (flutter/engine#11013)
This was only required to use an older i386 enabled Mac SDK with a newer version of Xcode for gen_snapshot. This limitation has been patched already.
2019-08-15 16:33:12 -07:00
Kaushik Iska
e5ca714a60 [fuchsia] Add required trace so files for fuchsia fars (flutter/engine#11036) 2019-08-15 14:44:01 -07:00
James Clarke
7dccb1596a [Windows] Alternative Windows shell platform implementation (flutter/engine#9835)
Start work on flutter/flutter#30726 by adding an alternative win32 shell platform implementation for Windows that is not based on GLFW and that uses LIBANGLE for rendering and native win32 windowing and input. This change does not replace the GLFW implementation but rather runs side by side with it producing a secondary flutter_windows_win32.dll artifact. The following items must be added to attain parity with the GLFW implementation:
- Custom task scheduling
- Support for keyboard modifier keys
- Async texture uploads
- Correct high DPI handling on Windows versions < 1703
and will be added in subsequent changes.
2019-08-14 15:52:52 -07:00
stuartmorgan
c69ae036b6 Update license script to handle ANGLE (flutter/engine#10782)
- Allow for BSD formatting where the conditions are not bulleted or
  indented in any way.
- Add support for Bison, which uses a modifed GPL license with an
  exception that allows distributing under "terms of your choice" when
  the larger work is not itself a parser-generator based on it.
2019-08-13 20:59:51 -07:00
stuartmorgan
9ae65461a0 Increase the license block scan from 5k to 6k (flutter/engine#10956)
Split out of #10782 since it affects the detection of the license blocks of some files in third_party/boringssl.
2019-08-12 15:42:32 -07:00
Emmanuel Garcia
f9058d748c Include Maven dependency in files.json (flutter/engine#10719) 2019-08-08 18:59:22 -07:00
Shi-Hao Hong
c5a2f30915 Rolls engine to Android SDK 29 and its corresponding tools (flutter/engine#10692)
* Rolls engine to Android SDK 29 and its corresponding tools

* Update from android-28 to android-29 in relevant files

* Roll buildroot to tip of tree
2019-08-07 12:34:33 -04:00
stuartmorgan
3a81fdf045 Roll buildroot for ANGLE support (flutter/engine#10667)
Rolls buildroot forward to pick up support for building ANGLE. Needed for #9835

Updates license check to ignore a new top-level buildfile-only directory added as part of that support.
2019-08-06 15:21:39 -07:00
sjindel-google
3c14be6f2b Don't use DBC for hot-reload on iOS. (flutter/engine#10645) 2019-08-06 01:17:06 +02:00
Liam Appelbe
1647cb1cc1 Use simarm_x64 when targeting arm (flutter/engine#10010)
* GN changes for simarm_x64

* GN changes for simarm_x64

* Cleanup a bit

* Guard simarm_x64 behind a flag

* Remove flag

* Remove Mac specificity
2019-08-01 10:58:12 -07:00
Kaushik Iska
72b60dfaca [fuchsia] Add kernel_compiler target in build_fuchsia script (flutter/engine#10403) 2019-08-01 09:41:14 -07:00
Kaushik Iska
527e254893 [fuchsia] Kernel compiler is now ready (flutter/engine#10309)
Also fixes the architecture of the bundled SO files.
2019-07-31 20:41:11 -07:00
Dan Field
ed1d3e034c Make tree green for real this time, I promise. (flutter/engine#10303) 2019-07-31 13:33:49 -07:00
Dan Field
b6d7355b78 Fix red build again (flutter/engine#10298) 2019-07-31 12:27:40 -07:00
Dan Field
831416d12a fix CI (flutter/engine#10296) 2019-07-31 11:27:07 -07:00
Kaushik Iska
60f847b6c2 [fuchsia] Make cirrus build fuchsia artifacts (flutter/engine#10268)
* [fuchsia] Make cirrus build fuchsia artifacts

* restrict to debug mode for better build times

* fix host gen_snapshot

* change buildroot version
2019-07-31 11:16:08 -07:00
Dan Field
2452e2c206 Add fuchsia.stamp for roller (flutter/engine#10293) 2019-07-31 10:57:31 -07:00
Kaushik Iska
e12e0d4468 [fuchsia] Bundle architecture specific gen_snapshots (flutter/engine#10261)
* [fuchsia] Bundle architecture specific gen_snapshots

This really fixes a bug in the current gensnapshot bundling
mechanism.

* remove dir only once
2019-07-30 12:01:28 -07:00
Kaushik Iska
5804aa33cb [fuchsia] Add arm64 builds for flutter and dart runner (flutter/engine#10260) 2019-07-30 11:43:09 -07:00
Kaushik Iska
1872c78afc [fuchsia] Start building dart_patched_sdk (flutter/engine#10246)
* [fuchsia] Start building dart_patched_sdk

* fix path
2019-07-30 09:57:58 -07:00
Kaushik Iska
6209bd823d [fuchsia] Artifacts now contain gen_snapshot and gen_snapshot_product (flutter/engine#10188) 2019-07-26 16:08:10 -07:00
Kaushik Iska
c6a22f391a Uncommemt publish to CIPD (flutter/engine#10183) 2019-07-26 14:07:20 -07:00
Kaushik Iska
92f9dac0f7 [dart_runner] dart jit runner and dart jit product runner (flutter/engine#10179)
We now build dart runner as well
2019-07-26 13:29:46 -07:00
Kaushik Iska
7c3360e4bf [fuchsia] Add support for aot mode in flutter runner (flutter/engine#10171)
* [fuchsia] Add support for aot mode in flutter runner

* [fuchsia] Bundle observatory with not product runners
2019-07-26 10:19:13 -07:00
Kaushik Iska
eb22f11f68 [fucshia] fix name to reflect the cmx file (flutter/engine#10151)
* [fucshia] fix name to reflect the cmx file

* uncomment
2019-07-25 16:20:44 -07:00
Kaushik Iska
e20083819a [fuchsia] Push CMX to fars and add product mode support (flutter/engine#10144)
* Capture stderr for ninja command

* br

* [fuchsia] Push CMX to fars and add product mode support.

* fix shit

* fix GN format
2019-07-25 15:09:04 -07:00
Kaushik Iska
7f9170be1f [fuchsia] Use manifest file to better replicate the existing build (flutter/engine#10102)
* Use manifest file to better replicate the existing build

Also fix app/bin error

* Add remaining shit

* patch in the remaining stuff

* Update BUILD.gn
2019-07-24 13:57:46 -07:00
Kaushik Iska
c88d42772b [fuchsia] copy over the cmx file (flutter/engine#10087) 2019-07-24 07:28:19 -07:00
Kaushik Iska
8fe7368fc4 [fuchsia] Use the new far package model (flutter/engine#10085) 2019-07-23 21:31:18 -07:00