forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
97 lines (85 loc) · 2.27 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
source_set("lib") {
sources = [
"frame.cc",
"frame.h",
"frame_connection.cc",
"frame_connection.h",
"frame_devtools_agent.cc",
"frame_devtools_agent.h",
"frame_devtools_agent_delegate.h",
"frame_tree.cc",
"frame_tree.h",
"frame_tree_delegate.h",
"frame_user_data.h",
"web_view_application_delegate.cc",
"web_view_application_delegate.h",
"web_view_impl.cc",
"web_view_impl.h",
]
deps = [
"//base",
"//components/clipboard/public/interfaces",
"//components/devtools_service/public/cpp",
"//components/devtools_service/public/interfaces",
"//components/resource_provider/public/interfaces",
"//components/view_manager/public/cpp",
"//components/view_manager/public/interfaces",
"//mojo/application/public/cpp:sources",
"//mojo/application/public/interfaces",
"//mojo/common:common_base",
"//mojo/converters/geometry",
"//mojo/services/network/public/interfaces",
"//mojo/services/tracing/public/interfaces",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//url",
]
public_deps = [
"//mandoline/tab/public/interfaces",
]
if (is_linux && !is_android) {
deps += [ "//components/font_service/public/interfaces" ]
}
}
mojo_native_application("web_view") {
sources = [
"main.cc",
]
deps = [
":lib",
"//mojo/application/public/cpp",
]
}
source_set("test_support") {
sources = [
"test_frame_tree_delegate.cc",
"test_frame_tree_delegate.h",
]
deps = [
":lib",
"//base",
]
}
mojo_native_application("mandoline_frame_apptests") {
testonly = true
sources = [
"frame_apptest.cc",
]
deps = [
":lib",
":test_support",
"//base",
"//base/test:test_config",
"//components/view_manager/public/cpp",
"//components/view_manager/public/interfaces",
"//mandoline/tab/public/interfaces",
"//mojo/application/public/cpp:sources",
"//mojo/application/public/cpp:test_support",
"//ui/mojo/geometry:interfaces",
"//ui/mojo/geometry:util",
]
data_deps = [ "//components/view_manager" ]
}