Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Side by Side Diff: mojo/tools/configs/sky

Issue 1268323003: Support running w/ Sky from a local checkout through a config file. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address Ben's comments. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/tools/configs/README.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # This is a configuration file one can use to run Sky apps from a local Sky
2 # checkout using a locally built Mojo shell. As Sky is a layer on top of Mojo,
3 # this file does not really belong in the Mojo repo and could hopefully move to
4 # sky_engine.
5
6 # To use this you need to check out sky_engine
7 # (https://github.com/domokit/sky_engine ) and build for Android.
8
9 # Then, run the lengthy command-line:
10 #
11 # mojo/devtools/common/mojo_run \
12 # --android \
13 # --config-file mojo/tools/configs/sky \
14 # --config-alias SKY_SRC=/path_to_your_checkout/sky_engine/src \
15 # "mojo:window_manager https://sky/examples/hello_world/lib/main.dart"
16
17 # The sky apps are served from the Sky checkout, so all of
18 # sky/packages/sky/example is available under https://sky/examples .
19
20 {
21 'dev_servers': [
22 {
23 'host': 'https://sky/',
24 'mappings': [
25 ('packages/', [
26 '@{SKY_SRC}/sky/packages/workbench/packages'
27 ]),
28 ('examples/', [
29 '@{SKY_SRC}/sky/packages/sky/example'
30 ]),
31 ('', [
32 '@{SKY_SRC}/out/android_Debug',
33 ]),
34 ],
35 },
36 {
37 'host': 'https://core.mojoapps.io/',
38 'mappings': [
39 ('', ['@{BUILD_DIR}']),
40 ],
41 },
42 ],
43
44 'content_handlers': {
45 'application/dart': 'https://sky/sky_viewer.mojo',
46 }
47 }
OLDNEW
« no previous file with comments | « mojo/tools/configs/README.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698