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 "script/script_runner.cc", | 28 "script/script_runner.cc", |
29 "script/script_runner.h", | 29 "script/script_runner.h", |
30 "services/tracing_impl.cc", | |
31 "services/tracing_impl.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", | 39 ":sky_modules", |
42 "//base:i18n", | 40 "//base:i18n", |
43 "//gin", | 41 "//gin", |
44 "//mojo/application", | 42 "//mojo/application", |
45 "//mojo/common", | 43 "//mojo/common", |
| 44 "//mojo/common:tracing_impl", |
46 "//mojo/converters/geometry", | 45 "//mojo/converters/geometry", |
47 "//mojo/converters/surfaces", | 46 "//mojo/converters/surfaces", |
48 "//mojo/edk/js", | 47 "//mojo/edk/js", |
49 "//mojo/public/c/system:for_shared_library", | 48 "//mojo/public/c/system:for_shared_library", |
50 "//mojo/public/cpp/bindings", | 49 "//mojo/public/cpp/bindings", |
51 "//mojo/public/cpp/system", | 50 "//mojo/public/cpp/system", |
52 "//mojo/public/cpp/utility", | 51 "//mojo/public/cpp/utility", |
53 "//mojo/public/interfaces/application", | 52 "//mojo/public/interfaces/application", |
54 "//mojo/services/public/cpp/view_manager", | 53 "//mojo/services/public/cpp/view_manager", |
55 "//mojo/services/public/interfaces/content_handler", | 54 "//mojo/services/public/interfaces/content_handler", |
(...skipping 10 matching lines...) Expand all Loading... |
66 "//sky/services/inspector:bindings", | 65 "//sky/services/inspector:bindings", |
67 "//sky/services/testing:bindings", | 66 "//sky/services/testing:bindings", |
68 "//third_party/icu", | 67 "//third_party/icu", |
69 "//ui/native_theme", | 68 "//ui/native_theme", |
70 "//url", | 69 "//url", |
71 ] | 70 ] |
72 } | 71 } |
73 | 72 |
74 mojom("bindings") { | 73 mojom("bindings") { |
75 sources = [ | 74 sources = [ |
76 "services/tracing.mojom", | |
77 "services/inspector.mojom", | 75 "services/inspector.mojom", |
78 ] | 76 ] |
79 } | 77 } |
80 | 78 |
81 copy("sky_modules") { | 79 copy("sky_modules") { |
82 sources = [ | 80 sources = [ |
83 "script/core.sky", | 81 "script/core.sky", |
84 "script/support.sky", | 82 "script/support.sky", |
85 ] | 83 ] |
86 outputs = [ | 84 outputs = [ |
87 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", | 85 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", |
88 ] | 86 ] |
89 } | 87 } |
OLD | NEW |