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

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: 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
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 # Note that sha2.cc depends on the NSS files bundled into
557 # chromium; it does not have the _nss postfix as it is required
558 # on platforms besides linux and *bsd.
559 'sha2.cc',
560 'third_party/nss/blapi.h',
561 'third_party/nss/blapit.h',
562 'third_party/nss/sha256.h',
563 'third_party/nss/sha512.cc',
564 ],
565 }, {
566 'sources!': [
567 'crypto/encryptor_openssl.cc',
568 'crypto/rsa_private_key_openssl.cc',
569 'crypto/secure_hash_openssl.cc',
570 'crypto/signature_creator_openssl.cc',
571 'crypto/signature_verifier_openssl.cc',
572 'crypto/symmetric_key_openssl.cc',
573 'hmac_openssl.cc',
574 'openssl_util.cc',
575 'openssl_util.h',
576 'sha2_openssl.cc',
577 ],
578 },],
579 ], 513 ],
580 'sources': [ 514 'sources': [
581 'crypto/capi_util.cc',
582 'crypto/capi_util.h',
583 'crypto/crypto_module_blocking_password_delegate.h',
584 'crypto/cssm_init.cc',
585 'crypto/cssm_init.h',
586 'crypto/encryptor.h',
587 'crypto/encryptor_mac.cc',
588 'crypto/encryptor_nss.cc',
589 'crypto/encryptor_openssl.cc',
590 'crypto/encryptor_win.cc',
591 'crypto/mac_security_services_lock.cc',
592 'crypto/mac_security_services_lock.h',
593 'crypto/rsa_private_key.h',
594 'crypto/rsa_private_key.cc',
595 'crypto/rsa_private_key_mac.cc',
596 'crypto/rsa_private_key_nss.cc',
597 'crypto/rsa_private_key_openssl.cc',
598 'crypto/rsa_private_key_win.cc',
599 'crypto/secure_hash.h',
600 'crypto/secure_hash_default.cc',
601 'crypto/secure_hash_openssl.cc',
602 'crypto/signature_creator.h',
603 'crypto/signature_creator_mac.cc',
604 'crypto/signature_creator_nss.cc',
605 'crypto/signature_creator_openssl.cc',
606 'crypto/signature_creator_win.cc',
607 'crypto/signature_verifier.h',
608 'crypto/signature_verifier_mac.cc',
609 'crypto/signature_verifier_nss.cc',
610 'crypto/signature_verifier_openssl.cc',
611 'crypto/signature_verifier_win.cc',
612 'crypto/symmetric_key.h',
613 'crypto/symmetric_key_mac.cc',
614 'crypto/symmetric_key_nss.cc',
615 'crypto/symmetric_key_openssl.cc',
616 'crypto/symmetric_key_win.cc',
617 'third_party/nspr/prcpucfg.h', 515 'third_party/nspr/prcpucfg.h',
618 'third_party/nspr/prcpucfg_win.h', 516 'third_party/nspr/prcpucfg_win.h',
619 'third_party/nspr/prtypes.h', 517 'third_party/nspr/prtypes.h',
620 'third_party/nss/blapi.h',
621 'third_party/nss/blapit.h',
622 'third_party/nss/sha256.h',
623 'third_party/nss/sha512.cc',
624 'third_party/purify/pure.h', 518 'third_party/purify/pure.h',
625 'third_party/purify/pure_api.c', 519 'third_party/purify/pure_api.c',
626 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 520 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
627 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', 521 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
628 'auto_reset.h', 522 'auto_reset.h',
629 'base64.cc', 523 'base64.cc',
630 'base64.h', 524 'base64.h',
631 'event_recorder.cc', 525 'event_recorder.cc',
632 'event_recorder.h', 526 'event_recorder.h',
633 'event_recorder_stubs.cc', 527 'event_recorder_stubs.cc',
634 'file_descriptor_shuffle.cc', 528 'file_descriptor_shuffle.cc',
635 'file_descriptor_shuffle.h', 529 'file_descriptor_shuffle.h',
636 'hmac.h',
637 'hmac_mac.cc',
638 'hmac_nss.cc',
639 'hmac_openssl.cc',
640 'hmac_win.cc',
641 'linux_util.cc', 530 'linux_util.cc',
642 'linux_util.h', 531 'linux_util.h',
643 'md5.cc', 532 'md5.cc',
644 'md5.h', 533 'md5.h',
645 'message_pump_glib.cc', 534 'message_pump_glib.cc',
646 'message_pump_glib.h', 535 'message_pump_glib.h',
647 'message_pump_glib_x.cc', 536 'message_pump_glib_x.cc',
648 'message_pump_glib_x.h', 537 'message_pump_glib_x.h',
649 'message_pump_glib_x_dispatch.h', 538 'message_pump_glib_x_dispatch.h',
650 'message_pump_libevent.cc', 539 'message_pump_libevent.cc',
651 'message_pump_libevent.h', 540 'message_pump_libevent.h',
652 'message_pump_mac.h', 541 'message_pump_mac.h',
653 'message_pump_mac.mm', 542 'message_pump_mac.mm',
654 'metrics/field_trial.cc', 543 'metrics/field_trial.cc',
655 'metrics/field_trial.h', 544 'metrics/field_trial.h',
656 'nss_util.cc',
657 'nss_util.h',
658 'openssl_util.cc',
659 'openssl_util.h',
660 'sha2.cc',
661 'sha2.h',
662 'sha2_openssl.cc',
663 'string16.cc', 545 'string16.cc',
664 'string16.h', 546 'string16.h',
665 'sync_socket.h', 547 'sync_socket.h',
666 'sync_socket_win.cc', 548 'sync_socket_win.cc',
667 'sync_socket_posix.cc', 549 'sync_socket_posix.cc',
668 'time_mac.cc', 550 'time_mac.cc',
669 'time_posix.cc', 551 'time_posix.cc',
670 ], 552 ],
671 }, 553 },
672 ], 554 ],
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 'third_party/xdg_mime/xdgmimemagic.c', 639 'third_party/xdg_mime/xdgmimemagic.c',
758 'third_party/xdg_mime/xdgmimemagic.h', 640 'third_party/xdg_mime/xdgmimemagic.h',
759 'third_party/xdg_mime/xdgmimeparent.c', 641 'third_party/xdg_mime/xdgmimeparent.c',
760 'third_party/xdg_mime/xdgmimeparent.h', 642 'third_party/xdg_mime/xdgmimeparent.h',
761 ], 643 ],
762 }, 644 },
763 ], 645 ],
764 }], 646 }],
765 ], 647 ],
766 } 648 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/crypto/capi_util.h » ('j') | base/nss_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698