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") { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 if (is_ios) { | 84 if (is_ios) { |
85 # iOS only needs a small portion of content; exclude all the | 85 # iOS only needs a small portion of content; exclude all the |
86 # implementation, and re-include what is used. | 86 # implementation, and re-include what is used. |
87 sources = [] | 87 sources = [] |
88 } else { | 88 } else { |
89 deps += [ | 89 deps += [ |
90 "//content/app/resources", | 90 "//content/app/resources", |
91 "//content/app/strings", | 91 "//content/app/strings", |
92 "//crypto:platform", | 92 "//crypto:platform", |
| 93 "//storage/common", |
93 "//third_party/WebKit/public:blink", | 94 "//third_party/WebKit/public:blink", |
94 "//third_party/WebKit/public:resources", | 95 "//third_party/WebKit/public:resources", |
95 "//third_party/npapi", | 96 "//third_party/npapi", |
96 "//webkit/child", | |
97 "//storage/common", | |
98 ] | 97 ] |
99 } | 98 } |
100 | 99 |
101 if (use_aura && is_mac) { | 100 if (use_aura && is_mac) { |
102 # This file is already excluded on non-Mac. | 101 # This file is already excluded on non-Mac. |
103 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 102 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
104 } | 103 } |
105 | 104 |
106 if (is_win || !use_aura) { | 105 if (is_win || !use_aura) { |
107 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 106 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
108 } | 107 } |
109 | 108 |
110 if (!use_openssl) { | 109 if (!use_openssl) { |
111 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, | 110 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, |
112 ".", "//content") | 111 ".", "//content") |
113 } else { | 112 } else { |
114 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, | 113 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, |
115 ".", "//content") | 114 ".", "//content") |
116 } | 115 } |
117 } | 116 } |
OLD | NEW |