402 Commits

Author SHA1 Message Date
Kaushik Iska
97df087ee6
[fuchsia] Package flutter_frontend_server snapshot for fuchsia (#13865) 2019-11-14 14:18:19 -08:00
Kaushik Iska
98379d7b61
[build] Make --engine-version flag optional (#13803) 2019-11-13 14:34:22 -08:00
Kaushik Iska
4bc156d9dd
Disable LTO on Fuchsia (#13842) 2019-11-13 14:33:21 -08:00
xster
e1b533483e
add recent packages to javadoc list (#13789) 2019-11-13 14:10:38 -08:00
George Wright
14db93afa3 Only specify --no-link-platform when not specifying --aot, roll dart-lang sdk (#13742)
* Only specify --no-link-platform when --aot isn't specified

* [dart_roll] Update to e68ca9b652acdb642668a6acb5f630d5be6c03da
2019-11-07 17:48:14 -08:00
George Wright
bc7a007978
Package fml_unittests in a .far file for fml unit tests on Fuchsia (#13471)
Add fml_tests target for the fml unit tests on Fuchsia
2019-11-06 13:01:54 -08:00
Kaushik Iska
d8d5e43e0c
[fuchsia] [packaging] Fuchsia tree expects nested bz2 archives (#13482)
go/flutter-fuchsia-packaging contains more details about the layout
2019-11-01 15:28:49 -07:00
Kaushik Iska
55e8ef9017
[fuchsia] Bundle unstripped SO files in fars (#13466)
Fixes: https://github.com/flutter/flutter/issues/43926
2019-10-31 16:07:42 -07:00
Kaushik Iska
23f63050a1
[fuchsia] [packaging] Prettify parent folder name (#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
7c80d62e89
CIPD needs the directory to be relative (#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
b16eab6aff
Remove usage of yaml module from CIPD script (#13444)
This module is not present on the build nodes
2019-10-30 15:33:15 -07:00
Kaushik Iska
35f3104812
[fuchsia] [packaging] Create a script to upload debug symbols to CIPD (#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
979baa078a
Revert "[flutter_runner] Don't build far files twice (#13397)" (#13400)
This reverts commit 8cf47d72888336788b1c482dea01dbde68765bc9.
2019-10-28 16:32:25 -07:00
Kaushik Iska
8cf47d7288
[flutter_runner] Don't build far files twice (#13397) 2019-10-28 16:05:04 -07:00
Kaushik Iska
2250c74d6c
[fuchsia] [packaging] Layout debug symbols for Fuchsia (#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
5a4bd0de69
Create a separate directory for the intermediate outputs of each Fuchsia archive build action (#13341) 2019-10-25 09:44:27 -07:00
Jason Simmons
7b4c38d2ab
Fix the output filename of the Fuchsia archive build template (#13339) 2019-10-25 09:44:12 -07:00
Kaushik Iska
7a9c86b8d5
[fuchsia] [packaging] undle host binaries per runtime_mode (#13335) 2019-10-24 12:34:40 -07:00
Ryan Macnak
dcf7b51043
Roll Dart to 635c47b1c9efe86b896d95bd446c6a5e2459037e. (#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
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