| 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 ] |
| 11 } | 11 } |
| 12 | 12 |
| 13 action("generate_snapshot_bin") { | 13 action("generate_snapshot_bin") { |
| 14 deps = [ | 14 deps = [ |
| 15 "//dart/runtime/bin:gen_snapshot($host_toolchain)", | 15 "//dart/runtime/bin:gen_snapshot($host_toolchain)", |
| 16 "//mojo/public/interfaces/application", | 16 "//mojo/public/interfaces/application", |
| 17 ] | 17 ] |
| 18 inputs = [ | 18 inputs = [ |
| 19 "snapshot.dart", | 19 "snapshot.dart", |
| 20 "//dart/runtime/tools/create_snapshot_bin.py", | 20 "//dart/runtime/tools/create_snapshot_bin.py", |
| 21 "//mojo/dart/embedder/builtin.dart", | 21 "//mojo/dart/embedder/builtin.dart", |
| 22 "//mojo/public/dart/application.dart", | 22 "//mojo/public/dart/application.dart", |
| 23 "//mojo/public/dart/bindings.dart", | 23 "//mojo/public/dart/bindings.dart", |
| 24 "//mojo/public/dart/core.dart", | 24 "//mojo/public/dart/core.dart", |
| 25 "//mojo/public/dart/src/application.dart", | 25 "//mojo/public/dart/src/application.dart", |
| 26 "//mojo/public/dart/src/application_connection.dart", |
| 26 "//mojo/public/dart/src/buffer.dart", | 27 "//mojo/public/dart/src/buffer.dart", |
| 27 "//mojo/public/dart/src/codec.dart", | 28 "//mojo/public/dart/src/codec.dart", |
| 28 "//mojo/public/dart/src/data_pipe.dart", | 29 "//mojo/public/dart/src/data_pipe.dart", |
| 29 "//mojo/public/dart/src/drain_data.dart", | 30 "//mojo/public/dart/src/drain_data.dart", |
| 30 "//mojo/public/dart/src/event_stream.dart", | 31 "//mojo/public/dart/src/event_stream.dart", |
| 31 "//mojo/public/dart/src/handle.dart", | 32 "//mojo/public/dart/src/handle.dart", |
| 32 "//mojo/public/dart/src/handle_watcher.dart", | 33 "//mojo/public/dart/src/handle_watcher.dart", |
| 33 "//mojo/public/dart/src/message.dart", | 34 "//mojo/public/dart/src/message.dart", |
| 34 "//mojo/public/dart/src/message_pipe.dart", | 35 "//mojo/public/dart/src/message_pipe.dart", |
| 35 "//mojo/public/dart/src/proxy.dart", | 36 "//mojo/public/dart/src/proxy.dart", |
| 36 "//mojo/public/dart/src/service_provider.dart", | |
| 37 "//mojo/public/dart/src/struct.dart", | 37 "//mojo/public/dart/src/struct.dart", |
| 38 "//mojo/public/dart/src/stub.dart", | 38 "//mojo/public/dart/src/stub.dart", |
| 39 "//mojo/public/dart/src/timer_queue.dart", | 39 "//mojo/public/dart/src/timer_queue.dart", |
| 40 "//mojo/public/dart/src/types.dart", | 40 "//mojo/public/dart/src/types.dart", |
| 41 ] | 41 ] |
| 42 output = "$target_gen_dir/snapshot_gen.bin" | 42 output = "$target_gen_dir/snapshot_gen.bin" |
| 43 outputs = [ | 43 outputs = [ |
| 44 output, | 44 output, |
| 45 ] | 45 ] |
| 46 | 46 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 "//mojo/dart/embedder:dart_controller_no_snapshot", | 125 "//mojo/dart/embedder:dart_controller_no_snapshot", |
| 126 "//mojo/common", | 126 "//mojo/common", |
| 127 "//mojo/environment:chromium", | 127 "//mojo/environment:chromium", |
| 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 } |
| 138 | 138 |
| 139 mojo_native_application("dart_apptests") { | 139 mojo_native_application("dart_apptests") { |
| 140 testonly = true | 140 testonly = true |
| 141 | 141 |
| 142 sources = [ | 142 sources = [ |
| 143 "echo_apptest.cc", | 143 "echo_apptest.cc", |
| 144 "pingpong_apptest.cc", | 144 "pingpong_apptest.cc", |
| 145 ] | 145 ] |
| 146 | 146 |
| 147 deps = [ | 147 deps = [ |
| 148 "//base", | 148 "//base", |
| 149 "//mojo/application", | 149 "//mojo/application", |
| 150 "//mojo/application:test_support", | 150 "//mojo/application:test_support", |
| 151 "//mojo/public/cpp/bindings", | 151 "//mojo/public/cpp/bindings", |
| 152 "//mojo/public/cpp/system", | 152 "//mojo/public/cpp/system", |
| 153 "//services/dart/test:echo_service_interface", | 153 "//services/dart/test:echo_service_interface", |
| 154 "//services/dart/test:pingpong_service_interface", | 154 "//services/dart/test:pingpong_service_interface", |
| 155 ] | 155 ] |
| 156 data_deps = [ | 156 data_deps = [ |
| 157 "//services/dart/test/echo", | 157 "//services/dart/test/echo", |
| 158 "//services/dart/test/pingpong", | 158 "//services/dart/test/pingpong", |
| 159 "//services/dart/test/pingpong_target", | 159 "//services/dart/test/pingpong_target", |
| 160 ] | 160 ] |
| 161 } | 161 } |
| OLD | NEW |