| Index: mojo/services/html_viewer/BUILD.gn
|
| diff --git a/mojo/services/html_viewer/BUILD.gn b/mojo/services/html_viewer/BUILD.gn
|
| index b362140823095b5d41ea23d0e40d706fbd64fb9a..e2ea1423af5e0dda71c95b07ae78c3dc37a90ced 100644
|
| --- a/mojo/services/html_viewer/BUILD.gn
|
| +++ b/mojo/services/html_viewer/BUILD.gn
|
| @@ -2,9 +2,10 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -# GYP version: mojo/mojo_services.gypi:html_viewer
|
| -shared_library("html_viewer") {
|
| +source_set("lib") {
|
| sources = [
|
| + "ax_provider_impl.cc",
|
| + "ax_provider_impl.h",
|
| "blink_basic_type_converters.cc",
|
| "blink_basic_type_converters.h",
|
| "blink_input_events_type_converters.cc",
|
| @@ -13,9 +14,10 @@ shared_library("html_viewer") {
|
| "blink_platform_impl.h",
|
| "blink_url_request_type_converters.cc",
|
| "blink_url_request_type_converters.h",
|
| - "html_viewer.cc",
|
| "html_document_view.cc",
|
| "html_document_view.h",
|
| + "mojo_blink_platform_impl.cc",
|
| + "mojo_blink_platform_impl.h",
|
| "webclipboard_impl.cc",
|
| "webclipboard_impl.h",
|
| "webcookiejar_impl.cc",
|
| @@ -59,6 +61,7 @@ shared_library("html_viewer") {
|
| "//mojo/public/interfaces/application",
|
| "//mojo/services/public/cpp/network",
|
| "//mojo/services/public/cpp/view_manager",
|
| + "//mojo/services/public/interfaces/accessibility",
|
| "//mojo/services/public/interfaces/clipboard",
|
| "//mojo/services/public/interfaces/content_handler",
|
| "//mojo/services/public/interfaces/gpu",
|
| @@ -68,8 +71,32 @@ shared_library("html_viewer") {
|
| "//mojo/services/public/interfaces/surfaces",
|
| "//net",
|
| "//skia",
|
| - "//third_party/WebKit/public:blink",
|
| "//ui/native_theme",
|
| "//url",
|
| ]
|
| +
|
| + public_deps = [
|
| + "//third_party/WebKit/public:blink",
|
| + ]
|
| +}
|
| +
|
| +# GYP version: mojo/mojo_services.gypi:html_viewer
|
| +shared_library("html_viewer") {
|
| + sources = [
|
| + "html_viewer.cc",
|
| + ]
|
| + deps = [
|
| + ":lib",
|
| + ]
|
| +}
|
| +
|
| +test("tests") {
|
| + output_name = "html_viewer_unittests"
|
| + sources = [
|
| + "ax_provider_impl_unittest.cc",
|
| + ]
|
| + deps = [
|
| + ":lib",
|
| + "//base/test:run_all_unittests",
|
| + ]
|
| }
|
|
|