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.gni") | 5 import("//mojo/public/mojo.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 | 7 |
8 # GYP version: mojo/mojo_services.gypi:html_viewer | 8 source_set("lib") { |
9 mojo_native_application("html_viewer") { | |
10 sources = [ | 9 sources = [ |
| 10 "ax_provider_impl.cc", |
| 11 "ax_provider_impl.h", |
11 "blink_basic_type_converters.cc", | 12 "blink_basic_type_converters.cc", |
12 "blink_basic_type_converters.h", | 13 "blink_basic_type_converters.h", |
13 "blink_input_events_type_converters.cc", | 14 "blink_input_events_type_converters.cc", |
14 "blink_input_events_type_converters.h", | 15 "blink_input_events_type_converters.h", |
15 "blink_platform_impl.cc", | 16 "blink_platform_impl.cc", |
16 "blink_platform_impl.h", | 17 "blink_platform_impl.h", |
17 "blink_url_request_type_converters.cc", | 18 "blink_url_request_type_converters.cc", |
18 "blink_url_request_type_converters.h", | 19 "blink_url_request_type_converters.h", |
19 "html_viewer.cc", | |
20 "html_document_view.cc", | 20 "html_document_view.cc", |
21 "html_document_view.h", | 21 "html_document_view.h", |
| 22 "mojo_blink_platform_impl.cc", |
| 23 "mojo_blink_platform_impl.h", |
22 "webclipboard_impl.cc", | 24 "webclipboard_impl.cc", |
23 "webclipboard_impl.h", | 25 "webclipboard_impl.h", |
24 "webcookiejar_impl.cc", | 26 "webcookiejar_impl.cc", |
25 "webcookiejar_impl.h", | 27 "webcookiejar_impl.h", |
26 "webmediaplayer_factory.cc", | 28 "webmediaplayer_factory.cc", |
27 "webmediaplayer_factory.h", | 29 "webmediaplayer_factory.h", |
28 "webmimeregistry_impl.cc", | 30 "webmimeregistry_impl.cc", |
29 "webmimeregistry_impl.h", | 31 "webmimeregistry_impl.h", |
30 "websockethandle_impl.cc", | 32 "websockethandle_impl.cc", |
31 "websockethandle_impl.h", | 33 "websockethandle_impl.h", |
(...skipping 23 matching lines...) Expand all Loading... |
55 "//mojo/application", | 57 "//mojo/application", |
56 "//mojo/cc", | 58 "//mojo/cc", |
57 "//mojo/common", | 59 "//mojo/common", |
58 "//mojo/converters/surfaces", | 60 "//mojo/converters/surfaces", |
59 "//mojo/public/c/system:for_shared_library", | 61 "//mojo/public/c/system:for_shared_library", |
60 "//mojo/public/cpp/bindings", | 62 "//mojo/public/cpp/bindings", |
61 "//mojo/public/cpp/utility", | 63 "//mojo/public/cpp/utility", |
62 "//mojo/public/interfaces/application", | 64 "//mojo/public/interfaces/application", |
63 "//mojo/services/public/cpp/network", | 65 "//mojo/services/public/cpp/network", |
64 "//mojo/services/public/cpp/view_manager", | 66 "//mojo/services/public/cpp/view_manager", |
| 67 "//mojo/services/public/interfaces/accessibility", |
65 "//mojo/services/public/interfaces/clipboard", | 68 "//mojo/services/public/interfaces/clipboard", |
66 "//mojo/services/public/interfaces/content_handler", | 69 "//mojo/services/public/interfaces/content_handler", |
67 "//mojo/services/public/interfaces/gpu", | 70 "//mojo/services/public/interfaces/gpu", |
68 "//mojo/services/public/interfaces/input_events:input_events", | 71 "//mojo/services/public/interfaces/input_events:input_events", |
69 "//mojo/services/public/interfaces/navigation", | 72 "//mojo/services/public/interfaces/navigation", |
70 "//mojo/services/public/interfaces/network", | 73 "//mojo/services/public/interfaces/network", |
71 "//mojo/services/public/interfaces/surfaces", | 74 "//mojo/services/public/interfaces/surfaces", |
72 "//net", | 75 "//net", |
73 "//skia", | 76 "//skia", |
74 "//third_party/WebKit/public:blink", | |
75 "//ui/native_theme", | 77 "//ui/native_theme", |
76 "//url", | 78 "//url", |
77 ] | 79 ] |
| 80 |
| 81 public_deps = [ |
| 82 "//third_party/WebKit/public:blink", |
| 83 ] |
78 } | 84 } |
| 85 |
| 86 # GYP version: mojo/mojo_services.gypi:html_viewer |
| 87 shared_library("html_viewer") { |
| 88 sources = [ |
| 89 "html_viewer.cc", |
| 90 ] |
| 91 deps = [ |
| 92 ":lib", |
| 93 ] |
| 94 } |
| 95 |
| 96 test("tests") { |
| 97 output_name = "html_viewer_unittests" |
| 98 sources = [ |
| 99 "ax_provider_impl_unittest.cc", |
| 100 ] |
| 101 deps = [ |
| 102 ":lib", |
| 103 "//base/test:run_all_unittests", |
| 104 ] |
| 105 } |
OLD | NEW |