1 # Copyright 2015 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_application.gni")
7 source_set("switches") {
9 "web_view_switches.cc",
10 "web_view_switches.h",
16 "client_initiated_frame_connection.cc",
17 "client_initiated_frame_connection.h",
20 "frame_connection.cc",
22 "frame_devtools_agent.cc",
23 "frame_devtools_agent.h",
24 "frame_devtools_agent_delegate.h",
27 "frame_tree_delegate.cc",
28 "frame_tree_delegate.h",
32 "navigation_controller.cc",
33 "navigation_controller.h",
34 "navigation_entry.cc",
36 "pending_web_view_load.cc",
37 "pending_web_view_load.h",
39 "url_request_cloneable.cc",
40 "url_request_cloneable.h",
41 "web_view_application_delegate.cc",
42 "web_view_application_delegate.h",
50 "//components/clipboard/public/interfaces",
51 "//components/devtools_service/public/cpp",
52 "//components/devtools_service/public/interfaces",
53 "//components/mus/public/cpp",
54 "//components/mus/public/interfaces",
55 "//components/resource_provider/public/interfaces",
56 "//components/web_view/test_runner/public/interfaces",
57 "//mojo/application/public/cpp:sources",
58 "//mojo/application/public/interfaces",
59 "//mojo/common:common_base",
60 "//mojo/converters/geometry",
61 "//mojo/services/network/public/interfaces",
62 "//mojo/services/tracing/public/interfaces",
63 "//third_party/mojo/src/mojo/public/cpp/bindings",
68 "//components/web_view/public/interfaces",
71 if (is_linux && !is_android) {
72 deps += [ "//components/font_service/public/interfaces" ]
76 mojo_native_application("web_view") {
83 "//mojo/application/public/cpp",
87 source_set("test_support") {
91 "test_frame_tree_delegate.cc",
92 "test_frame_tree_delegate.h",
101 mojo_native_application("apptests") {
102 output_name = "web_view_apptests"
107 "web_view_apptest.cc",
114 "//base/test:test_config",
115 "//components/mus/public/cpp",
116 "//components/mus/public/cpp/tests:test_support",
117 "//components/mus/public/interfaces",
118 "//components/web_view/public/cpp",
119 "//components/web_view/public/interfaces",
120 "//mojo/application/public/cpp:sources",
121 "//mojo/application/public/cpp:test_support",
122 "//mojo/util:filename_util",
123 "//ui/mojo/geometry:interfaces",
124 "//ui/mojo/geometry:util",
128 data_deps = [ "//components/mus" ]