340 Commits

Author SHA1 Message Date
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
Liam Appelbe
9fca3c7449
Use simarm_x64 when targeting arm (#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
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
Chinmay Garde
9bb1b89cb0
Update libcxx & libcxxabi to HEAD in prep for compiler upgrade. (#9906) 2019-07-18 15:47:43 -07:00
Kaushik Iska
ad5ae0f2d5
Update Buildroot Version (#9927)
This will upload the fuchsia artifacts to CIPD
2019-07-18 14:50:27 -07:00
Gary Qian
be3e2ed4c3
Fix fuchsia license detection (#9857) 2019-07-17 13:44:35 -07:00
Dan Field
f348270047
Simplify buildtools (#9875)
Move GN, only get clang
2019-07-17 11:35:58 -07:00
Dan Field
9c54621fdd
bitcode (#9823) 2019-07-15 12:28:10 -07:00
Dan Field
51c3c11b8b
fix objcdoc generation (#9772) 2019-07-10 23:06:40 -07:00
Jason Simmons
2cd650d269
Minimal integration with the Skia text shaper module (#9556)
This converts the libtxt Paragraph and ParagraphBuilder classes into
interfaces with Minikin and SkShaper/SkParagraph based implementations.

Use the --enable-skshaper GN flag to select the Skia shaper implementation
at build time.
2019-07-10 14:13:55 -07:00
Jason Simmons
f775f5e4d6
Re-enable the Wuffs GIF decoder (#9466)
Fixes https://github.com/flutter/flutter/issues/23838
2019-07-10 14:07:54 -07:00
Jason Simmons
2284210f42
Make the license script compatible with recently changed Dart I/O stream APIs (#9725) 2019-07-09 15:00:56 -07:00
Terry Lucas
4abf1d8a4d
Revert "Revert "Use track-widget-creation transformer included in the sdk. (#9085)" (#9134)" (#9707)
This reverts commit 44f1b440aaabc8164b11c1d60ef4d233009ba540.
2019-07-08 10:53:47 -07:00
Chinmay Garde
8ac7cbddac
Fix warning about settings unavailable GN arg build_glfw_shell (#9642)
This is only available on Darwin & Linux host targets. On Android target builds, the logic amounted to says “Don’t build GLFW on Android targets”. Since GLFW on Android does not make sense and the target does not exist, GN was generating a warning.
2019-07-01 16:58:00 -07:00
gaaclarke
345d350ab3
Added Doxyfile. (#9632)
Added Doxyfile.
2019-07-01 14:32:38 -07:00
Chinmay Garde
4e344e6cd2
Wire up custom event loop interop for the GLFW embedder. (#9089) 2019-06-29 19:35:22 -07:00