base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON().
[chromium-blink-merge.git] / mojo / services / html_viewer / BUILD.gn
blob444ee076f2b81e2fc2268129e25fbfa47bede0de
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.cc",
21     "html_document.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     "//gin",
55     "//media",
56     "//media/blink",
57     "//media/mojo",
58     "//mojo/application",
59     "//mojo/cc",
60     "//mojo/common",
61     "//mojo/converters/surfaces",
62     "//mojo/public/c/system:for_shared_library",
63     "//mojo/public/cpp/utility",
64     "//mojo/public/interfaces/application",
65     "//mojo/services/network/public/cpp",
66     "//mojo/services/view_manager/public/cpp",
67     "//mojo/services/accessibility/public/interfaces",
68     "//mojo/services/clipboard/public/interfaces",
69     "//mojo/services/content_handler/public/interfaces",
70     "//mojo/services/gpu/public/interfaces",
71     "//mojo/services/input_events/public/interfaces",
72     "//mojo/services/navigation/public/interfaces",
73     "//mojo/services/network/public/interfaces",
74     "//mojo/services/surfaces/public/interfaces",
75     "//net",
76     "//skia",
77     "//ui/native_theme",
78     "//url",
79   ]
81   public_deps = [
82     "//mojo/public/cpp/bindings",
83     "//third_party/WebKit/public:blink",
84   ]
87 mojo_native_application("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   ]