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

Side by Side Diff: chrome/chrome_common.gypi

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/NetworkingPrivateCredentialsGetterCrOs/NetworkingPrivateCredentialsGetterChromeos/g Created 6 years 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
OLDNEW
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 'common/service_messages.h', 243 'common/service_messages.h',
244 'common/service_process_util.cc', 244 'common/service_process_util.cc',
245 'common/service_process_util.h', 245 'common/service_process_util.h',
246 'common/service_process_util_linux.cc', 246 'common/service_process_util_linux.cc',
247 'common/service_process_util_mac.mm', 247 'common/service_process_util_mac.mm',
248 'common/service_process_util_posix.cc', 248 'common/service_process_util_posix.cc',
249 'common/service_process_util_posix.h', 249 'common/service_process_util_posix.h',
250 'common/service_process_util_win.cc', 250 'common/service_process_util_win.cc',
251 ], 251 ],
252 'chrome_common_win_mac_sources': [ 252 'chrome_common_win_mac_sources': [
253 'common/extensions/api/networking_private/networking_private_crypto_nss.cc ',
254 'common/extensions/api/networking_private/networking_private_crypto_openss l.cc',
255 'common/extensions/api/networking_private/networking_private_crypto.cc',
256 'common/extensions/api/networking_private/networking_private_crypto.h',
257 'common/media_galleries/itunes_library.cc', 253 'common/media_galleries/itunes_library.cc',
258 'common/media_galleries/itunes_library.h', 254 'common/media_galleries/itunes_library.h',
259 'common/media_galleries/picasa_types.cc', 255 'common/media_galleries/picasa_types.cc',
260 'common/media_galleries/picasa_types.h', 256 'common/media_galleries/picasa_types.h',
261 'common/media_galleries/pmp_constants.h', 257 'common/media_galleries/pmp_constants.h',
262 ], 258 ],
259 'chrome_common_networking_private_sources_openssl' : [
260 'common/extensions/api/networking_private/networking_private_crypto_openss l.cc',
261 'common/extensions/api/networking_private/networking_private_crypto.cc',
262 'common/extensions/api/networking_private/networking_private_crypto.h',
263 ],
264 'chrome_common_networking_private_sources_nss' : [
265 'common/extensions/api/networking_private/networking_private_crypto_nss.cc ',
266 'common/extensions/api/networking_private/networking_private_crypto.cc',
267 'common/extensions/api/networking_private/networking_private_crypto.h',
268 ],
269
263 'chrome_common_mac_sources': [ 270 'chrome_common_mac_sources': [
264 'common/media_galleries/iphoto_library.cc', 271 'common/media_galleries/iphoto_library.cc',
265 'common/media_galleries/iphoto_library.h', 272 'common/media_galleries/iphoto_library.h',
266 ] 273 ]
267 }, 274 },
268 'targets': [ 275 'targets': [
269 { 276 {
270 # GN: //chrome/common:common 277 # GN: //chrome/common:common
271 'target_name': 'common', 278 'target_name': 'common',
272 'type': 'static_library', 279 'type': 'static_library',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', 341 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
335 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', 342 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
336 ], 343 ],
337 'export_dependent_settings': [ 344 'export_dependent_settings': [
338 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 345 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
339 ], 346 ],
340 }], 347 }],
341 ['OS=="win" or OS=="mac"', { 348 ['OS=="win" or OS=="mac"', {
342 'sources': [ '<@(chrome_common_win_mac_sources)' ], 349 'sources': [ '<@(chrome_common_win_mac_sources)' ],
343 }], 350 }],
344 ['(OS=="win" or OS=="mac") and use_openssl==1', { 351 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', {
Ryan Sleevi 2014/12/15 21:42:59 It's not entirely clear why the chromeos addition
sheretov 2014/12/16 08:44:20 This CL moves ChromeOS to the same implementation
345 # networking_private_crypto_openssl.cc depends on boringssl. 352 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ],
346 'dependencies': [ 353 'dependencies': [
347 '../third_party/boringssl/boringssl.gyp:boringssl', 354 '../third_party/boringssl/boringssl.gyp:boringssl',
348 ], 355 ],
349 }], 356 }],
357 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', {
358 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ],
359 }],
350 ['OS=="mac"', { 360 ['OS=="mac"', {
351 'sources': [ '<@(chrome_common_mac_sources)' ], 361 'sources': [ '<@(chrome_common_mac_sources)' ],
352 }], 362 }],
353 ['OS != "ios"', { 363 ['OS != "ios"', {
354 'dependencies': [ 364 'dependencies': [
355 '<(DEPTH)/components/components.gyp:autofill_core_common', 365 '<(DEPTH)/components/components.gyp:autofill_core_common',
356 '<(DEPTH)/components/components.gyp:autofill_content_common', 366 '<(DEPTH)/components/components.gyp:autofill_content_common',
357 '<(DEPTH)/components/components.gyp:password_manager_core_common', 367 '<(DEPTH)/components/components.gyp:password_manager_core_common',
358 '<(DEPTH)/components/components.gyp:password_manager_content_common' , 368 '<(DEPTH)/components/components.gyp:password_manager_content_common' ,
359 '<(DEPTH)/components/components.gyp:signin_core_common', 369 '<(DEPTH)/components/components.gyp:signin_core_common',
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 '<(DEPTH)/components/components.gyp:policy', 504 '<(DEPTH)/components/components.gyp:policy',
495 ], 505 ],
496 }], 506 }],
497 ['safe_browsing==1', { 507 ['safe_browsing==1', {
498 'defines': [ 'FULL_SAFE_BROWSING' ], 508 'defines': [ 'FULL_SAFE_BROWSING' ],
499 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], 509 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
500 }], 510 }],
501 ['safe_browsing==2', { 511 ['safe_browsing==2', {
502 'defines': [ 'MOBILE_SAFE_BROWSING' ], 512 'defines': [ 'MOBILE_SAFE_BROWSING' ],
503 }], 513 }],
504 ['use_openssl==1', {
505 'sources!': [
506 'common/extensions/api/networking_private/networking_private_crypto _nss.cc',
507 ],
508 },
509 { # else !use_openssl
510 'sources!': [
511 'common/extensions/api/networking_private/networking_private_crypto _openssl.cc',
512 ],
513 },
514 ],
515 ], 514 ],
516 'target_conditions': [ 515 'target_conditions': [
517 ['OS == "ios"', { 516 ['OS == "ios"', {
518 'sources/': [ 517 'sources/': [
519 # Pull in specific Mac files for iOS (which have been filtered out 518 # Pull in specific Mac files for iOS (which have been filtered out
520 # by file name rules). 519 # by file name rules).
521 ['include', '^common/chrome_version_info_mac\\.mm$'], 520 ['include', '^common/chrome_version_info_mac\\.mm$'],
522 ], 521 ],
523 }], 522 }],
524 ], 523 ],
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 'common/safe_browsing/csd.proto' 676 'common/safe_browsing/csd.proto'
678 ], 677 ],
679 'variables': { 678 'variables': {
680 'proto_in_dir': 'common/safe_browsing', 679 'proto_in_dir': 'common/safe_browsing',
681 'proto_out_dir': 'chrome/common/safe_browsing', 680 'proto_out_dir': 'chrome/common/safe_browsing',
682 }, 681 },
683 'includes': [ '../build/protoc.gypi' ], 682 'includes': [ '../build/protoc.gypi' ],
684 }, 683 },
685 ], 684 ],
686 } 685 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698