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/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 source_set("renderer") { | 10 source_set("renderer") { |
11 # Only the public target should depend on this. All other targets (even | 11 # Only the public target should depend on this. All other targets (even |
12 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
13 visibility = [ "//content/public/renderer:renderer_sources" ] | 13 visibility = [ "//content/public/renderer:renderer_sources" ] |
14 | 14 |
15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
16 ".", | 16 ".", |
17 "//content") | 17 "//content") |
18 | 18 |
19 configs += [ | 19 configs += [ |
20 "//content:content_implementation", | 20 "//content:content_implementation", |
21 "//build/config/compiler:no_size_t_to_int_warning", | 21 "//build/config/compiler:no_size_t_to_int_warning", |
22 "//content/public/common:mojo_shell_client", | 22 "//content/public/common:mojo_shell_client", |
23 ] | 23 ] |
24 defines = [] | 24 defines = [] |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "//base:i18n", | 27 "//base:i18n", |
28 | |
29 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | |
30 # those don't cross component boundaries. | |
31 "//base/allocator", | |
32 "//cc", | 28 "//cc", |
33 "//cc/blink", | 29 "//cc/blink", |
34 "//cc/proto", | 30 "//cc/proto", |
35 "//cc/surfaces", | 31 "//cc/surfaces", |
36 "//cc/surfaces:surface_id", | 32 "//cc/surfaces:surface_id", |
37 "//components/scheduler:scheduler", | 33 "//components/scheduler:scheduler", |
38 "//components/startup_metric_utils/common", | 34 "//components/startup_metric_utils/common", |
39 "//components/url_formatter", | 35 "//components/url_formatter", |
40 "//components/webusb", | 36 "//components/webusb", |
41 "//content:resources", | 37 "//content:resources", |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 234 } |
239 | 235 |
240 if (use_seccomp_bpf) { | 236 if (use_seccomp_bpf) { |
241 defines += [ "USE_SECCOMP_BPF" ] | 237 defines += [ "USE_SECCOMP_BPF" ] |
242 } | 238 } |
243 | 239 |
244 if (use_ozone) { | 240 if (use_ozone) { |
245 deps += [ "//ui/ozone" ] | 241 deps += [ "//ui/ozone" ] |
246 } | 242 } |
247 } | 243 } |
OLD | NEW |