33 Commits

Author SHA1 Message Date
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
George Kulakowski
31d03de019 Rename mtl to fsl (#4094) 2017-09-11 17:56:02 -07:00
George Kulakowski
6502090278 Fix remaining ftl->fxl conversions (#4091)
* Fix remaining ftl->fxl conversions

The previous scripting pass at this did not account for objective c file endings

* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
Adam Barth
c0952db729 Update MTL path in gn (#4046) 2017-09-01 11:02:27 -07:00
James Robinson
881c22cf10 Disable GN check for conditionally included headers (#4026)
GN check can't understand preprocessor defines, so we have to disable
checking for these conditionally included headers.
2017-08-28 15:06:53 -07:00
Adam Barth
026f76d793 Depend on //lib/mtl rather than a subtarget (#3821)
This will make it easier to change mtl into a shared library.
2017-06-23 11:09:29 -07:00
Adam Barth
da0b1f5a36 Make microtask queue be per thread (#3644)
Previously, it was a static. Doesn't have much effect in practice because we
only use this microtask queue for main isolates, which exist on a single
thread.
2017-05-04 15:06:43 -07:00
Chinmay Garde
92c357ed15 Allow registering multiple task observers per message loop. (#3509) 2017-03-23 15:29:33 -07:00
James Robinson
2adbac18b2 Only depend on //flutter/fml from sky/engine/web in non-Fuchsia builds (#3502) 2017-03-22 18:29:42 -07:00
Chinmay Garde
1c07ea530f Remove uses of //base from all //flutter projects and replace them with //fml variants. (#3492) 2017-03-22 15:42:51 -07:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
Adam Barth
63e71803de Unlink from mojo (#3187)
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
James Robinson
4014a5be48 Revert "Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (#3063)" (#3066)
This reverts commit cfc2b0cd1b6cab4f561cea643a64e867ff995917.

The include paths for GL headers in mojo/public are busted
2016-09-27 16:32:38 -07:00
James Robinson
cfc2b0cd1b Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (#3063) 2016-09-27 15:39:18 -07:00
James Robinson
83c01acce1 Revert "Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (#3052)" (#3062)
This reverts commit 92fdf25d391ff4518885bbbee768053f84563923.

This breaks the android x86 build:

gn gen --check in out/android_debug_x64
ERROR at //mojo/public/tools/BUILD.gn:59:9: Assertion failed.
        assert(current_cpu == "arm",
        ^-----
Only arm version prebuilt netowrk_service.mojo is available.
step returned non-zero exit code: 1
2016-09-27 14:11:08 -07:00
James Robinson
92fdf25d39 Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (#3052) 2016-09-27 13:07:47 -07:00
Adam Barth
edcb3aa452 Wire up microtasks on Fuchsia (#3019)
This patch teachs us how to observe tasks on Fuchsia and kick off the
microtask queue.
2016-09-14 11:31:50 -07:00
Adam Barth
d7f807c960 Factor runtime initialization into InitRuntime (#3009)
This makes the code easier to share between Fuchsia and stand-alone
Flutter.
2016-09-07 22:19:50 -07:00
Adam Barth
e281b602d4 Build sky/engine on fuchsia (#2992) 2016-08-31 21:01:07 -07:00
Adam Barth
4cab94e949 Invert the relationship between lib/ui and sky/engine (#2920)
Now lib/ui depends on sky/engine rather than the reverse.
2016-08-12 16:12:07 -07:00
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
11dbbd0b24 Remove more //base dependencies from //sky/engine (#2887) 2016-08-08 14:52:52 -07:00
Adam Barth
1c9c7aa826 Switch to using //lib/tonic's DartWrappable (#2878)
This removes most (all?) of our dependency on base::RefCountedThreadSafe.
2016-08-05 16:43:35 -07:00
Adam Barth
2629d5e73b Remove a pile of dead code (#2855)
* Remove time

* Remove rand

* Remove array buffers

* Remove more code

* Remove more image decoding code

* Remove more code

* Remove old public API

* Remove more old public headers

* Remove layout test support

* Remove WebPrivateOwnPtr

* Remove WebString

* Remove worker pool
2016-08-03 09:14:34 -07:00
Adam Barth
633d674c48 Move tonic to //flutter/tonic (#2742)
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00
Adam Barth
1f4416f87b Move microtask queue into tonic
Moving the microtask queue into tonic solves three problems:

1) Removes three levels of indirection when invoking microtask
callbacks.
2) Removes the sky/engine/dom directory entirely.
3) Removes the last client of the (inefficient) DartValue class.
2016-01-18 16:59:52 -08:00
Adam Barth
b4377c93dd Remove RuntimeEnabledFeatures
This complex machinery made sense for Blink, which has hundreds of
developers. In our case, we're just moving around two bools. We can do
that in a much simpler way.
2015-12-29 22:27:18 -08:00
Eric Seidel
a92597ee07 Add various trace events for tracing startup
@abarth
2015-12-02 12:18:20 -08:00
Adam Barth
a5768f2718 Remove the DOM and CSS
We don't use the DOM or CSS anymore. Instead, we work directly with the render
tree.
2015-10-24 00:26:24 -07:00
James Robinson
c8eff5e44f Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Adam Barth
64ecf6214f Add a flag to sky_viewer to enable checked mode
This flag will let clients who use release builds enable checked mode.

Fixes #22
2015-07-29 19:05:44 -07:00
Adam Barth
edf9db0d4e Remove Screen.idl and associated code 2015-07-25 19:04:17 -07:00
Collin Jackson
a64559ab70 After running filter-branch, move root directory into sky/ 2015-07-16 11:54:25 -07:00