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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//content/child/child.gni") | 8 import("//content/child/child.gni") |
9 | 9 |
10 source_set("child") { | 10 source_set("child") { |
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/child:child_sources" ] | 13 visibility = [ "//content/public/child:child_sources" ] |
14 | 14 |
15 sources = rebase_path(content_child_gypi_values.private_child_sources, | 15 sources = rebase_path(content_child_gypi_values.private_child_sources, |
16 ".", "//content") | 16 ".", "//content") |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/tracing", | 20 "//components/tracing", |
21 "//mojo/common", | 21 "//mojo/common", |
22 "//mojo/environment:chromium", | 22 "//mojo/environment:chromium", |
23 "//mojo/public/interfaces/application", | 23 "//mojo/public/interfaces/application", |
24 "//skia", | 24 "//skia", |
25 "//third_party/icu", | 25 "//third_party/icu", |
26 "//ui/base", | 26 "//ui/base", |
27 "//ui/gfx", | 27 "//ui/gfx", |
28 "//ui/gfx/geometry", | 28 "//ui/gfx/geometry", |
| 29 "//ui/native_theme", |
29 "//url", | 30 "//url", |
30 ] | 31 ] |
31 | 32 |
32 if (!use_default_render_theme) { | 33 if (!use_default_render_theme) { |
33 sources -= [ | 34 sources -= [ |
34 "webthemeengine_impl_default.cc", | 35 "webthemeengine_impl_default.cc", |
35 "webthemeengine_impl_default.h", | 36 "webthemeengine_impl_default.h", |
36 ] | 37 ] |
37 } | 38 } |
38 | 39 |
39 if (is_android) { | 40 if (is_android) { |
40 deps += [ | 41 deps += [ |
41 "//third_party/android_tools:cpu_features", | 42 "//third_party/android_tools:cpu_features", |
42 ] | 43 ] |
43 } | 44 } |
44 | 45 |
45 if (!enable_plugins) { | 46 if (enable_plugins) { |
| 47 deps += [ "//ppapi:ppapi_proxy" ] |
| 48 } else { |
46 sources -= [ | 49 sources -= [ |
47 "browser_font_resource_trusted.cc", | 50 "browser_font_resource_trusted.cc", |
48 "npapi/plugin_host.cc", | 51 "npapi/plugin_host.cc", |
49 "npapi/plugin_host.h", | 52 "npapi/plugin_host.h", |
50 "npapi/plugin_instance.cc", | 53 "npapi/plugin_instance.cc", |
51 "npapi/plugin_instance.h", | 54 "npapi/plugin_instance.h", |
52 "npapi/plugin_lib.cc", | 55 "npapi/plugin_lib.cc", |
53 "npapi/plugin_lib.h", | 56 "npapi/plugin_lib.h", |
54 "npapi/plugin_stream.cc", | 57 "npapi/plugin_stream.cc", |
55 "npapi/plugin_stream.h", | 58 "npapi/plugin_stream.h", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 } | 127 } |
125 | 128 |
126 if (!use_openssl) { | 129 if (!use_openssl) { |
127 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, | 130 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, |
128 ".", "//content") | 131 ".", "//content") |
129 } else { | 132 } else { |
130 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, | 133 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, |
131 ".", "//content") | 134 ".", "//content") |
132 } | 135 } |
133 } | 136 } |
OLD | NEW |