383 Commits

Author SHA1 Message Date
Jason Simmons
08930c3a1d
Show strace logs when the Fuchsia gen_package script gets an error from the packaging tool (#13298) 2019-10-22 17:36:47 -07:00
Kaushik Iska
39e6901e63
Add recipe changelog (#13270)
Also add sources to one of the fuchsia targets to make
sure that the files exist.
2019-10-21 15:41:27 -07:00
Ben Konyi
a16b0f9838
Updated license script to ignore testdata directories, which often contain object files and other compilation results (#13261) 2019-10-21 13:04:17 -07:00
Kaushik Iska
84a3365dcf
Add templates to generate fuchsia host bundles (#13158)
This is part of an effort to separate generation of
host artifacts and target artifacts for fuchsia. The
`fuchsia_host_bundle` template aims to capture all the
artifacts that are specific to a given host.

The next step would be to bundle these are separate CIPD
packages for mac and linux (only x64 hosts)

internal planning doc: go/flutter-fuchsia-packaging
2019-10-21 12:51:38 -07:00
Ben Konyi
0f75f194a7 Ignore *.obj files when gathering licenses (#13241)
* Ignore *.obj files when gathering licenses

* update license hash
2019-10-18 17:53:40 -07:00
Kaushik Iska
c482ff686e
Add flutter_tester binary to the CIPD package (#13143)
- Also unifies f/s/platorm/fuchsia:fuchsia as the only target we build.
- This should contain all the packages we need to build fuchsia.
2019-10-15 12:26:13 -07:00
Kaushik Iska
7a06baaddf
[dart_aot_runner] Complete the port of dart_aot_runner (#13103)
* [dart_aot_runner] Complete the port of dart_aot_runner

- also adds the previously missing profiler symbols for dart_jit_runner
- CIPD package will contain both the JIT and AOT dart runners

* specify the inputs
2019-10-11 17:24:54 -07:00
Kaushik Iska
33b80ac98c
[dart_aot_runner] Generate vmservice aotsnapshots (#13101) 2019-10-11 16:03:30 -07:00
Dan Field
a054089af0
cleanup gen_package.py (#13089) 2019-10-11 16:00:45 -07:00
Dan Field
b320dab476
Gen package output corrected (#13086) 2019-10-11 10:16:43 -07:00
Dan Field
89f456642a
Print more output when gen_package fails (#13085) 2019-10-11 10:14:47 -07:00
Dan Field
a05803a0d2
Android targets create final zip artifacts (#13059) 2019-10-10 06:56:43 -07:00
sjindel-google
d9080029af
Remove use of the blobs snapshot format from unittests (#12563)
* Remove uses of the "blobs" snapshot format in Engine tests.

* Comments

* Rebasing against updated ELF loader API.
2019-10-10 14:03:42 +02:00
Chinmay Garde
ed1557f82d
Don’t bump iOS deployment target for Metal builds. (#13051)
Fixed by https://skia-review.googlesource.com/c/skia/+/245957
Fixes https://github.com/flutter/flutter/issues/41807
2019-10-09 20:37:38 -07:00
Alexander Aprelev
034a630220
Roll dart to aece1c1e92. (#12997)
* Roll dart to aece1c1e92.

Changes since last roll:
```
aece1c1e92 Update compile_flutter.sh after vm -> frontend_server rename
9293e26fc9 [gardening] Fix flutter hhh patch.
13fbf569f6 [flutter] split frontend_server from vm package
a389015083 Rewrite MethodInvocation to FunctionExpressionInvocation when the target is not a method.
ae251757a9 [vm,aot,bytecode] Performance fixes
01ebf92dde [VM] Consume extension member/is late flag setting when reading kernel file.
8e05cd278c [vm, bytecode] Emit bytecode without ASTs by default.
4539536b34 [eventhandler] generalize socket initialization
7115687beb NNBD i13n: Add a description for discarding just the condition
2bcaf02582 (origin/base) Update dartdoc to 0.28.7.
a0e8c7712d [dart2js] New RTI: Prevent elision of precomputed1 and remove unneeded read.
c38e19cbbe [vm/compiler] bit utilities
f918214f36 Add a unit test reproducing issue #38352.
ad47b1ca64 Remove summary1, part 2.
0881a4a691 Reland "Deprecate TypeParameterTypeImpl.getTypes()"
d93a6b596b Prepare to publish analyzer version 0.38.5
d5feab0c53 [vm] Create builds for LeakSanitizer, MemorySanitizer and ThreadSanitizer.
8c5236f55e [vm/ffi] Fix host-target word mismatch breaking AOT callbacks in ARM_X64.
5f7b837195 Remove unused FunctionElementImpl_forLUB.
2c75771611 Write and read the static type of IntegerLiteral.
b00453c68a Create synthetic FunctionType in quick fixes.
897e197dd4 Flow analysis: Update AssignedVariablesVisitor to track functions/methods.
55466fd3cc Flow analysis: Remove AssignedVariables.capturedAnywhere.
0a5cf36f14 Make exitFunctionBody safer.
```

* Update license hash
2019-10-08 08:07:39 -07:00
Chinmay Garde
b785ab902a
Update buildroot to pull in ubsan updates. (#12821) 2019-10-05 19:55:07 -07:00
Chinmay Garde
348108ec74
Enable sanitizer build variants. (#12816) 2019-10-04 17:32:00 -07:00
Dan Field
20ce0f6b69
Reland fuchsia build improvements (#12795) 2019-10-04 12:07:57 -07:00
Dan Field
2e163b2780
Revert "Build AOT and test targets, generate FARs when building Fuchsia (#12761)" (#12781)
This reverts commit f3d04a98b49364a6054a8083eaeb6342ff06d941.
2019-10-03 17:20:21 -07:00
Dan Field
f3d04a98b4
Build AOT and test targets, generate FARs when building Fuchsia (#12761) 2019-10-03 16:10:33 -07:00
Jonah Williams
6f5eb1332f
Add support for JIT release mode (#12446) 2019-09-27 11:20:54 -07:00
liyuqian
b126ba7585
Add .mskp file to binary format (#12454)
Fixes https://bugs.chromium.org/p/skia/issues/detail?id=9467
2019-09-26 11:09:47 -07:00
Chinmay Garde
72ca6035b7
Roll buildroot and remove toolchain prefix. (#12324) 2019-09-23 11:29:13 -07:00
Kaushik Iska
7f7250f476
[flutter_runner] Do not use prebuilts just yet (#12340) 2019-09-18 15:31:57 -07:00
Dan Field
a788269aa8
optionally skip builds (#12281) 2019-09-13 16:17:49 -07:00
Kaushik Iska
2bdfb61a04
Namespace patched SDK names to not conflict with Topaz (#12218) 2019-09-11 08:19:58 -07:00
Chinmay Garde
92d42c0f6f
Only build the x64 variant of Fuchsia on the try-jobs. (#12206)
Halves the presubmit times.
2019-09-10 17:16:29 -07:00
Yegor
954f1988c5
Add custom test plugin that supports screenshot tests (#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
a6105050c3
option for --no-lto for fuchsia (#12010) 2019-09-07 00:21:04 -07:00
Emmanuel Garcia
50bdbd769e
Document dependencies and remove support-v13 (#11912) 2019-09-06 15:25:59 -07:00
Kaushik Iska
7ea9884ab0
[flutter_runner] Kernel platform files can now be built in topaz (#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
3fb910a9b0
LTO fuchsia binaries (#11883) 2019-09-05 14:30:28 -07:00
Kaushik Iska
a22797b6d5
Support building standalone far packages with autogenerating manigests (#11849)
Also makes package_dir support testonly mode
2019-09-04 07:23:58 -07:00
Dan Field
0cfee1f677
Bitcode only for release (#11520) 2019-08-27 11:25:59 -07:00
xster
fd25f80a1d
make it possible to disable debug symbols stripping (#11265) 2019-08-26 16:53:00 -07:00
Dan Field
eb92b09568
Roll buildroot and update gn script for bitcode_marker (#11449) 2019-08-26 12:58:14 -07:00
Yegor
fad38e252f
sync web engine; run web engine tests (#11031)
sync web engine; run web engine tests
2019-08-22 16:38:03 -07:00
Emmanuel Garcia
3e403dd20a
Remove empty line in the pom file (#11382) 2019-08-22 13:39:14 -07:00
Siva
fc27f80a12
1. Update license files to account for the new Dart License file (#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
ce0bad7645
Remove engine hash from pom filename (#11356) 2019-08-21 15:08:10 -07:00
stuartmorgan
ab097a59fa
De-dup FILE output for each license (#10945)
Only list each file once per license block.
2019-08-21 10:12:41 -07:00
Chinmay Garde
81f1819213
Remove ability to override mac_sdk_path in flutter/tools/gn (#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
219816de10
[fuchsia] Add required trace so files for fuchsia fars (#11036) 2019-08-15 14:44:01 -07:00
James Clarke
ff484d4f69 [Windows] Alternative Windows shell platform implementation (#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
3c37d735a8
Update license script to handle ANGLE (#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
20b7ea234e
Increase the license block scan from 5k to 6k (#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
3103499019
Include Maven dependency in files.json (#10719) 2019-08-08 18:59:22 -07:00
Shi-Hao Hong
797f032b7b
Rolls engine to Android SDK 29 and its corresponding tools (#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
8b91236185
Roll buildroot for ANGLE support (#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
1c3022372d
Don't use DBC for hot-reload on iOS. (#10645) 2019-08-06 01:17:06 +02:00