| 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 source_set("dart_controller") { | 13 source_set("dart_controller") { |
| 14 sources = [ | 14 sources = [ |
| 15 "$root_gen_dir/dart_snapshot.cc", | 15 "$root_gen_dir/dart_snapshot.cc", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 deps = [ | 18 deps = [ |
| 19 "//mojo/dart/embedder:dart_controller_no_snapshot", | 19 "//mojo/dart/embedder:dart_controller_no_snapshot", |
| 20 "//mojo/dart/embedder:generate_snapshot_file", | 20 "//mojo/dart/embedder:generate_snapshot_file", |
| 21 ] | 21 ] |
| 22 } | 22 } |
| 23 | 23 |
| 24 mojo_native_application("dart_content_handler") { | 24 mojo_native_application("dart_content_handler") { |
| 25 sources = [ | 25 sources = [ |
| 26 "content_handler_main.cc", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 ":lib", |
| 31 "//mojo/application", |
| 32 ] |
| 33 } |
| 34 |
| 35 # Library that allows the service code to be included directly into the |
| 36 # embedding shell. Used by https://manganese.googlesource.com/. |
| 37 source_set("lib") { |
| 38 sources = [ |
| 39 "content_handler_app.cc", |
| 40 "content_handler_app.h", |
| 26 "content_handler_app_service_connector.cc", | 41 "content_handler_app_service_connector.cc", |
| 27 "content_handler_app_service_connector.h", | 42 "content_handler_app_service_connector.h", |
| 28 "content_handler_main.cc", | |
| 29 "dart_app.cc", | 43 "dart_app.cc", |
| 30 "dart_app.h", | 44 "dart_app.h", |
| 31 "dart_tracing.cc", | 45 "dart_tracing.cc", |
| 32 "dart_tracing.h", | 46 "dart_tracing.h", |
| 33 ] | 47 ] |
| 34 | 48 |
| 35 deps = [ | 49 deps = [ |
| 36 ":dart_controller", | 50 ":dart_controller", |
| 37 "//base", | 51 "//base", |
| 38 "//base:i18n", | 52 "//base:i18n", |
| 39 "//crypto", | 53 "//crypto", |
| 40 "//dart/runtime:libdart", | 54 "//dart/runtime:libdart", |
| 41 "//mojo/application", | 55 "//mojo/application", |
| 42 "//mojo/application:content_handler", | 56 "//mojo/application:content_handler", |
| 57 "//mojo/common:tracing_impl", |
| 43 "//mojo/dart/embedder:dart_controller_no_snapshot", | 58 "//mojo/dart/embedder:dart_controller_no_snapshot", |
| 44 "//mojo/data_pipe_utils", | 59 "//mojo/data_pipe_utils", |
| 45 "//mojo/common:tracing_impl", | |
| 46 "//mojo/environment:chromium", | 60 "//mojo/environment:chromium", |
| 47 "//mojo/public/cpp/system", | 61 "//mojo/public/cpp/system", |
| 48 "//mojo/public/cpp/utility", | 62 "//mojo/public/cpp/utility", |
| 49 "//mojo/public/interfaces/application", | 63 "//mojo/public/interfaces/application", |
| 50 "//mojo/services/content_handler/interfaces", | 64 "//mojo/services/content_handler/interfaces", |
| 51 "//mojo/services/files/interfaces", | 65 "//mojo/services/files/interfaces", |
| 52 "//mojo/services/network/interfaces", | 66 "//mojo/services/network/interfaces", |
| 53 "//mojo/services/tracing/interfaces", | 67 "//mojo/services/tracing/interfaces", |
| 54 "//mojo/services/url_response_disk_cache/interfaces", | 68 "//mojo/services/url_response_disk_cache/interfaces", |
| 55 "//third_party/zlib:zip", | 69 "//third_party/zlib:zip", |
| 56 "//url:url", | 70 "//url:url", |
| 57 ] | 71 ] |
| 58 } | 72 } |
| OLD | NEW |