Delete unused downloads page asset.
[chromium-blink-merge.git] / mandoline / tab / BUILD.gn
blobf29cbf2a1a9f52cb4d247a0921f14dfde4854bb5
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("lib") {
8   sources = [
9     "frame.cc",
10     "frame.h",
11     "frame_connection.cc",
12     "frame_connection.h",
13     "frame_devtools_agent.cc",
14     "frame_devtools_agent.h",
15     "frame_devtools_agent_delegate.h",
16     "frame_tree.cc",
17     "frame_tree.h",
18     "frame_tree_delegate.h",
19     "frame_user_data.h",
20     "web_view_application_delegate.cc",
21     "web_view_application_delegate.h",
22     "web_view_impl.cc",
23     "web_view_impl.h",
24   ]
26   deps = [
27     "//base",
28     "//components/clipboard/public/interfaces",
29     "//components/devtools_service/public/cpp",
30     "//components/devtools_service/public/interfaces",
31     "//components/resource_provider/public/interfaces",
32     "//components/view_manager/public/cpp",
33     "//components/view_manager/public/interfaces",
34     "//mojo/application/public/cpp:sources",
35     "//mojo/application/public/interfaces",
36     "//mojo/common:common_base",
37     "//mojo/converters/geometry",
38     "//mojo/services/network/public/interfaces",
39     "//mojo/services/tracing/public/interfaces",
40     "//third_party/mojo/src/mojo/public/cpp/bindings",
41     "//url",
42   ]
44   public_deps = [
45     "//mandoline/tab/public/interfaces",
46   ]
48   if (is_linux && !is_android) {
49     deps += [ "//components/font_service/public/interfaces" ]
50   }
53 mojo_native_application("web_view") {
54   sources = [
55     "main.cc",
56   ]
58   deps = [
59     ":lib",
60     "//mojo/application/public/cpp",
61   ]
64 source_set("test_support") {
65   sources = [
66     "test_frame_tree_delegate.cc",
67     "test_frame_tree_delegate.h",
68   ]
69   deps = [
70     ":lib",
71     "//base",
72   ]
75 mojo_native_application("mandoline_frame_apptests") {
76   testonly = true
78   sources = [
79     "frame_apptest.cc",
80   ]
82   deps = [
83     ":lib",
84     ":test_support",
85     "//base",
86     "//base/test:test_config",
87     "//components/view_manager/public/cpp",
88     "//components/view_manager/public/interfaces",
89     "//mandoline/tab/public/interfaces",
90     "//mojo/application/public/cpp:sources",
91     "//mojo/application/public/cpp:test_support",
92     "//ui/mojo/geometry:interfaces",
93     "//ui/mojo/geometry:util",
94   ]
96   data_deps = [ "//components/view_manager" ]