[dart/vfs] Allow POSIX compatibility flag.
This new flag is being passed but is not supported by Dart PseudoDirs.
This change supports the new flag with no additional checks to allow hub
listing code to work.
[dart] Fix pubspec sdk constraints
The below packages use collection literals, so their
Dart SDK constraint has to be bumped up to 2.2 to
make the analyzer happy.
[roll] Roll chromium version:75.0.3746.0
[sdk] Define a separate SDK for Dart additions to the Core SDK.
This allows these SDK contributions to be controlled via an API file.
Note that this will only be effective when the infrastructure is
updated to build the Core and "Dart" SDKs separately, as SDK targets are
not built by default anymore (and therefore verification is not by default
applied to the newly-created //topaz/public/sdk:fuchsia_dart).
[flutter,dart] Remove size limit on memfs in non-product flutter/dart runner
[tiler] Add support for initializing tiler with template.
[flutter_runner] Add f.d.m.Administrator access to flutter runners.
In 264852 I added support for the device_settings UI to call the
fuchsia.device.manager.Administrator service to reboot the device.
This works great on "release" builds for astro but not for the "debug"
builds which uses the "flutter_jit_runner.cmx" instead of the
This will add the ability to all the flutter_*_runner types, since this
is now part of the SDK then it makes sense that all types should be able
to access it.
[dart] Disable bytecode in core libraries
We have certain number of optimizations in our default pipeline specifically
for core libraries, which might be still missing in bytecode pipeline
(for example, see discussion around a benchmark in FL-203).
Before we start using bytecode pipeline in core libraries, we should
make sure all Golem benchmarks are on par and we have added all optimizations
for core libraries into bytecode pipeline.
[flutter_screencap_test] Modernizing flutter_screencap_test
Adds hermetic variants of the flutter_screencap_test, using root presenter,
dev basemgr, and sessionctl/Ermine.
Test: fx run-test flutter_screencap_test
[media] restore references to MUTED_GAIN_DB
This CL changes audio.dart so it again references
MUTED_GAIN_DB, which has moved from fuchsia.media to
TEST: no behavior change
[rust] Remove references to rust-crates/rustc_deps
[lib] A Flutter library for managing tiles.
[dart][flutter] Update to ComponentContext::Create
CreateFromStartupInfo is being renamed.
[roll] Roll chromium version:75.0.3745.0
[fidl][cpp] Mark a public FIDL dependency appropriately
Soon this will matter. Right now it has very little effect.
[roll] Roll chromium version:75.0.3744.0
[base_shell] remove userpicker_base_shell, update ermine config
Test: tried ermine
[flutter] Remove V1 ViewProvider
This is dead code.
[settings] refactor most settings off deprecated APIs, and make async SY-988
[dart] Runtime utilities do not depend on libfsl anymore.
[scenic] Remove ImportToken refs
No behavior is changed; this type is replaced by ViewHolderToken.
Test: Ran login flow to ermine; ran login flow to SysUI
[auth][e2e] Implement refresh token injection for testing with GoogleAuthProvider
This is a short term solution for providing auth tokens
enabling end to end testing.
Test: 1. Verify normal login process through UI succeeds.
2. Repave, open login, then verify successful authentication
using injection API through SL4F facade in related CL.
[libfxl][libfidl] remove references to //garnet/public/lib/fxl/type_converter.h
This CL removes references to //garnet/public/lib/fxl/type_converter.h
from topaz in favor of //sdk/lib/fidl/cpp/type_converter.h.
TEST: no behavior change
[media] temporarily stop referencing fuchsia.media.MUTED_GAIN_DB
This CL changes audio.dart so it no longer references
fuchsia.media.MUTED_GAIN_DB, which is being relocated to
TEST: no behavior change
[auth] Fix auth_provider error code.
I believe this is the cause of the spurious internal error we've been
finding in our logs. If the view gets closed on us that not our fault
and so auth provider shouldn't be declaring an internal error (which
gets converted by token manager into another internal error).
[flutter] Remove runner dependency on libfs.
[flutter_runner_tests] Use old method from libsys
We were using CreateWithRequest2 method which was there for soft
transition, revert to using old one now that it is fixed.
[roll] Roll chromium version:75.0.3741.0
[auth] Document usage of all oauth scopes.
[scenic] Use C++ structured bindings with scenic::NewViewTokenPair().
[flutter] Use new method in libsys
We need to migrate clients to use
sys::ServcieDirectory::CreateWithRequest which returns a shared
directory. A followup CL will fix function name to old one.
[roll] Roll chromium version:75.0.3740.0
[roll] Roll chromium version:0.0.0.0
[url][shuffle] Migrate mediaplayer to the new home of the url library
[sdk][dart] Extract gen_snapshot tools into their own SDK atom.
The gen_snapshot_sdk generates different metadata depending on the
target cpu so that they don't conflict when merging SDK with different
Test: Verified that the tool could be used to build a working AOT
flutter app targeting fuchsia-arm64.
[fidl][dart] Refactor compatibility_test to use async bindings
And to use the new SDK API.
fx run-test fidl_compatibility_test_topaz
[Base Shell] Refactor Presentation in CommonBaseShellModel
To soft transition presentation.fidl, CommonBaseShellModel
needs to extends instead of implements the Presentation
This CL refactors it by moving the implementation into a
separate class. It also fixes the comments that were
incorrectly marking some methods as Presentation overrides.
[mondrian_lib] Add support multiple surfaces on same layer
Surfaces that are in the same spanning tree are put in the same layer.
Only width is adjusted and all surfaces are given the same size.
TEST=includes unit tests
[dart][zircon] Update constants.dart
Ran the extract_zircon_constants.py script to update constants.dart
based on the Zircon C headers.
Then fixed the script to reflect changes to the ways that constants are defined:
- private constants now prefixed with __ZX are now included
- include rights.h
- instead of trying to expand constant references fix them up to work
Test: built Topaz
[xi] Remove requested Dart dependencies.
They are not used anymore.
[scenic] Migrate ViewConfigDemoView from fuchsia.ui.app to fuchsia.ui.views
This is a reland of 1eeefe85971d682cb8572e7dd173501f81fbdb4d
Original change's description:
> [scenic] Migrate ViewConfigDemoView from fuchsia.ui.app to fuchsia.ui.views
> SCN-1187 #comment
> TEST=fx shell "present_view --locale=en-GB \
> Change-Id: I4ee14cbfb541c2c26fb2a7a9efedc5d4975dc46a
> Depends-On: Id3038ead7319ae8001af6683ac1d049c1b0f82d7
[dart-sdk][device_settings] Use service to reboot device.
devmgr is moving away from /dev/misc/dmctl and will instead export
services to provide system functionality.
This change makes device_settings use the system service instead of the
virtual device to reboot the system.
I could not find a way to talk to a persistent system service from dart
as-is. I had considered something like ChannelFromFile but for services,
however currently you need to whitelist the services at the
flutter_jit_product_runner level so it makes sense to be explicit about
what system services we allow dart apps to contact.
Test: Hit the button on astro, device reboots.
Issue: ZX-3403 # device_settings reboots using service.
[base_shell] remove temporary async libraries.
These libraries were added to facilitate a soft transition and
have since landed in the normal locations.
Test: make sure base shell works.
[roll] Roll chromium version:75.0.3739.0
[sdk] add gen_snapshot binaries to metadata
[latin-ime] refactor to use the new Dart SDK
[Flutter][Scenic] Add ViewHolderConnected event to platform_view
Fidl event added in fxr/263828.
[dart] add explicit source to proposal
[mondrian] Use Dart SDK fuchsia_logger
[dart,flutter] Enable assertion in non-product runners which is crucial to hot reload
This is a follow-up to the changes in 42d866c9420c85794f0b8713a74022afc1be075a