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("//media/media_options.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
10 import("//third_party/webrtc/build/webrtc.gni") | 11 import("//third_party/webrtc/build/webrtc.gni") |
11 | 12 |
12 # See //content/BUILD.gn for how this works. | 13 # See //content/BUILD.gn for how this works. |
13 group("common") { | 14 group("common") { |
14 if (is_component_build) { | 15 if (is_component_build) { |
15 public_deps = [ | 16 public_deps = [ |
16 "//content", | 17 "//content", |
17 ] | 18 ] |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "content_switches.h", | 62 "content_switches.h", |
62 "mojo_channel_switches.h", | 63 "mojo_channel_switches.h", |
63 ] | 64 ] |
64 sources = [ | 65 sources = [ |
65 "//content/common/content_export.h", | 66 "//content/common/content_export.h", |
66 "content_switches.cc", | 67 "content_switches.cc", |
67 "mojo_channel_switches.cc", | 68 "mojo_channel_switches.cc", |
68 ] | 69 ] |
69 | 70 |
70 public_configs = [ ":static_switches_defines" ] | 71 public_configs = [ ":static_switches_defines" ] |
| 72 |
| 73 # Deps required by the above headers. |
| 74 deps = [ |
| 75 "//media:media_features", |
| 76 ] |
71 } | 77 } |
72 | 78 |
73 # This target allows you to use the content_features constants and statically | 79 # This target allows you to use the content_features constants and statically |
74 # link to it, without depending on the rest of content. This is only for use | 80 # link to it, without depending on the rest of content. This is only for use |
75 # without content, or you will get multiply defined symbols. | 81 # without content, or you will get multiply defined symbols. |
76 source_set("static_features") { | 82 source_set("static_features") { |
77 public = [ | 83 public = [ |
78 "content_features.h", | 84 "content_features.h", |
79 ] | 85 ] |
80 sources = [ | 86 sources = [ |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 sources = [ | 313 sources = [ |
308 "window_container_type.mojom", | 314 "window_container_type.mojom", |
309 ] | 315 ] |
310 } | 316 } |
311 | 317 |
312 mojom("service_names") { | 318 mojom("service_names") { |
313 sources = [ | 319 sources = [ |
314 "service_names.mojom", | 320 "service_names.mojom", |
315 ] | 321 ] |
316 } | 322 } |
OLD | NEW |