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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") |
8 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
10 import("//ppapi/features/features.gni") | 11 import("//ppapi/features/features.gni") |
11 import("//third_party/webrtc/build/webrtc.gni") | 12 import("//third_party/webrtc/build/webrtc.gni") |
12 | 13 |
13 # See //content/BUILD.gn for how this works. | 14 # See //content/BUILD.gn for how this works. |
14 group("common") { | 15 group("common") { |
15 if (is_component_build) { | 16 if (is_component_build) { |
16 public_deps = [ | 17 public_deps = [ |
17 "//content", | 18 "//content", |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 "//third_party/icu", | 267 "//third_party/icu", |
267 "//ui/accessibility", | 268 "//ui/accessibility", |
268 "//ui/base", | 269 "//ui/base", |
269 "//ui/gfx", | 270 "//ui/gfx", |
270 "//ui/gfx/ipc", | 271 "//ui/gfx/ipc", |
271 "//ui/gfx/ipc/color", | 272 "//ui/gfx/ipc/color", |
272 "//ui/gfx/ipc/geometry", | 273 "//ui/gfx/ipc/geometry", |
273 "//ui/gfx/ipc/skia", | 274 "//ui/gfx/ipc/skia", |
274 ] | 275 ] |
275 | 276 |
| 277 if (use_aura) { |
| 278 deps += [ "//ui/aura" ] |
| 279 } |
| 280 |
276 # //content/common needs to include public headers. | 281 # //content/common needs to include public headers. |
277 allow_circular_includes_from = [ | 282 allow_circular_includes_from = [ |
278 "//content/common", | 283 "//content/common", |
279 "//content/common:mojo_bindings_cpp_sources", | 284 "//content/common:mojo_bindings_cpp_sources", |
280 ] | 285 ] |
281 | 286 |
282 if (!enable_plugins) { | 287 if (!enable_plugins) { |
283 sources -= [ | 288 sources -= [ |
284 "pepper_plugin_info.cc", | 289 "pepper_plugin_info.cc", |
285 "pepper_plugin_info.h", | 290 "pepper_plugin_info.h", |
(...skipping 29 matching lines...) Expand all Loading... |
315 sources = [ | 320 sources = [ |
316 "window_container_type.mojom", | 321 "window_container_type.mojom", |
317 ] | 322 ] |
318 } | 323 } |
319 | 324 |
320 mojom("service_names") { | 325 mojom("service_names") { |
321 sources = [ | 326 sources = [ |
322 "service_names.mojom", | 327 "service_names.mojom", |
323 ] | 328 ] |
324 } | 329 } |
OLD | NEW |