318 Commits

Author SHA1 Message Date
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
gaaclarke
91e31dca51
Made the license check ignore the .vscode directory. (#9398)
* Made the license check ignore the .vscode directory.

* updated license hash

* updated signature
2019-06-21 11:26:12 -07:00
gaaclarke
cd973f8aae
Added unit tests for the ios code. (#9388)
* Added unit tests for the ios code.

* Moved the tests to live next to the source.

* Added mocking library.

* Fixed formatting and removed third_party from the format check.

* fixed formatting 2

* Removed ocmock from third_party.

* Added ocmock to third_party, compile from source.

* removed ocmock from license checking

* updated licenses_flutter

* updated tool_signature
2019-06-20 17:37:03 -07:00
Chris Bracken
63d5f015dd
Add Dart SDK > 2.3.0 constraint to license script (#9385)
The license script uses Set literals among other Dart 2.3.0 features.
2019-06-19 15:52:30 -07:00
Chinmay Garde
ece4f59377
Update Metal backend to account for Skia updates. (#9383)
Also makes it so that folks don't have to patch the buildroot manually when
building for Metal.
2019-06-19 15:24:26 -07:00
Chris Bracken
1593838393
Handle Fuchsia SDK in license tool + roll SDK (#9302)
The Fuchsia SDK includes a root directory with multiple
license/copyright files. For files that don't include a copyright header
matching them to a specific license (e.g. shared library binaries) we
match them to all licenses.

Specifically, the SDK includes:
* LICENSE: the Fuchsia license
* LICENSE.vulkan: Apache 2.0 license for Vulkan
* COPYRIGHT.vulkan: additional non-Apache licenses/copyrights for Vulkan
* COPYRIGHT.musl: musl license/copyrights

Also rolls the Fuchsia SDK CIPD packages.
2019-06-12 17:32:32 -07:00
Chinmay Garde
7bb5b9aea5
Wire up Swiftshader based OpenGL ES unit-tests on hosts. (#9264)
Currently, all our host unit-tests that have rendering concerns use the software backend because of OpenGL ES availability and stability issues on the various platforms where we run host tests. Unfortunately, entire subsystems are disabled (and not tested) when rendering with the software backend. This patch pulls in SwiftShader and via pending patches in the buildroot, configures the host unit-tests to optionally use OpenGL ES in a stable manner without relying on the OpenGL drivers being present (and functional).

I have wired up the embedder test fixture in this patch to use the SwiftShader based OpenGL ES driver. I will update the shell and runtime unittests in a subsequent patch as well. The on and offscreen surfaces are configured as 1x1 pbuffer surface because we should be able to write pixel tests using OpenGL directly wihout having to deal with surfaces.
2019-06-12 12:32:09 -07:00
Chris Bracken
10a3ab0858
Fix missing return lint (#9246)
A recent Dart roll improved the detection of missing return statements.
Since we enforce that all enum values must be covered in switch
statements, this isn't an issue, but we add a return to fix the lint.
2019-06-11 10:49:06 -07:00
Chinmay Garde
e8ee6acf8d
[engine] Fix builds targeting Android from a Windows host gen_snapshot (#9190) 2019-06-07 22:46:29 -07:00
Chris Bracken
153416e554
Eliminate deprecated super_goes_last lint (#9156)
This eliminates the (deprecated) super_goes_last lint in the license
tool's analysis options. It's been an error in the default analyzer since
Dart 2.

See the deprecation details at https://dart-lang.github.io/linter/lints/super_goes_last.html
2019-05-31 14:41:34 -07:00
Jason Simmons
44f1b440aa
Revert "Use track-widget-creation transformer included in the sdk. (#9085)" (#9134)
This reverts commit 651c90409ee7b8f43da7d1c60fcb172f1ad51901.

With this change applied, test/widgets/widget_inspector_test.dart is failing
when run by the dev/bots/test.dart script in the framework tree.
2019-05-29 17:40:28 -07:00
KyleWong
867120c0c7 Better help message. (#9097) 2019-05-28 12:33:30 -07:00
Chinmay Garde
e27c6e890a
Forward custom IDE flags to GN. (#9023) 2019-05-28 12:21:58 -07:00
Chris Bracken
0f1ff3bdb3
Correct typos, adopt US spellings (#9081)
Corects a bnuch of typeos throughout teh engien codebsae. Also makes
a couple minor Commonwealth -> US spelling adjustments for consistency
with the rest of Flutter's codebase.

Made use of `misspell` tool:
https://github.com/client9/misspell
2019-05-25 13:14:46 -07:00
Terry Lucas
651c90409e
Use track-widget-creation transformer included in the sdk. (#9085)
This improves performance as the version in the SDK is able to work more
incrementally and avoids creating an expensive ClassHierarchy.
There is now no measureable performance difference with the option so the
kernel transformer can be enabled by default.
2019-05-25 06:38:51 -07:00
Matt Carroll
cfa524fcdf
New Plugin API PR4: Adds Lifecycle support to the new plugin system. (#9049) 2019-05-24 19:28:49 -07:00
Jason Simmons
424940f171
Add support for the Fontconfig-based Skia font manager (#8977) 2019-05-16 15:22:22 -07:00
Chinmay Garde
5526884e78
Wire up the Skia Metal backend on iOS. (#8936) 2019-05-11 15:21:26 -07:00
Dan Field
2b1f9925e4
new lints (#8849)
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Chinmay Garde
f6e6d39860
Wire up Fuchsia SDK related updated for shell dependencies. #8869
This does not actually import the runners into the engine. It only sets up the targets so they need no modifications are necessary when the migration is done. The engine has been verified to build in both buildroots.
2019-05-06 18:01:59 -07:00
Dan Field
3671182a95
Get prebuilt Dart via CIPD (#8859) 2019-05-06 11:31:23 -07:00
Dan Field
88e82d371a
Remove static leaks (#8825) 2019-05-03 16:57:04 -07:00
Dan Field
7ce2666e54
Guard Android logs (#8824) 2019-05-03 14:32:29 -07:00