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

Side by Side Diff: base/base.gypi

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixes comments by eroman Created 9 years, 8 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 | « base/base.gyp ('k') | base/crypto/capi_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 'defines': [ 436 'defines': [
437 'NO_TCMALLOC', 437 'NO_TCMALLOC',
438 ], 438 ],
439 'direct_dependent_settings': { 439 'direct_dependent_settings': {
440 'defines': [ 440 'defines': [
441 'NO_TCMALLOC', 441 'NO_TCMALLOC',
442 ], 442 ],
443 }, 443 },
444 }, 444 },
445 ], 445 ],
446 [ 'use_openssl==1', {
447 'dependencies': [
448 '../third_party/openssl/openssl.gyp:openssl',
449 ],
450 }, { # use_openssl==0
451 'sources': [
452 'base/crypto/scoped_nss_types.h',
453 ],
454 'dependencies': [
455 '../build/linux/system.gyp:nss',
456 ],
457 'export_dependent_settings': [
458 '../build/linux/system.gyp:nss',
459 ],
460 }
461 ],
462 ], 446 ],
463 'dependencies': [ 447 'dependencies': [
464 'symbolize', 448 'symbolize',
465 '../build/util/build_util.gyp:lastchange', 449 '../build/util/build_util.gyp:lastchange',
466 '../build/linux/system.gyp:gtk', 450 '../build/linux/system.gyp:gtk',
467 '../build/linux/system.gyp:x11', 451 '../build/linux/system.gyp:x11',
468 'xdg_mime', 452 'xdg_mime',
469 ], 453 ],
470 'defines': [ 454 'defines': [
471 'USE_SYMBOLIZE', 455 'USE_SYMBOLIZE',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 'link_settings': { 489 'link_settings': {
506 'libraries': [ 490 'libraries': [
507 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 491 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
508 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 492 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
509 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 493 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
510 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 494 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
511 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', 495 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
512 '$(SDKROOT)/System/Library/Frameworks/Security.framework', 496 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
513 ], 497 ],
514 }, 498 },
515 }, { # OS != "mac"
516 'sources!': [
517 'crypto/cssm_init.cc',
518 'crypto/cssm_init.h',
519 'crypto/mac_security_services_lock.cc',
520 'crypto/mac_security_services_lock.h',
521 ],
522 }], 499 }],
523 [ 'OS == "mac" or OS == "win"', {
524 'dependencies': [
525 '../third_party/nss/nss.gyp:nss',
526 ],
527 },],
528 [ 'OS != "win"', { 500 [ 'OS != "win"', {
529 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], 501 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
530 'sources!': [ 502 'sources!': [
531 'third_party/purify/pure_api.c', 503 'third_party/purify/pure_api.c',
532 'base_drag_source.cc', 504 'base_drag_source.cc',
533 'base_drop_target.cc', 505 'base_drop_target.cc',
534 'crypto/capi_util.h',
535 'crypto/capi_util.cc',
536 'event_recorder.cc', 506 'event_recorder.cc',
537 'file_version_info.cc', 507 'file_version_info.cc',
538 'registry.cc', 508 'registry.cc',
539 'resource_util.cc', 509 'resource_util.cc',
540 'win_util.cc', 510 'win_util.cc',
541 ], 511 ],
542 },], 512 },],
543 [ 'use_openssl==1', {
544 # TODO(joth): Use a glob to match exclude patterns once the
545 # OpenSSL file set is complete.
546 'sources!': [
547 'crypto/encryptor_nss.cc',
548 'crypto/rsa_private_key_nss.cc',
549 'crypto/secure_hash_default.cc',
550 'crypto/signature_creator_nss.cc',
551 'crypto/signature_verifier_nss.cc',
552 'crypto/symmetric_key_nss.cc',
553 'hmac_nss.cc',
554 'nss_util.cc',
555 'nss_util.h',
556 'third_party/nss/blapi.h',
557 'third_party/nss/blapit.h',
558 'third_party/nss/sha256.h',
559 'third_party/nss/sha512.cc',
560 ],
561 }, {
562 'sources!': [
563 'crypto/encryptor_openssl.cc',
564 'crypto/rsa_private_key_openssl.cc',
565 'crypto/secure_hash_openssl.cc',
566 'crypto/signature_creator_openssl.cc',
567 'crypto/signature_verifier_openssl.cc',
568 'crypto/symmetric_key_openssl.cc',
569 'hmac_openssl.cc',
570 'openssl_util.cc',
571 'openssl_util.h',
572 ],
573 },],
574 ], 513 ],
575 'sources': [ 514 'sources': [
576 'crypto/capi_util.cc',
577 'crypto/capi_util.h',
578 'crypto/crypto_module_blocking_password_delegate.h',
579 'crypto/cssm_init.cc',
580 'crypto/cssm_init.h',
581 'crypto/encryptor.h',
582 'crypto/encryptor_mac.cc',
583 'crypto/encryptor_nss.cc',
584 'crypto/encryptor_openssl.cc',
585 'crypto/encryptor_win.cc',
586 'crypto/mac_security_services_lock.cc',
587 'crypto/mac_security_services_lock.h',
588 'crypto/rsa_private_key.h',
589 'crypto/rsa_private_key.cc',
590 'crypto/rsa_private_key_mac.cc',
591 'crypto/rsa_private_key_nss.cc',
592 'crypto/rsa_private_key_openssl.cc',
593 'crypto/rsa_private_key_win.cc',
594 'crypto/secure_hash.h',
595 'crypto/secure_hash_default.cc',
596 'crypto/secure_hash_openssl.cc',
597 'crypto/signature_creator.h',
598 'crypto/signature_creator_mac.cc',
599 'crypto/signature_creator_nss.cc',
600 'crypto/signature_creator_openssl.cc',
601 'crypto/signature_creator_win.cc',
602 'crypto/signature_verifier.h',
603 'crypto/signature_verifier_mac.cc',
604 'crypto/signature_verifier_nss.cc',
605 'crypto/signature_verifier_openssl.cc',
606 'crypto/signature_verifier_win.cc',
607 'crypto/symmetric_key.h',
608 'crypto/symmetric_key_mac.cc',
609 'crypto/symmetric_key_nss.cc',
610 'crypto/symmetric_key_openssl.cc',
611 'crypto/symmetric_key_win.cc',
612 'third_party/nspr/prcpucfg.h', 515 'third_party/nspr/prcpucfg.h',
613 'third_party/nspr/prcpucfg_win.h', 516 'third_party/nspr/prcpucfg_win.h',
614 'third_party/nspr/prtypes.h', 517 'third_party/nspr/prtypes.h',
615 'third_party/nss/blapi.h',
616 'third_party/nss/blapit.h',
617 'third_party/nss/sha256.h',
618 'third_party/nss/sha512.cc',
619 'third_party/purify/pure.h', 518 'third_party/purify/pure.h',
620 'third_party/purify/pure_api.c', 519 'third_party/purify/pure_api.c',
621 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 520 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
622 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', 521 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
623 'auto_reset.h', 522 'auto_reset.h',
624 'base64.cc', 523 'base64.cc',
625 'base64.h', 524 'base64.h',
626 'event_recorder.cc', 525 'event_recorder.cc',
627 'event_recorder.h', 526 'event_recorder.h',
628 'event_recorder_stubs.cc', 527 'event_recorder_stubs.cc',
629 'file_descriptor_shuffle.cc', 528 'file_descriptor_shuffle.cc',
630 'file_descriptor_shuffle.h', 529 'file_descriptor_shuffle.h',
631 'hmac.h',
632 'hmac_mac.cc',
633 'hmac_nss.cc',
634 'hmac_openssl.cc',
635 'hmac_win.cc',
636 'linux_util.cc', 530 'linux_util.cc',
637 'linux_util.h', 531 'linux_util.h',
638 'md5.cc', 532 'md5.cc',
639 'md5.h', 533 'md5.h',
640 'message_pump_glib.cc', 534 'message_pump_glib.cc',
641 'message_pump_glib.h', 535 'message_pump_glib.h',
642 'message_pump_glib_x.cc', 536 'message_pump_glib_x.cc',
643 'message_pump_glib_x.h', 537 'message_pump_glib_x.h',
644 'message_pump_glib_x_dispatch.h', 538 'message_pump_glib_x_dispatch.h',
645 'message_pump_libevent.cc', 539 'message_pump_libevent.cc',
646 'message_pump_libevent.h', 540 'message_pump_libevent.h',
647 'message_pump_mac.h', 541 'message_pump_mac.h',
648 'message_pump_mac.mm', 542 'message_pump_mac.mm',
649 'metrics/field_trial.cc', 543 'metrics/field_trial.cc',
650 'metrics/field_trial.h', 544 'metrics/field_trial.h',
651 'nss_util.cc',
652 'nss_util.h',
653 'openssl_util.cc',
654 'openssl_util.h',
655 'sha2.cc',
656 'sha2.h',
657 'string16.cc', 545 'string16.cc',
658 'string16.h', 546 'string16.h',
659 'sync_socket.h', 547 'sync_socket.h',
660 'sync_socket_win.cc', 548 'sync_socket_win.cc',
661 'sync_socket_posix.cc', 549 'sync_socket_posix.cc',
662 'time_mac.cc', 550 'time_mac.cc',
663 'time_posix.cc', 551 'time_posix.cc',
664 ], 552 ],
665 }, 553 },
666 ], 554 ],
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 'third_party/xdg_mime/xdgmimemagic.c', 639 'third_party/xdg_mime/xdgmimemagic.c',
752 'third_party/xdg_mime/xdgmimemagic.h', 640 'third_party/xdg_mime/xdgmimemagic.h',
753 'third_party/xdg_mime/xdgmimeparent.c', 641 'third_party/xdg_mime/xdgmimeparent.c',
754 'third_party/xdg_mime/xdgmimeparent.h', 642 'third_party/xdg_mime/xdgmimeparent.h',
755 ], 643 ],
756 }, 644 },
757 ], 645 ],
758 }], 646 }],
759 ], 647 ],
760 } 648 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/crypto/capi_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698