|
Currently we use package: to mean "/gen", which is not at all how
Dart actually expects package: to work. This CL makes package:foo
map to /packages/foo, similar to how Dartium or bin/dart would expect.
This also means overlaying the /gen directory over the actual package
outputs (as consumers of an SDK would expect) as well as adding
an additional /lib indirection for the actual package source as
the Dart pub tool will expect.
This is far from perfect, but it unlocks us actually producing a
sky SDK.
I expect there may be some fallout from this change as I'm sure I
missed some package: uses. We also don't have a general solution
for all /foo/bar/baz includes which randomly included parts
of mojo's source directory. Those will need to be updated to use
a package: and deploy_sdk.py taught how to build a package for them.
R=abarth@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/17265472fbfb9a75d1c4281f10d991744a642a2e
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+308 lines, -38 lines) |
Patch |
 |
M |
examples/browser/browser.sky
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
examples/location/location.sky
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/tools/mojo_demo.py
|
View
|
1
2
3
|
1 chunk |
+14 lines, -1 line |
1 comment
|
Download
|
 |
M |
sky/SDK.md
|
View
|
1
|
1 chunk |
+23 lines, -16 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/script/dart_loader.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/framework/components/icon.dart
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/framework/debug/shake-to-reload.sky
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/framework/embedder.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/framework/shell.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
sky/sdk/README.md
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
1 comment
|
Download
|
 |
M |
sky/tests/resources/event-sender.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/tests/services/event-sender.sky
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/tests/services/iframe-embed-vmc.sky
|
View
|
1
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A |
sky/tools/deploy_sdk.py
|
View
|
1
2
3
|
1 chunk |
+205 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/tools/skydb
|
View
|
1
2
3
|
2 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sky/tools/skygo/sky_server.go
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/tools/skygo/sky_server.sha1
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/tools/skypy/skyserver.py
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/tools/webkitpy/layout_tests/port/base.py
|
View
|
1
2
3
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|