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 targets in the content tree can depend directly on this target. | 11 # Only the public target should depend on this. All other targets (even |
12 visibility = [ "//content/*" ] | 12 # internal content ones) should depend on the public one. |
| 13 visibility = [ "//content/public/child:child_sources" ] |
13 | 14 |
14 sources = rebase_path(content_child_gypi_values.private_child_sources, | 15 sources = rebase_path(content_child_gypi_values.private_child_sources, |
15 ".", "//content") | 16 ".", "//content") |
16 | 17 |
17 deps = [ | 18 deps = [ |
18 "//base", | 19 "//base", |
19 "//components/tracing", | 20 "//components/tracing", |
20 "//mojo/environment:chromium", | 21 "//mojo/environment:chromium", |
21 "//mojo/public/interfaces/application", | 22 "//mojo/public/interfaces/application", |
22 "//skia", | 23 "//skia", |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 } | 123 } |
123 | 124 |
124 if (!use_openssl) { | 125 if (!use_openssl) { |
125 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, | 126 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, |
126 ".", "//content") | 127 ".", "//content") |
127 } else { | 128 } else { |
128 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, | 129 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, |
129 ".", "//content") | 130 ".", "//content") |
130 } | 131 } |
131 } | 132 } |
OLD | NEW |