Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: content/content_child.gypi

Issue 395643002: Refactor how WebCrypto NSS and OpenSSL specific files are included by GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base', 7 '../base/base.gyp:base',
8 '../components/tracing.gyp:tracing', 8 '../components/tracing.gyp:tracing',
9 '../mojo/mojo.gyp:mojo_environment_chromium', 9 '../mojo/mojo.gyp:mojo_environment_chromium',
10 '../mojo/mojo.gyp:mojo_service_provider_bindings', 10 '../mojo/mojo.gyp:mojo_service_provider_bindings',
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 'child/web_socket_stream_handle_impl.h', 193 'child/web_socket_stream_handle_impl.h',
194 'child/web_url_loader_impl.cc', 194 'child/web_url_loader_impl.cc',
195 'child/web_url_loader_impl.h', 195 'child/web_url_loader_impl.h',
196 'child/webblobregistry_impl.cc', 196 'child/webblobregistry_impl.cc',
197 'child/webblobregistry_impl.h', 197 'child/webblobregistry_impl.h',
198 'child/webcrypto/crypto_data.cc', 198 'child/webcrypto/crypto_data.cc',
199 'child/webcrypto/crypto_data.h', 199 'child/webcrypto/crypto_data.h',
200 'child/webcrypto/jwk.cc', 200 'child/webcrypto/jwk.cc',
201 'child/webcrypto/jwk.h', 201 'child/webcrypto/jwk.h',
202 'child/webcrypto/platform_crypto.h', 202 'child/webcrypto/platform_crypto.h',
203 'child/webcrypto/platform_crypto_nss.cc',
204 'child/webcrypto/platform_crypto_openssl.cc',
205 'child/webcrypto/shared_crypto.cc', 203 'child/webcrypto/shared_crypto.cc',
206 'child/webcrypto/shared_crypto.h', 204 'child/webcrypto/shared_crypto.h',
207 'child/webcrypto/status.cc', 205 'child/webcrypto/status.cc',
208 'child/webcrypto/status.h', 206 'child/webcrypto/status.h',
209 'child/webcrypto/webcrypto_impl.cc', 207 'child/webcrypto/webcrypto_impl.cc',
210 'child/webcrypto/webcrypto_impl.h', 208 'child/webcrypto/webcrypto_impl.h',
211 'child/webcrypto/webcrypto_util.cc', 209 'child/webcrypto/webcrypto_util.cc',
212 'child/webcrypto/webcrypto_util.h', 210 'child/webcrypto/webcrypto_util.h',
213 'child/webfallbackthemeengine_impl.cc', 211 'child/webfallbackthemeengine_impl.cc',
214 'child/webfallbackthemeengine_impl.h', 212 'child/webfallbackthemeengine_impl.h',
(...skipping 13 matching lines...) Expand all
228 'child/webthemeengine_impl_default.h', 226 'child/webthemeengine_impl_default.h',
229 'child/webthemeengine_impl_mac.cc', 227 'child/webthemeengine_impl_mac.cc',
230 'child/webthemeengine_impl_mac.h', 228 'child/webthemeengine_impl_mac.h',
231 'child/webthread_impl.cc', 229 'child/webthread_impl.cc',
232 'child/webthread_impl.h', 230 'child/webthread_impl.h',
233 'child/worker_task_runner.cc', 231 'child/worker_task_runner.cc',
234 'child/worker_task_runner.h', 232 'child/worker_task_runner.h',
235 'child/worker_thread_task_runner.cc', 233 'child/worker_thread_task_runner.cc',
236 'child/worker_thread_task_runner.h', 234 'child/worker_thread_task_runner.h',
237 ], 235 ],
236 'webcrypto_nss_sources': [
237 'child/webcrypto/platform_crypto_nss.cc',
238 ],
239 'webcrypto_openssl_sources': [
240 'child/webcrypto/platform_crypto_openssl.cc',
241 ],
238 }, 242 },
239 'sources': [ 243 'sources': [
240 '<@(public_child_sources)', 244 '<@(public_child_sources)',
241 '<@(private_child_sources)', 245 '<@(private_child_sources)',
242 ], 246 ],
243 'conditions': [ 247 'conditions': [
244 ['use_default_render_theme==0', 248 ['use_default_render_theme==0',
245 { 249 {
246 'sources/': [ 250 'sources/': [
247 ['exclude', 'child/webthemeengine_impl_default.cc'], 251 ['exclude', 'child/webthemeengine_impl_default.cc'],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 'sources!': [ 286 'sources!': [
283 'child/npapi/webplugin_delegate_impl_mac.mm', 287 'child/npapi/webplugin_delegate_impl_mac.mm',
284 ], 288 ],
285 }], 289 }],
286 ['OS=="win"', { 290 ['OS=="win"', {
287 'sources!': [ 291 'sources!': [
288 'child/npapi/webplugin_delegate_impl_aura.cc', 292 'child/npapi/webplugin_delegate_impl_aura.cc',
289 ], 293 ],
290 }], 294 }],
291 ['use_openssl==1', { 295 ['use_openssl==1', {
292 'sources!': [ 296 'sources': [
293 'child/webcrypto/platform_crypto_nss.cc', 297 '<@(webcrypto_openssl_sources)',
294 ], 298 ],
295 'dependencies': [ 299 'dependencies': [
296 '../third_party/openssl/openssl.gyp:openssl', 300 '../third_party/openssl/openssl.gyp:openssl',
297 ], 301 ],
298 }, { 302 }, {
299 'sources!': [ 303 'sources': [
300 'child/webcrypto/platform_crypto_openssl.cc', 304 '<@(webcrypto_nss_sources)',
301 ], 305 ],
302 'conditions': [ 306 'conditions': [
303 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 307 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
304 'dependencies': [ 308 'dependencies': [
305 '../build/linux/system.gyp:ssl', 309 '../build/linux/system.gyp:ssl',
306 ], 310 ],
307 }, { 311 }, {
308 'dependencies': [ 312 'dependencies': [
309 '../third_party/nss/nss.gyp:nspr', 313 '../third_party/nss/nss.gyp:nspr',
310 '../third_party/nss/nss.gyp:nss', 314 '../third_party/nss/nss.gyp:nss',
311 ], 315 ],
312 }], 316 }],
313 ], 317 ],
314 }], 318 }],
315 ], 319 ],
316 } 320 }
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698