Chromium Code Reviews
DescriptionIntroduce Sky packaged apps.
This CL introduces Sky packaged applications, which are very similar to Dart
packaged applications but run in sky_packaged_app_viewer rather than the Dart
content handler. sky_packaged_app_viewer does the following:
- Unzips the application into a temporary dir.
- Sets up a local HttpServer and HttpHandler to serve requests for files in
this temporary dir.
- Loads the unpacked Sky application, treating "main.sky" as the entrypoint.
An example sky_packaged_application //sky/examples/hello_world. To see it in
action, run the following command after building:
./out/Debug/mojo_shell '--args-for=mojo:kiosk_wm mojo:sky_hello_world' mojo:kiosk_wm
or:
./mojo/tools/android_mojo_shell '--args-for=mojo:kiosk_wm mojo:sky_hello_world' mojo:kiosk_wm
Patch Set 1 #Patch Set 2 : Add example dart packaged app that uses Sky #
Total comments: 10
Patch Set 3 : Switch to using local http server #
Total comments: 3
Patch Set 4 : Load Sky app in sky_packaged_app_viewer, handle requests while extracting #
Total comments: 6
Patch Set 5 : Response to qsr's review #
Messages
Total messages: 24 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||