OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 if (is_mac) { | 9 if (is_mac) { |
10 import("//build/config/mac/mac_sdk.gni") | 10 import("//build/config/mac/mac_sdk.gni") |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 source_set("common") { | 127 source_set("common") { |
128 # Only the public target should depend on this. All other targets (even | 128 # Only the public target should depend on this. All other targets (even |
129 # internal content ones) should depend on the public one. | 129 # internal content ones) should depend on the public one. |
130 visibility = [ "//content/public/common:common_sources" ] | 130 visibility = [ "//content/public/common:common_sources" ] |
131 | 131 |
132 sources = rebase_path(content_common_gypi_values.private_common_sources, | 132 sources = rebase_path(content_common_gypi_values.private_common_sources, |
133 ".", | 133 ".", |
134 "//content") | 134 "//content") |
135 | 135 |
| 136 # These files are only built in a GN build because they bring in |
| 137 # dependencies that don't build with GYP. |
| 138 sources += [ |
| 139 "mojo/mojo_shell_connection_impl.cc", |
| 140 "mojo/mojo_shell_connection_impl.h", |
| 141 ] |
| 142 |
136 configs += [ | 143 configs += [ |
137 "//content:content_implementation", | 144 "//content:content_implementation", |
138 "//build/config:precompiled_headers", | 145 "//build/config:precompiled_headers", |
139 "//build/config/compiler:no_size_t_to_int_warning", | 146 "//build/config/compiler:no_size_t_to_int_warning", |
140 ] | 147 ] |
141 | 148 |
142 public_deps = [ | 149 public_deps = [ |
143 "//gpu/command_buffer/common", | 150 "//gpu/command_buffer/common", |
144 "//third_party/WebKit/public:blink_headers", | 151 "//third_party/WebKit/public:blink_headers", |
145 ] | 152 ] |
146 deps = [ | 153 deps = [ |
147 "//base", | 154 "//base", |
148 "//build/util:webkit_version", | 155 "//build/util:webkit_version", |
| 156 "//components/mus/public/interfaces", |
149 "//components/tracing", | 157 "//components/tracing", |
150 "//components/tracing:startup_tracing", | 158 "//components/tracing:startup_tracing", |
151 "//gpu/command_buffer/client:gles2_interface", | 159 "//gpu/command_buffer/client:gles2_interface", |
152 "//gpu/command_buffer/common:gles2_utils", | 160 "//gpu/command_buffer/common:gles2_utils", |
| 161 "//mojo/converters/network", |
| 162 "//mojo/runner/child:lib", |
153 "//net", | 163 "//net", |
154 "//skia", | 164 "//skia", |
155 "//third_party/icu", | 165 "//third_party/icu", |
156 "//ui/accessibility", | 166 "//ui/accessibility", |
157 "//ui/base", | 167 "//ui/base", |
158 "//ui/base/ime", | 168 "//ui/base/ime", |
159 "//ui/events/ipc:events_ipc", | 169 "//ui/events/ipc:events_ipc", |
160 "//ui/gfx", | 170 "//ui/gfx", |
161 "//ui/gfx/geometry", | 171 "//ui/gfx/geometry", |
162 "//ui/gfx/ipc", | 172 "//ui/gfx/ipc", |
(...skipping 27 matching lines...) Expand all Loading... |
190 "//mojo/environment:chromium", | 200 "//mojo/environment:chromium", |
191 "//sandbox", | 201 "//sandbox", |
192 "//storage/common", | 202 "//storage/common", |
193 "//third_party/WebKit/public:blink", | 203 "//third_party/WebKit/public:blink", |
194 "//third_party/mojo/src/mojo/edk/system", | 204 "//third_party/mojo/src/mojo/edk/system", |
195 "//ui/gl", | 205 "//ui/gl", |
196 ":mojo_bindings", | 206 ":mojo_bindings", |
197 ] | 207 ] |
198 } | 208 } |
199 | 209 |
200 defines = [] | 210 defines = [ "MOJO_SHELL_CLIENT" ] |
201 include_dirs = [] | 211 include_dirs = [] |
202 libs = [] | 212 libs = [] |
203 ldflags = [] | 213 ldflags = [] |
204 | 214 |
205 if (is_android && use_seccomp_bpf) { | 215 if (is_android && use_seccomp_bpf) { |
206 set_sources_assignment_filter([]) | 216 set_sources_assignment_filter([]) |
207 sources += [ | 217 sources += [ |
208 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", | 218 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", |
209 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 219 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
210 ] | 220 ] |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 | 536 |
527 import_dirs = [ "//mojo/services" ] | 537 import_dirs = [ "//mojo/services" ] |
528 | 538 |
529 deps = [ | 539 deps = [ |
530 "//content/public/common:mojo_bindings", | 540 "//content/public/common:mojo_bindings", |
531 "//mojo/application/public/interfaces", | 541 "//mojo/application/public/interfaces", |
532 "//skia/public/interfaces", | 542 "//skia/public/interfaces", |
533 "//ui/mojo/geometry:interfaces", | 543 "//ui/mojo/geometry:interfaces", |
534 ] | 544 ] |
535 } | 545 } |
OLD | NEW |