11 Commits

Author SHA1 Message Date
Kaushik Iska 9d61b9a31a [flutter] Port: Run handle wait completers on the microtask queue (#11649)
Change-Id: I66c39d9ef7d534094148212940eef45754559d04
2019-08-28 14:02:11 -07:00
Kaushik Iska 42afb1abbe [dart:zircon] Porting Cache re-usable handle wait objects (#10809)
Change-Id: I230601acf5de24765737ad81b595fef2c154134c
2019-08-09 12:46:23 -07:00
Kaushik Iska ad3846effa [flutter_runner] Port: Add connectToService, wrapping fdio_ns_connect. (#10644)
Use fdio_ns_connect to connect to services in a namespace. For pure
persistant fidl services the old path of creating a file descriptor and
then opening a channel to that file descriptor doesn't work.

We should provide a way to directly connect to a service without first
treating it as a file.

Test:
* workstation.frank, reboot button on main menu works.
* astro, device_settings "erase user data" reboot works.

Change-Id: I725ba9350547309bebb5530aa44236f841d88f99
2019-08-05 16:36:59 -07:00
Kaushik Iska 8fd871799f [fuchsia] CloneChannelFromFD fix for system.cc (#10635)
This is a utils method currently not exposed from fuchsia.
Ported over from [garnet
fd.cc](https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/lib/fsl/io/fd.cc).
2019-08-05 12:05:20 -07:00
Chris Bracken da0b7716c6 Add #else, #endif condition comments (#10477)
Adds a few missing condition hints on some preprocessor conditionals.
2019-08-02 15:45:07 -07:00
Chris Bracken a83fe3e562 Roll Fuchsia SDK to latest (#9509)
This rolls to CIPD package versions:
macOS SDK: pWygawI3vBzP9dYloEvKka8r1p0NpLLZzZQ-yMYI1UIC
Linux SDK: L_ORUWXyDEC29pSiSyKIwGqcFMQFsV91E3h_wPbUIUkC

Applies two breaking changes from the SDK:
* `zx_clock_get_new()` has been eliminated and replaced with
  `zx_clock_get()`. See:
  https://fuchsia-review.googlesource.com/c/fuchsia/+/293688
* Scenic `Metrics` no longer supports operator==; instead we use
  `fidl::Equals()`.
2019-06-26 17:16:16 -07:00
Adam Barth 197feb5119 [fuchsia] Update zx_clock_get callers (#8998)
Fuchsia is changing zx_clock_get to return a zx_status_t. This change
prepares us for that change.
2019-05-17 16:37:28 -07:00
Matthew Dempsky 3cdfa807fa Replace ararysize macro with fml::size function (#8975)
This is forward compatible with std::size and similar to how Chromium
removed use of the arraysize macro.
2019-05-15 12:43:47 -07:00
Matthew Dempsky 66087301cd Roll tonic and update #includes (#8950) 2019-05-14 11:57:09 -07:00
Chinmay Garde 93d1c37946 Remove absolute path in new Fuchsia SDK based runner target dependency. (#8888)
Only ran into this as I was wiring up the bots to build the new targets.
2019-05-07 17:26:45 -07:00
Chinmay Garde 0c7a3f25f5 Copy //dart-pkg/zircon|fuchsia from Topaz into the engine. (#8884)
Build rules and include paths have been updated as necessary. No other functional change.
2019-05-07 15:06:15 -07:00