OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 | 6 |
7 group("dart") { | 7 group("dart") { |
8 deps = [ | 8 deps = [ |
9 ":dart_content_handler", | 9 ":dart_content_handler", |
10 ] | 10 ] |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "--executable", | 56 "--executable", |
57 rebase_path("$gen_snapshot_dir/gen_snapshot"), | 57 rebase_path("$gen_snapshot_dir/gen_snapshot"), |
58 "--package_root", | 58 "--package_root", |
59 rebase_path("$root_gen_dir"), | 59 rebase_path("$root_gen_dir"), |
60 "--script", | 60 "--script", |
61 rebase_path("snapshot.dart"), | 61 rebase_path("snapshot.dart"), |
62 "--output_bin", | 62 "--output_bin", |
63 rebase_path(output, root_build_dir), | 63 rebase_path(output, root_build_dir), |
64 "--target_os", | 64 "--target_os", |
65 os, | 65 os, |
66 "--url_mapping=mojo:application,$application_path", | 66 "--url_mapping=dart:mojo.application,$application_path", |
67 "--url_mapping=mojo:bindings,$bindings_path", | 67 "--url_mapping=dart:mojo.bindings,$bindings_path", |
68 "--url_mapping=mojo:builtin,$builtin_path", | 68 "--url_mapping=dart:mojo.builtin,$builtin_path", |
69 "--url_mapping=mojo:core,$core_path", | 69 "--url_mapping=dart:mojo.core,$core_path", |
70 ] | 70 ] |
71 } | 71 } |
72 | 72 |
73 action("generate_snapshot_file") { | 73 action("generate_snapshot_file") { |
74 deps = [ | 74 deps = [ |
75 ":generate_snapshot_bin", | 75 ":generate_snapshot_bin", |
76 ] | 76 ] |
77 inputs = [ | 77 inputs = [ |
78 "//dart/runtime/tools/create_snapshot_file.py", | 78 "//dart/runtime/tools/create_snapshot_file.py", |
79 "//mojo/dart/embedder/snapshot.cc.tmpl", | 79 "//mojo/dart/embedder/snapshot.cc.tmpl", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 "//mojo/icu", | 128 "//mojo/icu", |
129 "//mojo/public/cpp/system", | 129 "//mojo/public/cpp/system", |
130 "//mojo/public/cpp/utility", | 130 "//mojo/public/cpp/utility", |
131 "//mojo/public/interfaces/application", | 131 "//mojo/public/interfaces/application", |
132 "//mojo/services/content_handler/public/interfaces", | 132 "//mojo/services/content_handler/public/interfaces", |
133 "//mojo/services/network/public/interfaces", | 133 "//mojo/services/network/public/interfaces", |
134 "//third_party/zlib:zip", | 134 "//third_party/zlib:zip", |
135 "//url:url", | 135 "//url:url", |
136 ] | 136 ] |
137 } | 137 } |
OLD | NEW |