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 ".", | 16 ".", |
17 "//content") | 17 "//content") |
18 | 18 |
19 public_deps = [ | 19 public_deps = [ |
20 "//third_party/mojo/src/mojo/edk/system", | 20 "//third_party/mojo/src/mojo/edk/system", |
21 ] | 21 ] |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 "//base", | 24 "//base", |
25 "//components/tracing", | 25 "//components/tracing", |
| 26 "//components/webcrypto", |
26 "//content/common:mojo_bindings", | 27 "//content/common:mojo_bindings", |
27 "//mojo/common", | 28 "//mojo/common", |
28 "//mojo/environment:chromium", | 29 "//mojo/environment:chromium", |
29 "//skia", | 30 "//skia", |
30 "//third_party/icu", | 31 "//third_party/icu", |
31 "//third_party/mojo/src/mojo/public/interfaces/application", | 32 "//third_party/mojo/src/mojo/public/interfaces/application", |
32 "//ui/base", | 33 "//ui/base", |
33 "//ui/events/gestures/blink", | 34 "//ui/events/gestures/blink", |
34 "//ui/gfx", | 35 "//ui/gfx", |
35 "//ui/gfx/geometry", | 36 "//ui/gfx/geometry", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 122 } |
122 | 123 |
123 if (use_aura && is_mac) { | 124 if (use_aura && is_mac) { |
124 # This file is already excluded on non-Mac. | 125 # This file is already excluded on non-Mac. |
125 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 126 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
126 } | 127 } |
127 | 128 |
128 if (is_win || !use_aura) { | 129 if (is_win || !use_aura) { |
129 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 130 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
130 } | 131 } |
131 | |
132 if (!use_openssl) { | |
133 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, | |
134 ".", | |
135 "//content") | |
136 } else { | |
137 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, | |
138 ".", | |
139 "//content") | |
140 } | |
141 } | 132 } |
OLD | NEW |