| 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 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 mojo_native_application("viewer") { | 8 mojo_native_application("viewer") { |
| 9 output_name = "sky_viewer" | 9 output_name = "sky_viewer" |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "content_handler_impl.cc", | 12 "content_handler_impl.cc", |
| 13 "content_handler_impl.h", | 13 "content_handler_impl.h", |
| 14 "converters/basic_types.cc", | 14 "converters/basic_types.cc", |
| 15 "converters/basic_types.h", | 15 "converters/basic_types.h", |
| 16 "converters/input_event_types.cc", | 16 "converters/input_event_types.cc", |
| 17 "converters/input_event_types.h", | 17 "converters/input_event_types.h", |
| 18 "converters/url_request_types.cc", | 18 "converters/url_request_types.cc", |
| 19 "converters/url_request_types.h", | 19 "converters/url_request_types.h", |
| 20 "document_view.cc", | 20 "document_view.cc", |
| 21 "document_view.h", | 21 "document_view.h", |
| 22 "internals.cc", | 22 "internals.cc", |
| 23 "internals.h", | 23 "internals.h", |
| 24 "platform/platform_impl.cc", | 24 "platform/platform_impl.cc", |
| 25 "platform/platform_impl.h", | 25 "platform/platform_impl.h", |
| 26 "platform/weburlloader_impl.cc", | 26 "platform/weburlloader_impl.cc", |
| 27 "platform/weburlloader_impl.h", | 27 "platform/weburlloader_impl.h", |
| 28 "runtime_flags.cc", | 28 "runtime_flags.cc", |
| 29 "runtime_flags.h", | 29 "runtime_flags.h", |
| 30 "script/script_runner.cc", | |
| 31 "script/script_runner.h", | |
| 32 "services/inspector_impl.cc", | 30 "services/inspector_impl.cc", |
| 33 "services/inspector_impl.h", | 31 "services/inspector_impl.h", |
| 34 "viewer.cc", | 32 "viewer.cc", |
| 35 ] | 33 ] |
| 36 | 34 |
| 37 include_dirs = [ ".." ] | 35 include_dirs = [ ".." ] |
| 38 | 36 |
| 39 deps = [ | 37 deps = [ |
| 40 ":bindings", | 38 ":bindings", |
| 41 ":sky_modules", | |
| 42 "//gin", | |
| 43 "//mojo/application", | 39 "//mojo/application", |
| 44 "//mojo/common", | 40 "//mojo/common", |
| 45 "//mojo/common:tracing_impl", | 41 "//mojo/common:tracing_impl", |
| 46 "//mojo/converters/geometry", | 42 "//mojo/converters/geometry", |
| 47 "//mojo/converters/input_events", | 43 "//mojo/converters/input_events", |
| 48 "//mojo/converters/surfaces", | 44 "//mojo/converters/surfaces", |
| 49 "//mojo/edk/js", | 45 "//mojo/edk/js", |
| 50 "//mojo/icu", | 46 "//mojo/icu", |
| 51 "//mojo/public/cpp/bindings", | 47 "//mojo/public/cpp/bindings", |
| 52 "//mojo/public/cpp/system", | 48 "//mojo/public/cpp/system", |
| 53 "//mojo/public/cpp/utility", | 49 "//mojo/public/cpp/utility", |
| 54 "//mojo/public/interfaces/application", | 50 "//mojo/public/interfaces/application", |
| 55 "//mojo/services/content_handler/public/interfaces", | 51 "//mojo/services/content_handler/public/interfaces", |
| 56 "//mojo/services/gpu/public/interfaces", | 52 "//mojo/services/gpu/public/interfaces", |
| 57 "//mojo/services/input_events/public/interfaces", | 53 "//mojo/services/input_events/public/interfaces", |
| 58 "//mojo/services/navigation/public/interfaces", | 54 "//mojo/services/navigation/public/interfaces", |
| 59 "//mojo/services/network/public/interfaces", | 55 "//mojo/services/network/public/interfaces", |
| 60 "//mojo/services/surfaces/public/interfaces", | 56 "//mojo/services/surfaces/public/interfaces", |
| 61 "//mojo/services/view_manager/public/cpp", | 57 "//mojo/services/view_manager/public/cpp", |
| 62 "//net", | 58 "//net", |
| 63 "//skia", | 59 "//skia", |
| 64 "//sky/compositor", | 60 "//sky/compositor", |
| 65 "//sky/engine", | 61 "//sky/engine", |
| 66 "//sky/engine/v8_inspector", | 62 "//sky/engine/tonic", |
| 67 "//sky/services/inspector:bindings", | 63 "//sky/services/inspector:bindings", |
| 68 "//sky/services/testing:bindings", | 64 "//sky/services/testing:bindings", |
| 69 "//third_party/icu", | 65 "//third_party/icu", |
| 70 "//ui/events", | 66 "//ui/events", |
| 71 "//url", | 67 "//url", |
| 72 ] | 68 ] |
| 73 } | 69 } |
| 74 | 70 |
| 75 mojom("bindings") { | 71 mojom("bindings") { |
| 76 sources = [ | 72 sources = [ |
| 77 "services/inspector.mojom", | 73 "services/inspector.mojom", |
| 78 ] | 74 ] |
| 79 } | 75 } |
| 80 | |
| 81 copy("sky_modules") { | |
| 82 sources = [ | |
| 83 "script/core.sky", | |
| 84 "script/support.sky", | |
| 85 "script/threading.sky", | |
| 86 ] | |
| 87 outputs = [ | |
| 88 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", | |
| 89 ] | |
| 90 } | |
| OLD | NEW |