| 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 source_set("lib") { |
| 9 output_name = "sky_viewer" | |
| 10 | |
| 11 sources = [ | 9 sources = [ |
| 12 "content_handler_impl.cc", | |
| 13 "content_handler_impl.h", | |
| 14 "converters/basic_types.cc", | 10 "converters/basic_types.cc", |
| 15 "converters/basic_types.h", | 11 "converters/basic_types.h", |
| 16 "converters/input_event_types.cc", | 12 "converters/input_event_types.cc", |
| 17 "converters/input_event_types.h", | 13 "converters/input_event_types.h", |
| 18 "document_view.cc", | 14 "document_view.cc", |
| 19 "document_view.h", | 15 "document_view.h", |
| 20 "internals.cc", | 16 "internals.cc", |
| 21 "internals.h", | 17 "internals.h", |
| 22 "runtime_flags.cc", | 18 "runtime_flags.cc", |
| 23 "runtime_flags.h", | 19 "runtime_flags.h", |
| 24 "viewer.cc", | 20 "sky_loader.cc", |
| 21 "sky_loader.h", |
| 22 "sky_viewer_base.cc", |
| 23 "sky_viewer_base.h", |
| 25 ] | 24 ] |
| 26 | 25 |
| 27 include_dirs = [ ".." ] | 26 include_dirs = [ ".." ] |
| 28 | 27 |
| 29 deps = [ | 28 deps = [ |
| 30 "//mojo/application", | 29 "//mojo/application", |
| 31 "//mojo/common", | 30 "//mojo/common", |
| 32 "//mojo/common:tracing_impl", | 31 "//mojo/common:tracing_impl", |
| 33 "//mojo/converters/geometry", | 32 "//mojo/converters/geometry", |
| 34 "//mojo/converters/input_events", | 33 "//mojo/converters/input_events", |
| 35 "//mojo/converters/surfaces", | 34 "//mojo/converters/surfaces", |
| 36 "//mojo/icu", | 35 "//mojo/icu", |
| 37 "//mojo/public/cpp/bindings", | |
| 38 "//mojo/public/cpp/system", | 36 "//mojo/public/cpp/system", |
| 39 "//mojo/public/cpp/utility", | |
| 40 "//mojo/public/interfaces/application", | 37 "//mojo/public/interfaces/application", |
| 41 "//mojo/services/content_handler/public/interfaces", | 38 "//mojo/services/content_handler/public/interfaces", |
| 42 "//mojo/services/gpu/public/interfaces", | 39 "//mojo/services/gpu/public/interfaces", |
| 43 "//mojo/services/input_events/public/interfaces", | 40 "//mojo/services/input_events/public/interfaces", |
| 44 "//mojo/services/navigation/public/interfaces", | 41 "//mojo/services/navigation/public/interfaces", |
| 45 "//mojo/services/network/public/interfaces", | 42 "//mojo/services/network/public/interfaces", |
| 46 "//mojo/services/service_registry/public/interfaces", | 43 "//mojo/services/service_registry/public/interfaces", |
| 47 "//mojo/services/surfaces/public/interfaces", | 44 "//mojo/services/surfaces/public/interfaces", |
| 48 "//mojo/services/view_manager/public/cpp", | |
| 49 "//mojo/services/view_manager/public/interfaces", | 45 "//mojo/services/view_manager/public/interfaces", |
| 50 "//skia", | 46 "//skia", |
| 51 "//sky/compositor", | 47 "//sky/compositor", |
| 52 "//sky/engine", | 48 "//sky/engine", |
| 53 "//sky/engine/tonic", | 49 "//sky/engine/tonic", |
| 54 "//sky/services/platform", | 50 "//sky/services/platform", |
| 55 "//sky/services/testing:bindings", | 51 "//sky/services/testing:bindings", |
| 56 "//third_party/icu", | 52 "//third_party/icu", |
| 57 "//ui/events", | 53 "//ui/events", |
| 58 "//url", | 54 "//url", |
| 59 ] | 55 ] |
| 56 |
| 57 public_deps = [ |
| 58 "//mojo/services/view_manager/public/cpp", |
| 59 ] |
| 60 } | 60 } |
| 61 |
| 62 mojo_native_application("viewer") { |
| 63 output_name = "sky_viewer" |
| 64 |
| 65 sources = [ |
| 66 "content_handler_impl.cc", |
| 67 "content_handler_impl.h", |
| 68 "viewer.cc", |
| 69 ] |
| 70 |
| 71 include_dirs = [ ".." ] |
| 72 |
| 73 deps = [ |
| 74 ":lib", |
| 75 "//base", |
| 76 "//mojo/application", |
| 77 "//mojo/public/cpp/bindings", |
| 78 "//mojo/public/cpp/utility", |
| 79 "//mojo/public/interfaces/application", |
| 80 "//mojo/services/content_handler/public/interfaces", |
| 81 "//mojo/services/network/public/interfaces", |
| 82 ] |
| 83 } |
| OLD | NEW |