Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / mojo / services / html_viewer / BUILD.gn
blob117068512d341254c85b4048756c7373349d8007
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
3 # found in the LICENSE file.
5 import("//mojo/public/mojo.gni")
6 import("//mojo/public/mojo_application.gni")
8 source_set("lib") {
9   sources = [
10     "ax_provider_impl.cc",
11     "ax_provider_impl.h",
12     "blink_basic_type_converters.cc",
13     "blink_basic_type_converters.h",
14     "blink_input_events_type_converters.cc",
15     "blink_input_events_type_converters.h",
16     "blink_platform_impl.cc",
17     "blink_platform_impl.h",
18     "blink_url_request_type_converters.cc",
19     "blink_url_request_type_converters.h",
20     "html_document_view.cc",
21     "html_document_view.h",
22     "mojo_blink_platform_impl.cc",
23     "mojo_blink_platform_impl.h",
24     "webclipboard_impl.cc",
25     "webclipboard_impl.h",
26     "webcookiejar_impl.cc",
27     "webcookiejar_impl.h",
28     "webmediaplayer_factory.cc",
29     "webmediaplayer_factory.h",
30     "webmimeregistry_impl.cc",
31     "webmimeregistry_impl.h",
32     "websockethandle_impl.cc",
33     "websockethandle_impl.h",
34     "webstoragenamespace_impl.cc",
35     "webstoragenamespace_impl.h",
36     "webthemeengine_impl.cc",
37     "webthemeengine_impl.h",
38     "webthread_impl.cc",
39     "webthread_impl.h",
40     "weburlloader_impl.cc",
41     "weburlloader_impl.h",
42     "weblayertreeview_impl.cc",
43     "weblayertreeview_impl.h",
44   ]
46   include_dirs = [ "third_party/WebKit" ]
48   deps = [
49     "//base",
50     "//base/third_party/dynamic_annotations",
51     "//cc",
52     "//cc/blink",
53     "//cc/surfaces",
54     "//media",
55     "//media/blink",
56     "//media/mojo",
57     "//mojo/application",
58     "//mojo/cc",
59     "//mojo/common",
60     "//mojo/converters/surfaces",
61     "//mojo/public/c/system:for_shared_library",
62     "//mojo/public/cpp/bindings",
63     "//mojo/public/cpp/utility",
64     "//mojo/public/interfaces/application",
65     "//mojo/services/public/cpp/network",
66     "//mojo/services/public/cpp/view_manager",
67     "//mojo/services/public/interfaces/accessibility",
68     "//mojo/services/public/interfaces/clipboard",
69     "//mojo/services/public/interfaces/content_handler",
70     "//mojo/services/public/interfaces/gpu",
71     "//mojo/services/public/interfaces/input_events:input_events",
72     "//mojo/services/public/interfaces/navigation",
73     "//mojo/services/public/interfaces/network",
74     "//mojo/services/public/interfaces/surfaces",
75     "//net",
76     "//skia",
77     "//ui/native_theme",
78     "//url",
79   ]
81   public_deps = [
82     "//third_party/WebKit/public:blink",
83   ]
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   ]
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   ]