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