OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 }, | 391 }, |
392 # These warnings are needed for the files in third_party\dmg_fp. | 392 # These warnings are needed for the files in third_party\dmg_fp. |
393 'msvs_disabled_warnings': [ | 393 'msvs_disabled_warnings': [ |
394 4244, 4554, 4018, 4102, | 394 4244, 4554, 4018, 4102, |
395 ], | 395 ], |
396 'mac_framework_dirs': [ | 396 'mac_framework_dirs': [ |
397 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | 397 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
398 ], | 398 ], |
399 'conditions': [ | 399 'conditions': [ |
400 [ 'OS == "linux" or OS == "freebsd"', { | 400 [ 'OS == "linux" or OS == "freebsd"', { |
401 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], | |
402 ['exclude', '\\.mm?$' ] ], | |
403 'conditions': [ | 401 'conditions': [ |
404 [ 'chromeos==1 or toolkit_views==1', { | 402 [ 'chromeos==1 or toolkit_views==1', { |
405 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 403 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
406 }, | 404 }, |
407 ], | 405 ], |
408 [ 'linux_use_tcmalloc==1', { | 406 [ 'linux_use_tcmalloc==1', { |
409 'defines': [ | 407 'defines': [ |
410 'LINUX_USE_TCMALLOC', | 408 'LINUX_USE_TCMALLOC', |
411 ], | 409 ], |
412 'direct_dependent_settings': { | 410 'direct_dependent_settings': { |
(...skipping 18 matching lines...) Expand all Loading... |
431 '-lrt', | 429 '-lrt', |
432 ], | 430 ], |
433 }, | 431 }, |
434 'export_dependent_settings': [ | 432 'export_dependent_settings': [ |
435 '../build/linux/system.gyp:gtk', | 433 '../build/linux/system.gyp:gtk', |
436 ], | 434 ], |
437 }, | 435 }, |
438 { # else: OS != "linux" && OS != "freebsd" | 436 { # else: OS != "linux" && OS != "freebsd" |
439 'sources/': [ | 437 'sources/': [ |
440 ['exclude', '/xdg_mime/'], | 438 ['exclude', '/xdg_mime/'], |
| 439 ['exclude', '_nss\.cc$'], |
441 ], | 440 ], |
442 'sources!': [ | 441 'sources!': [ |
443 'crypto/rsa_private_key_nss.cc', | |
444 'crypto/signature_creator_nss.cc', | |
445 'crypto/signature_verifier_nss.cc', | |
446 'atomicops_internals_x86_gcc.cc', | 442 'atomicops_internals_x86_gcc.cc', |
447 'base_paths_posix.cc', | 443 'base_paths_posix.cc', |
448 'directory_watcher_inotify.cc', | 444 'directory_watcher_inotify.cc', |
449 'hmac_nss.cc', | |
450 'linux_util.cc', | 445 'linux_util.cc', |
451 'message_pump_glib.cc', | 446 'message_pump_glib.cc', |
452 'nss_init.cc', | 447 'nss_init.cc', |
453 'nss_init.h', | 448 'nss_init.h', |
454 'time_posix.cc', | 449 'time_posix.cc', |
455 ], | 450 ], |
456 }, | 451 }, |
457 ], | 452 ], |
458 [ 'OS != "linux"', { | 453 [ 'OS != "linux"', { |
459 'sources!': [ | 454 'sources!': [ |
(...skipping 27 matching lines...) Expand all Loading... |
487 [ 'OS == "freebsd"', { | 482 [ 'OS == "freebsd"', { |
488 'sources!': [ | 483 'sources!': [ |
489 'directory_watcher_inotify.cc', | 484 'directory_watcher_inotify.cc', |
490 ], | 485 ], |
491 'sources': [ | 486 'sources': [ |
492 'directory_watcher_stub.cc', | 487 'directory_watcher_stub.cc', |
493 ], | 488 ], |
494 }, | 489 }, |
495 ], | 490 ], |
496 [ 'OS == "mac"', { | 491 [ 'OS == "mac"', { |
497 'sources/': [ ['exclude', '_(linux|gtk|win|chromeos)\\.cc$'] ], | |
498 'sources!': [ | |
499 ], | |
500 'link_settings': { | 492 'link_settings': { |
501 'libraries': [ | 493 'libraries': [ |
502 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 494 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
503 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 495 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
504 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 496 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
505 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 497 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
506 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 498 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
507 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 499 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
508 ], | 500 ], |
509 }, | 501 }, |
510 }, | 502 }, |
511 { # else: OS != "mac" | 503 { # else: OS != "mac" |
512 'sources!': [ | 504 'sources!': [ |
513 'crypto/cssm_init.cc', | 505 'crypto/cssm_init.cc', |
514 'crypto/cssm_init.h', | 506 'crypto/cssm_init.h', |
515 ], | 507 ], |
516 } | 508 } |
517 ], | 509 ], |
518 [ 'OS == "win"', { | 510 [ 'OS == "win"', { |
519 'include_dirs': [ | 511 'include_dirs': [ |
520 '../chrome/third_party/wtl/include', | 512 '../chrome/third_party/wtl/include', |
521 ], | 513 ], |
522 'sources/': [ ['exclude', '_(linux|gtk|mac|posix|chromeos)\\.cc$'], | |
523 ['exclude', '\\.mm?$' ] ], | |
524 'sources!': [ | 514 'sources!': [ |
525 'data_pack.cc', | 515 'data_pack.cc', |
526 'event_recorder_stubs.cc', | 516 'event_recorder_stubs.cc', |
527 'file_descriptor_shuffle.cc', | 517 'file_descriptor_shuffle.cc', |
528 'message_pump_libevent.cc', | 518 'message_pump_libevent.cc', |
529 'string16.cc', | 519 'string16.cc', |
530 ], | 520 ], |
531 }, | 521 }, |
532 { # else: OS != "win" | 522 { # else: OS != "win" |
533 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], | 523 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 '../third_party/icu/public/common', | 682 '../third_party/icu/public/common', |
693 ], | 683 ], |
694 'dependencies': [ | 684 'dependencies': [ |
695 'base', | 685 'base', |
696 'base_i18n', | 686 'base_i18n', |
697 '../testing/gmock.gyp:gmock', | 687 '../testing/gmock.gyp:gmock', |
698 '../testing/gtest.gyp:gtest', | 688 '../testing/gtest.gyp:gtest', |
699 ], | 689 ], |
700 'conditions': [ | 690 'conditions': [ |
701 ['OS == "linux" or OS == "freebsd"', { | 691 ['OS == "linux" or OS == "freebsd"', { |
702 'sources/': [ ['exclude', '\\.mm?$' ] ], | |
703 'sources!': [ | 692 'sources!': [ |
704 'file_version_info_unittest.cc', | 693 'file_version_info_unittest.cc', |
705 'worker_pool_linux_unittest.cc', | 694 'worker_pool_linux_unittest.cc', |
706 ], | 695 ], |
707 'conditions': [ | 696 'conditions': [ |
708 [ 'linux_use_tcmalloc==1', { | 697 [ 'linux_use_tcmalloc==1', { |
709 'dependencies': [ | 698 'dependencies': [ |
710 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | 699 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
711 ], | 700 ], |
712 }, | 701 }, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 'dependencies': [ | 745 'dependencies': [ |
757 'base', | 746 'base', |
758 ], | 747 ], |
759 'sources': [ | 748 'sources': [ |
760 'test/test_file_util.h', | 749 'test/test_file_util.h', |
761 'test/test_file_util_linux.cc', | 750 'test/test_file_util_linux.cc', |
762 'test/test_file_util_mac.cc', | 751 'test/test_file_util_mac.cc', |
763 'test/test_file_util_posix.cc', | 752 'test/test_file_util_posix.cc', |
764 'test/test_file_util_win.cc', | 753 'test/test_file_util_win.cc', |
765 ], | 754 ], |
766 'conditions': [ | |
767 [ 'OS == "linux" or OS == "freebsd"', { | |
768 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], | |
769 ['exclude', '\\.mm?$' ] ], | |
770 'conditions': [ | |
771 [ 'chromeos==1 or toolkit_views==1', { | |
772 'sources/': [ ['include', '_chromeos\\.cc$'] ] | |
773 }, | |
774 ], | |
775 ], | |
776 }, | |
777 ], | |
778 [ 'OS == "mac"', { | |
779 'sources/': [ ['exclude', '_(linux|win|chromeos)\\.cc$'] ], | |
780 }, | |
781 ], | |
782 [ 'OS == "win"', { | |
783 'sources/': [ ['exclude', '_(linux|mac|posix|chromeos)\\.cc$'], | |
784 ['exclude', '\\.mm?$' ] ], | |
785 }, | |
786 ], | |
787 ], | |
788 }, | 755 }, |
789 { | 756 { |
790 'target_name': 'test_support_perf', | 757 'target_name': 'test_support_perf', |
791 'type': '<(library)', | 758 'type': '<(library)', |
792 'dependencies': [ | 759 'dependencies': [ |
793 'base', | 760 'base', |
794 '../testing/gtest.gyp:gtest', | 761 '../testing/gtest.gyp:gtest', |
795 ], | 762 ], |
796 'sources': [ | 763 'sources': [ |
797 'perftimer.cc', | 764 'perftimer.cc', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 ], | 859 ], |
893 }], | 860 }], |
894 ], | 861 ], |
895 } | 862 } |
896 | 863 |
897 # Local Variables: | 864 # Local Variables: |
898 # tab-width:2 | 865 # tab-width:2 |
899 # indent-tabs-mode:nil | 866 # indent-tabs-mode:nil |
900 # End: | 867 # End: |
901 # vim: set expandtab tabstop=2 shiftwidth=2: | 868 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |