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

Unified Diff: services/dart/BUILD.gn

Issue 1027603002: Dart: Removes all but native calls and the handle watcher from the snapshot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hoist application interface dependence Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | services/dart/dart_apptests/echo_apptests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/BUILD.gn
diff --git a/services/dart/BUILD.gn b/services/dart/BUILD.gn
index 3ce6764f9fa0c3d2edb008b7292f54af2ae994c8..1f4041afaeaf3b426706e2dfb2afbfa9364f59fe 100644
--- a/services/dart/BUILD.gn
+++ b/services/dart/BUILD.gn
@@ -13,31 +13,15 @@ group("dart") {
action("generate_snapshot_bin") {
deps = [
"//dart/runtime/bin:gen_snapshot($host_toolchain)",
- "//mojo/public/interfaces/application",
]
inputs = [
"snapshot.dart",
"//dart/runtime/tools/create_snapshot_bin.py",
"//mojo/dart/embedder/builtin.dart",
- "//mojo/public/dart/application.dart",
- "//mojo/public/dart/bindings.dart",
- "//mojo/public/dart/core.dart",
- "//mojo/public/dart/src/application.dart",
- "//mojo/public/dart/src/application_connection.dart",
- "//mojo/public/dart/src/buffer.dart",
- "//mojo/public/dart/src/codec.dart",
- "//mojo/public/dart/src/data_pipe.dart",
- "//mojo/public/dart/src/drain_data.dart",
- "//mojo/public/dart/src/event_stream.dart",
- "//mojo/public/dart/src/handle.dart",
+ "//mojo/public/dart/internal.dart",
"//mojo/public/dart/src/handle_watcher.dart",
- "//mojo/public/dart/src/message.dart",
- "//mojo/public/dart/src/message_pipe.dart",
- "//mojo/public/dart/src/proxy.dart",
- "//mojo/public/dart/src/struct.dart",
- "//mojo/public/dart/src/stub.dart",
+ "//mojo/public/dart/src/natives.dart",
"//mojo/public/dart/src/timer_queue.dart",
- "//mojo/public/dart/src/types.dart",
]
output = "$target_gen_dir/snapshot_gen.bin"
outputs = [
@@ -48,10 +32,8 @@ action("generate_snapshot_bin") {
get_label_info("//dart/runtime/bin:gen_snapshot($host_toolchain)",
"root_out_dir")
script = "//dart/runtime/tools/create_snapshot_bin.py"
- application_path = rebase_path("//mojo/public/dart/application.dart")
builtin_path = rebase_path("//mojo/dart/embedder/builtin.dart")
- bindings_path = rebase_path("//mojo/public/dart/bindings.dart")
- core_path = rebase_path("//mojo/public/dart/core.dart")
+ internal_path = rebase_path("//mojo/public/dart/internal.dart")
args = [
"--executable",
rebase_path("$gen_snapshot_dir/gen_snapshot"),
@@ -63,10 +45,8 @@ action("generate_snapshot_bin") {
rebase_path(output, root_build_dir),
"--target_os",
os,
- "--url_mapping=dart:mojo.application,$application_path",
- "--url_mapping=dart:mojo.bindings,$bindings_path",
"--url_mapping=dart:mojo.builtin,$builtin_path",
- "--url_mapping=dart:mojo.core,$core_path",
+ "--url_mapping=dart:mojo.internal,$internal_path",
]
}
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | services/dart/dart_apptests/echo_apptests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698