OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'variables': { | 6 'variables': { |
7 # File lists shared with GN build. | 7 # File lists shared with GN build. |
8 'chrome_common_sources': [ | 8 'chrome_common_sources': [ |
9 'common/all_messages.h', | 9 'common/all_messages.h', |
10 'common/attrition_experiments.h', | 10 'common/attrition_experiments.h', |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 'common/service_messages.h', | 245 'common/service_messages.h', |
246 'common/service_process_util.cc', | 246 'common/service_process_util.cc', |
247 'common/service_process_util.h', | 247 'common/service_process_util.h', |
248 'common/service_process_util_linux.cc', | 248 'common/service_process_util_linux.cc', |
249 'common/service_process_util_mac.mm', | 249 'common/service_process_util_mac.mm', |
250 'common/service_process_util_posix.cc', | 250 'common/service_process_util_posix.cc', |
251 'common/service_process_util_posix.h', | 251 'common/service_process_util_posix.h', |
252 'common/service_process_util_win.cc', | 252 'common/service_process_util_win.cc', |
253 ], | 253 ], |
254 'chrome_common_win_mac_sources': [ | 254 'chrome_common_win_mac_sources': [ |
| 255 'common/extensions/api/networking_private/networking_private_crypto_nss.cc
', |
| 256 'common/extensions/api/networking_private/networking_private_crypto_openss
l.cc', |
| 257 'common/extensions/api/networking_private/networking_private_crypto.cc', |
| 258 'common/extensions/api/networking_private/networking_private_crypto.h', |
255 'common/media_galleries/itunes_library.cc', | 259 'common/media_galleries/itunes_library.cc', |
256 'common/media_galleries/itunes_library.h', | 260 'common/media_galleries/itunes_library.h', |
257 'common/media_galleries/picasa_types.cc', | 261 'common/media_galleries/picasa_types.cc', |
258 'common/media_galleries/picasa_types.h', | 262 'common/media_galleries/picasa_types.h', |
259 'common/media_galleries/pmp_constants.h', | 263 'common/media_galleries/pmp_constants.h', |
260 ], | 264 ], |
261 'chrome_common_networking_private_sources_openssl' : [ | |
262 'common/extensions/api/networking_private/networking_private_crypto_openss
l.cc', | |
263 'common/extensions/api/networking_private/networking_private_crypto.cc', | |
264 'common/extensions/api/networking_private/networking_private_crypto.h', | |
265 ], | |
266 'chrome_common_networking_private_sources_nss' : [ | |
267 'common/extensions/api/networking_private/networking_private_crypto_nss.cc
', | |
268 'common/extensions/api/networking_private/networking_private_crypto.cc', | |
269 'common/extensions/api/networking_private/networking_private_crypto.h', | |
270 ], | |
271 | |
272 'chrome_common_mac_sources': [ | 265 'chrome_common_mac_sources': [ |
273 'common/media_galleries/iphoto_library.cc', | 266 'common/media_galleries/iphoto_library.cc', |
274 'common/media_galleries/iphoto_library.h', | 267 'common/media_galleries/iphoto_library.h', |
275 ] | 268 ] |
276 }, | 269 }, |
277 'targets': [ | 270 'targets': [ |
278 { | 271 { |
279 # GN: //chrome/common:common | 272 # GN: //chrome/common:common |
280 'target_name': 'common', | 273 'target_name': 'common', |
281 'type': 'static_library', | 274 'type': 'static_library', |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', | 336 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', |
344 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', | 337 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', |
345 ], | 338 ], |
346 'export_dependent_settings': [ | 339 'export_dependent_settings': [ |
347 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', | 340 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', |
348 ], | 341 ], |
349 }], | 342 }], |
350 ['OS=="win" or OS=="mac"', { | 343 ['OS=="win" or OS=="mac"', { |
351 'sources': [ '<@(chrome_common_win_mac_sources)' ], | 344 'sources': [ '<@(chrome_common_win_mac_sources)' ], |
352 }], | 345 }], |
353 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', { | 346 ['(OS=="win" or OS=="mac") and use_openssl==1', { |
354 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ], | 347 # networking_private_crypto_openssl.cc depends on boringssl. |
355 'dependencies': [ | 348 'dependencies': [ |
356 '../third_party/boringssl/boringssl.gyp:boringssl', | 349 '../third_party/boringssl/boringssl.gyp:boringssl', |
357 ], | 350 ], |
358 }], | 351 }], |
359 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', { | |
360 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ], | |
361 }], | |
362 ['OS=="mac"', { | 352 ['OS=="mac"', { |
363 'sources': [ '<@(chrome_common_mac_sources)' ], | 353 'sources': [ '<@(chrome_common_mac_sources)' ], |
364 }], | 354 }], |
365 ['OS != "ios"', { | 355 ['OS != "ios"', { |
366 'dependencies': [ | 356 'dependencies': [ |
367 '<(DEPTH)/components/components.gyp:autofill_core_common', | 357 '<(DEPTH)/components/components.gyp:autofill_core_common', |
368 '<(DEPTH)/components/components.gyp:autofill_content_common', | 358 '<(DEPTH)/components/components.gyp:autofill_content_common', |
369 '<(DEPTH)/components/components.gyp:password_manager_core_common', | 359 '<(DEPTH)/components/components.gyp:password_manager_core_common', |
370 '<(DEPTH)/components/components.gyp:password_manager_content_common'
, | 360 '<(DEPTH)/components/components.gyp:password_manager_content_common'
, |
371 '<(DEPTH)/components/components.gyp:signin_core_common', | 361 '<(DEPTH)/components/components.gyp:signin_core_common', |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 '<(DEPTH)/components/components.gyp:policy', | 486 '<(DEPTH)/components/components.gyp:policy', |
497 ], | 487 ], |
498 }], | 488 }], |
499 ['safe_browsing==1', { | 489 ['safe_browsing==1', { |
500 'defines': [ 'FULL_SAFE_BROWSING' ], | 490 'defines': [ 'FULL_SAFE_BROWSING' ], |
501 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], | 491 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], |
502 }], | 492 }], |
503 ['safe_browsing==2', { | 493 ['safe_browsing==2', { |
504 'defines': [ 'MOBILE_SAFE_BROWSING' ], | 494 'defines': [ 'MOBILE_SAFE_BROWSING' ], |
505 }], | 495 }], |
| 496 ['use_openssl==1', { |
| 497 'sources!': [ |
| 498 'common/extensions/api/networking_private/networking_private_crypto
_nss.cc', |
| 499 ], |
| 500 }, |
| 501 { # else !use_openssl |
| 502 'sources!': [ |
| 503 'common/extensions/api/networking_private/networking_private_crypto
_openssl.cc', |
| 504 ], |
| 505 }, |
| 506 ], |
506 ], | 507 ], |
507 'target_conditions': [ | 508 'target_conditions': [ |
508 ['OS == "ios"', { | 509 ['OS == "ios"', { |
509 'sources/': [ | 510 'sources/': [ |
510 # Pull in specific Mac files for iOS (which have been filtered out | 511 # Pull in specific Mac files for iOS (which have been filtered out |
511 # by file name rules). | 512 # by file name rules). |
512 ['include', '^common/chrome_version_info_mac\\.mm$'], | 513 ['include', '^common/chrome_version_info_mac\\.mm$'], |
513 ], | 514 ], |
514 }], | 515 }], |
515 ], | 516 ], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 'common/safe_browsing/csd.proto' | 669 'common/safe_browsing/csd.proto' |
669 ], | 670 ], |
670 'variables': { | 671 'variables': { |
671 'proto_in_dir': 'common/safe_browsing', | 672 'proto_in_dir': 'common/safe_browsing', |
672 'proto_out_dir': 'chrome/common/safe_browsing', | 673 'proto_out_dir': 'chrome/common/safe_browsing', |
673 }, | 674 }, |
674 'includes': [ '../build/protoc.gypi' ], | 675 'includes': [ '../build/protoc.gypi' ], |
675 }, | 676 }, |
676 ], | 677 ], |
677 } | 678 } |
OLD | NEW |