|
Dart: Removes all but native calls and the handle watcher from the snapshot.
The bindings, core, and application libraries are now referred to as, e.g.:
package:mojo/public/dart/core.dart
Since the handle watcher remains in the snapshot, it no
longer refers to types defined in core.dart. References to types defined
in core.dart are also removed from mojo_natives.cc.
In Dart packaged apps, the SDK is zipped up under mojo/public/dart.
For embedder tests, the SDK is copied into the generated source output directory.
A base_dir parameter is added to the 'dart_package' and 'mojom' GN macros so that
consumers of the Mojo SDK can all import using the same URIs regardless of where
the SDK lives in their source trees.
BUG=
R=erg@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/92c2402531955da1f48a18c986f24aa21a50cc77
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+660 lines, -751 lines) |
Patch |
 |
M |
examples/dart/console_example/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
examples/dart/console_example/main.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
examples/dart/hello_world/hello/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
examples/dart/hello_world/hello/main.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
examples/dart/hello_world/world/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
examples/dart/hello_world/world/main.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
examples/dart/wget/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
examples/dart/wget/main.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/apptest/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/apptest/apptest/apptest.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/BUILD.gn
|
View
|
|
5 chunks |
+5 lines, -19 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/builtin.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/builtin.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+16 lines, -14 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/builtin.dart
|
View
|
1
2
3
4
5
6
|
12 chunks |
+11 lines, -27 lines |
0 comments
|
Download
|
 |
D |
mojo/dart/embedder/core/buffer_patch.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
mojo/dart/embedder/core/data_pipe_patch.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
mojo/dart/embedder/core/handle_patch.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
mojo/dart/embedder/core/handle_watcher_patch.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
mojo/dart/embedder/core/message_pipe_patch.dart
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
mojo/dart/embedder/core/natives_patch.dart
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/dart_controller.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+23 lines, -46 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/mojo_natives.cc
|
View
|
|
6 chunks |
+13 lines, -49 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/test/BUILD.gn
|
View
|
|
5 chunks |
+35 lines, -18 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/test/dart_to_cpp_tests.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/embedder/test/test_snapshot.dart
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/async_await_test.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/test/bindings_generation_test.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/codec_test.dart
|
View
|
1
2
3
4
5
6
|
27 chunks |
+163 lines, -96 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/compile_all_interfaces_test.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/core_test.dart
|
View
|
1
2
3
4
5
6
|
9 chunks |
+20 lines, -25 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/exception_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/test/handle_finalizer_test.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/handle_watcher_test.dart
|
View
|
1
2
3
4
5
6
|
6 chunks |
+6 lines, -13 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/import_mojo.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/ping_pong_test.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/test/simple_handle_watcher_test.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/test/uri_base_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/test/validation_test.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
mojo/public/dart/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/application.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/bindings.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/dart/core.dart
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
mojo/public/dart/internal.dart
|
View
|
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/rules.gni
|
View
|
|
2 chunks |
+4 lines, -42 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/buffer.dart
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -27 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/data_pipe.dart
|
View
|
1
2
3
4
5
6
|
8 chunks |
+8 lines, -31 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/event_stream.dart
|
View
|
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/handle.dart
|
View
|
1
2
3
4
5
6
|
4 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/handle_watcher.dart
|
View
|
1
2
3
4
5
6
|
13 chunks |
+70 lines, -78 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/message_pipe.dart
|
View
|
|
4 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
A |
mojo/public/dart/src/natives.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/dart/src/timer_queue.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/interfaces/application/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom.gni
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/dart/BUILD.gn
|
View
|
|
3 chunks |
+4 lines, -24 lines |
0 comments
|
Download
|
 |
M |
services/dart/dart_apptests/echo_apptests.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/dart/dart_apptests/pingpong_apptests.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/dart/snapshot.dart
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/dart/test/echo/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/dart/test/echo/main.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/dart/test/pingpong/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/dart/test/pingpong/main.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/dart/test/pingpong_target/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/dart/test/pingpong_target/main.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sky/engine/bindings/BUILD.gn
|
View
|
|
3 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
 |
M |
sky/engine/bindings/builtin.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sky/engine/bindings/builtin.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sky/engine/bindings/mojo_natives.cc
|
View
|
|
6 chunks |
+14 lines, -48 lines |
0 comments
|
Download
|
 |
M |
sky/engine/bindings/snapshot.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/script/dart_controller.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sky/framework/embedder.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sky/tests/services/iframe-embed-vmc.sky
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/tests/services/network.sky
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/dart/patch_sdk.diff
|
View
|
1
|
1 chunk |
+3 lines, -15 lines |
0 comments
|
Download
|
Total messages: 10 (1 generated)
|