396 Commits

Author SHA1 Message Date
Kaushik Iska
50ceaca2f2 [fuchsia] [packaging] Fuchsia tree expects nested bz2 archives (flutter/engine#13482)
go/flutter-fuchsia-packaging contains more details about the layout
2019-11-01 15:28:49 -07:00
Kaushik Iska
f6b4080645 [fuchsia] Bundle unstripped SO files in fars (flutter/engine#13466)
Fixes: https://github.com/flutter/flutter/issues/43926
2019-10-31 16:07:42 -07:00
Kaushik Iska
36e6381963 [fuchsia] [packaging] Prettify parent folder name (flutter/engine#13463)
Currently they are held in a folder with names like tmpXasY6
e.g. https://chrome-infra-packages.appspot.com/p/flutter/fuchsia-debug-symbols-x64/+/3HEz_9w6dBWxZX0oPwDKRRRAbE-60Ub38Yp9TFyvCaIC

This should name them well.
2019-10-31 13:08:45 -07:00
Kaushik Iska
8a30840904 CIPD needs the directory to be relative (flutter/engine#13461)
* [recipe] Pass the out-dir argument in the recipe

* CIPD needs the yaml definition to be relative to the upload dir
2019-10-31 12:23:11 -07:00
Kaushik Iska
1bb68ff308 Remove usage of yaml module from CIPD script (flutter/engine#13444)
This module is not present on the build nodes
2019-10-30 15:33:15 -07:00
Kaushik Iska
8c3fc9c148 [fuchsia] [packaging] Create a script to upload debug symbols to CIPD (flutter/engine#13422)
* [fuchsia] [packaging] Create a script to upload debug symbols to CIPD

* update recipe changelog

* fix typos
2019-10-29 17:32:54 -07:00
Kaushik Iska
506eec294b Revert "[flutter_runner] Don't build far files twice (#13397)" (flutter/engine#13400)
This reverts commit be943c8fc21b62eea3a57a5baf7d43ebff4fc4c8.
2019-10-28 16:32:25 -07:00
Kaushik Iska
be943c8fc2 [flutter_runner] Don't build far files twice (flutter/engine#13397) 2019-10-28 16:05:04 -07:00
Kaushik Iska
70232834ac [fuchsia] [packaging] Layout debug symbols for Fuchsia (flutter/engine#13338)
This packages and moves the relevant symbols to the right
locations in root_out_dir, but doesn't upload them to CIPD
yet. That will be done in a following change.

Refer: go/flutter-fuchsia-packaging for more information.
2019-10-25 12:07:58 -07:00
Jason Simmons
4767a40b42 Create a separate directory for the intermediate outputs of each Fuchsia archive build action (flutter/engine#13341) 2019-10-25 09:44:27 -07:00
Jason Simmons
46164f0159 Fix the output filename of the Fuchsia archive build template (flutter/engine#13339) 2019-10-25 09:44:12 -07:00
Kaushik Iska
b3dab79389 [fuchsia] [packaging] undle host binaries per runtime_mode (flutter/engine#13335) 2019-10-24 12:34:40 -07:00
Ryan Macnak
555a2d350d Roll Dart to 635c47b1c9efe86b896d95bd446c6a5e2459037e. (flutter/engine#13315)
635c47b1c9ef Reland "Update BoringSSL to 4dfd5af70191b068aebe567b8e29ce108cee85ce."
2be376385cf0 [vm/ffi] Support moves with temp in ffi call
92c69f224b96 Flow analysis: promote on successful execution of an "as" expression.
6461e412b63c Flow analysis: call initialize for params after functionExpression_begin.
5837c65b6e87 Flow analysis: test unreachability for constructor initializers.
8e23f76ac731 Flow analysis: properly handle promotion of type parameters.
a7b092edf06e Fix operator== for type parameter types.
06a8577de223 Flow analysis: recursively annotate unreachable nodes in test
2019-10-23 16:38:27 -07:00
Jason Simmons
b97e6bda5c Show strace logs when the Fuchsia gen_package script gets an error from the packaging tool (flutter/engine#13298) 2019-10-22 17:36:47 -07:00
Kaushik Iska
2e40b9c222 Add recipe changelog (flutter/engine#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
62d9a56c5d Updated license script to ignore testdata directories, which often contain object files and other compilation results (flutter/engine#13261) 2019-10-21 13:04:17 -07:00
Kaushik Iska
8ed91e89cf Add templates to generate fuchsia host bundles (flutter/engine#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
1bc55ebfcb Ignore *.obj files when gathering licenses (flutter/engine#13241)
* Ignore *.obj files when gathering licenses

* update license hash
2019-10-18 17:53:40 -07:00
Kaushik Iska
63e93b2f77 Add flutter_tester binary to the CIPD package (flutter/engine#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
04a6d3e4e0 [dart_aot_runner] Complete the port of dart_aot_runner (flutter/engine#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
0a1600a6d1 [dart_aot_runner] Generate vmservice aotsnapshots (flutter/engine#13101) 2019-10-11 16:03:30 -07:00
Dan Field
693c13dcf7 cleanup gen_package.py (flutter/engine#13089) 2019-10-11 16:00:45 -07:00
Dan Field
74ae2204a9 Gen package output corrected (flutter/engine#13086) 2019-10-11 10:16:43 -07:00
Dan Field
43bf271065 Print more output when gen_package fails (flutter/engine#13085) 2019-10-11 10:14:47 -07:00
Dan Field
80492fb4e9 Android targets create final zip artifacts (flutter/engine#13059) 2019-10-10 06:56:43 -07:00
sjindel-google
5ea9c249cd Remove use of the blobs snapshot format from unittests (flutter/engine#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
2f7e94a0d9 Don’t bump iOS deployment target for Metal builds. (flutter/engine#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
d4ec5cbd02 Roll dart to aece1c1e92. (flutter/engine#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
ff1b1653c0 Update buildroot to pull in ubsan updates. (flutter/engine#12821) 2019-10-05 19:55:07 -07:00
Chinmay Garde
af81e5da99 Enable sanitizer build variants. (flutter/engine#12816) 2019-10-04 17:32:00 -07:00
Dan Field
4d0ea3a6f0 Reland fuchsia build improvements (flutter/engine#12795) 2019-10-04 12:07:57 -07:00
Dan Field
dfa1f858cc Revert "Build AOT and test targets, generate FARs when building Fuchsia (#12761)" (flutter/engine#12781)
This reverts commit 0681026147d5cf1feb6a1746a3ccd5817c4c0c2a.
2019-10-03 17:20:21 -07:00
Dan Field
0681026147 Build AOT and test targets, generate FARs when building Fuchsia (flutter/engine#12761) 2019-10-03 16:10:33 -07:00
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