50 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
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
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
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
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
Dan Field
a6105050c3
option for --no-lto for fuchsia (#12010) 2019-09-07 00:21:04 -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
Kaushik Iska
219816de10
[fuchsia] Add required trace so files for fuchsia fars (#11036) 2019-08-15 14:44:01 -07:00
Kaushik Iska
bf92885975
[fuchsia] Add kernel_compiler target in build_fuchsia script (#10403) 2019-08-01 09:41:14 -07:00
Kaushik Iska
b41c172bcd
[fuchsia] Kernel compiler is now ready (#10309)
Also fixes the architecture of the bundled SO files.
2019-07-31 20:41:11 -07:00
Dan Field
d7af33ac52
Make tree green for real this time, I promise. (#10303) 2019-07-31 13:33:49 -07:00
Dan Field
72a4c8e092
Fix red build again (#10298) 2019-07-31 12:27:40 -07:00
Dan Field
26419702fd
fix CI (#10296) 2019-07-31 11:27:07 -07:00
Kaushik Iska
ae57b0cacc
[fuchsia] Make cirrus build fuchsia artifacts (#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
d226aa89d1
Add fuchsia.stamp for roller (#10293) 2019-07-31 10:57:31 -07:00
Kaushik Iska
b6fe15d607
[fuchsia] Bundle architecture specific gen_snapshots (#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
a6a7c85473
[fuchsia] Add arm64 builds for flutter and dart runner (#10260) 2019-07-30 11:43:09 -07:00
Kaushik Iska
0d66b32516
[fuchsia] Start building dart_patched_sdk (#10246)
* [fuchsia] Start building dart_patched_sdk

* fix path
2019-07-30 09:57:58 -07:00
Kaushik Iska
69e0800cac
[fuchsia] Artifacts now contain gen_snapshot and gen_snapshot_product (#10188) 2019-07-26 16:08:10 -07:00
Kaushik Iska
f33b2d4206
Uncommemt publish to CIPD (#10183) 2019-07-26 14:07:20 -07:00
Kaushik Iska
3e3efe4c6c
[dart_runner] dart jit runner and dart jit product runner (#10179)
We now build dart runner as well
2019-07-26 13:29:46 -07:00
Kaushik Iska
3e0cff2a61
[fuchsia] Add support for aot mode in flutter runner (#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
d8c9b1021b
[fucshia] fix name to reflect the cmx file (#10151)
* [fucshia] fix name to reflect the cmx file

* uncomment
2019-07-25 16:20:44 -07:00
Kaushik Iska
5edd787cf2
[fuchsia] Push CMX to fars and add product mode support (#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
4bf81b8cf8
[fuchsia] Use manifest file to better replicate the existing build (#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
f393da22d1
[fuchsia] copy over the cmx file (#10087) 2019-07-24 07:28:19 -07:00
Kaushik Iska
0e621d902d
[fuchsia] Use the new far package model (#10085) 2019-07-23 21:31:18 -07:00
Kaushik Iska
bdc7136953
[fuchsia] Add sysroot and clang libs to package (#10082)
* [fuchsia] Add sysroot deps

* bundle in clang stuff too

* fix host_os
2019-07-23 21:08:25 -07:00
Kaushik Iska
cf5d76c172
[fuchsia] Add support for libs in packages (#10081) 2019-07-23 19:22:42 -07:00
Kaushik Iska
eb74f2ce70
One more luci fix (#10078)
* Missing icu data from the far

* One more place to change the artifact name

* real name
2019-07-23 17:56:49 -07:00
Kaushik Iska
6e732c7f1a
Change flutter runner target for LUCI (#10075) 2019-07-23 17:29:13 -07:00
Kaushik Iska
abf93699fd
Basic structure for flutter_jit_runner far (#10073)
* Basic structure for flutter_jit_runner far

- Added a package_dir gni that copies the dir structure.
- Doesn't support a lot of the existing functionality.
- Added a script to copy paths.

* pick libdart based on flutter mode

* fix licenses
2019-07-23 16:51:50 -07:00
Kaushik Iska
de6e82c090
CopyFiles is still used. (#10012) 2019-07-22 14:56:13 -07:00
Kaushik Iska
268533e86a
[fuchsia] Use GatherArtifacts to create the requisite dir structure (#10004)
* [fuchsia] Create command to gather fuchsia artifacts

- We will use this gathered artifacts to create the
  directory tree that we will package to a far.

- Currently this is not used anywhere, we will use it
  as such:
  	1. Build all the fuchsia artifacts
	2. Gather the artifacts to a directory
	3. Use `pm` to package up the directory into a far.

* reformat files

* commit chromium style

* [fuchsia] Use the directory format that fuchsia expects

* Farify the artifacts

* Create far archives and have tmp artifact dir
2019-07-22 13:59:46 -07:00
Kaushik Iska
9e9da56b89
[luci] Reference the right fuchsia CIPD and upload only once (#9998)
* [luci] Reference the right fuchsia CIPD and upload only once

Also only upload is os is linux

* copy cipd
2019-07-22 10:05:57 -07:00
Kaushik Iska
db0839ab92
Copy over fuchsia dev key from buildroot (#9936) 2019-07-18 17:54:38 -07:00
Kaushik Iska
934e22571c
Build fuchsia artifacts from the engine (#9933)
* Build fuchsia artifacts from the engine

porting from flutter/buildroot

* full name
2019-07-18 16:52:10 -07:00