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 "document_view.cc", | 18 "document_view.cc", |
19 "document_view.h", | 19 "document_view.h", |
20 "internals.cc", | 20 "internals.cc", |
21 "internals.h", | 21 "internals.h", |
22 "runtime_flags.cc", | 22 "runtime_flags.cc", |
23 "runtime_flags.h", | 23 "runtime_flags.h", |
24 "viewer.cc", | 24 "viewer.cc", |
25 ] | 25 ] |
26 | 26 |
27 include_dirs = [ ".." ] | 27 include_dirs = [ ".." ] |
28 | 28 |
29 deps = [ | 29 deps = [ |
30 ":bindings", | |
31 "//mojo/application", | 30 "//mojo/application", |
32 "//mojo/common", | 31 "//mojo/common", |
33 "//mojo/common:tracing_impl", | 32 "//mojo/common:tracing_impl", |
34 "//mojo/converters/geometry", | 33 "//mojo/converters/geometry", |
35 "//mojo/converters/input_events", | 34 "//mojo/converters/input_events", |
36 "//mojo/converters/surfaces", | 35 "//mojo/converters/surfaces", |
37 "//mojo/icu", | 36 "//mojo/icu", |
38 "//mojo/public/cpp/bindings", | 37 "//mojo/public/cpp/bindings", |
39 "//mojo/public/cpp/system", | 38 "//mojo/public/cpp/system", |
40 "//mojo/public/cpp/utility", | 39 "//mojo/public/cpp/utility", |
41 "//mojo/public/interfaces/application", | 40 "//mojo/public/interfaces/application", |
42 "//mojo/services/content_handler/public/interfaces", | 41 "//mojo/services/content_handler/public/interfaces", |
43 "//mojo/services/gpu/public/interfaces", | 42 "//mojo/services/gpu/public/interfaces", |
44 "//mojo/services/input_events/public/interfaces", | 43 "//mojo/services/input_events/public/interfaces", |
45 "//mojo/services/navigation/public/interfaces", | 44 "//mojo/services/navigation/public/interfaces", |
46 "//mojo/services/network/public/interfaces", | 45 "//mojo/services/network/public/interfaces", |
47 "//mojo/services/service_registry/public/interfaces", | 46 "//mojo/services/service_registry/public/interfaces", |
48 "//mojo/services/surfaces/public/interfaces", | 47 "//mojo/services/surfaces/public/interfaces", |
49 "//mojo/services/view_manager/public/cpp", | 48 "//mojo/services/view_manager/public/cpp", |
50 "//mojo/services/view_manager/public/interfaces", | 49 "//mojo/services/view_manager/public/interfaces", |
51 "//skia", | 50 "//skia", |
52 "//sky/compositor", | 51 "//sky/compositor", |
53 "//sky/engine", | 52 "//sky/engine", |
54 "//sky/engine/tonic", | 53 "//sky/engine/tonic", |
55 "//sky/services/inspector:bindings", | |
56 "//sky/services/platform", | 54 "//sky/services/platform", |
57 "//sky/services/testing:bindings", | 55 "//sky/services/testing:bindings", |
58 "//third_party/icu", | 56 "//third_party/icu", |
59 "//ui/events", | 57 "//ui/events", |
60 "//url", | 58 "//url", |
61 ] | 59 ] |
62 } | 60 } |
63 | |
64 mojom("bindings") { | |
65 sources = [ | |
66 "services/inspector.mojom", | |
67 ] | |
68 } | |
OLD | NEW |