| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 ], | 657 ], |
| 658 'sources/': [ | 658 'sources/': [ |
| 659 ['include', '^files/file_path_watcher_linux\\.cc$'], | 659 ['include', '^files/file_path_watcher_linux\\.cc$'], |
| 660 ['include', '^process_util_linux\\.cc$'], | 660 ['include', '^process_util_linux\\.cc$'], |
| 661 ['include', '^posix/unix_domain_socket_linux\\.cc$'], | 661 ['include', '^posix/unix_domain_socket_linux\\.cc$'], |
| 662 ['include', '^strings/sys_string_conversions_posix\\.cc$'], | 662 ['include', '^strings/sys_string_conversions_posix\\.cc$'], |
| 663 ['include', '^sys_info_linux\\.cc$'], | 663 ['include', '^sys_info_linux\\.cc$'], |
| 664 ['include', '^worker_pool_linux\\.cc$'], | 664 ['include', '^worker_pool_linux\\.cc$'], |
| 665 ], | 665 ], |
| 666 }], | 666 }], |
| 667 ['OS == "ios"', { | 667 ['OS == "ios" and _toolset != "host"', { |
| 668 'sources/': [ | 668 'sources/': [ |
| 669 # Pull in specific Mac files for iOS (which have been filtered out | 669 # Pull in specific Mac files for iOS (which have been filtered out |
| 670 # by file name rules). | 670 # by file name rules). |
| 671 ['include', '^atomicops_internals_mac\\.'], | 671 ['include', '^atomicops_internals_mac\\.'], |
| 672 ['include', '^base_paths_mac\\.'], | 672 ['include', '^base_paths_mac\\.'], |
| 673 ['include', '^file_util_mac\\.'], | 673 ['include', '^file_util_mac\\.'], |
| 674 ['include', '^file_version_info_mac\\.'], | 674 ['include', '^file_version_info_mac\\.'], |
| 675 ['include', '^mac/bundle_locations\\.'], | 675 ['include', '^mac/bundle_locations\\.'], |
| 676 ['include', '^mac/foundation_util\\.'], | 676 ['include', '^mac/foundation_util\\.'], |
| 677 ['include', '^mac/mac_logging\\.'], | 677 ['include', '^mac/mac_logging\\.'], |
| 678 ['include', '^mac/objc_property_releaser\\.'], | 678 ['include', '^mac/objc_property_releaser\\.'], |
| 679 ['include', '^mac/scoped_mach_port\\.'], | 679 ['include', '^mac/scoped_mach_port\\.'], |
| 680 ['include', '^mac/scoped_nsautorelease_pool\\.'], | 680 ['include', '^mac/scoped_nsautorelease_pool\\.'], |
| 681 ['include', '^memory/discardable_memory_mac\\.'], | 681 ['include', '^memory/discardable_memory_mac\\.'], |
| 682 ['include', '^message_pump_mac\\.'], | 682 ['include', '^message_pump_mac\\.'], |
| 683 ['include', '^threading/platform_thread_mac\\.'], | 683 ['include', '^threading/platform_thread_mac\\.'], |
| 684 ['include', '^strings/sys_string_conversions_mac\\.'], | 684 ['include', '^strings/sys_string_conversions_mac\\.'], |
| 685 ['include', '^time_mac\\.'], | 685 ['include', '^time_mac\\.'], |
| 686 ['include', '^worker_pool_mac\\.'], | 686 ['include', '^worker_pool_mac\\.'], |
| 687 # Exclude all process_util except the minimal implementation | 687 # Exclude all process_util except the minimal implementation |
| 688 # needed on iOS (mostly for unit tests). | 688 # needed on iOS (mostly for unit tests). |
| 689 ['exclude', '^process_util'], | 689 ['exclude', '^process_util'], |
| 690 ['include', '^process_util_ios\\.mm$'], | 690 ['include', '^process_util_ios\\.mm$'], |
| 691 ], | 691 ], |
| 692 'sources!': [ | 692 'sources!': [ |
| 693 'message_pump_libevent.cc' | 693 'message_pump_libevent.cc' |
| 694 ], | 694 ], |
| 695 }], | 695 }], |
| 696 ['OS == "ios" and _toolset == "host"', { |
| 697 'sources/': [ |
| 698 # Copied filename_rules to switch from iOS to Mac inclusions. |
| 699 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
| 700 ['include', '(^|/)(cocoa|mac)/'], |
| 701 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
| 702 ['exclude', '(^|/)ios/'], |
| 703 ] |
| 704 }], |
| 696 ['OS != "mac" or >(nacl_untrusted_build)==1', { | 705 ['OS != "mac" or >(nacl_untrusted_build)==1', { |
| 697 'sources!': [ | 706 'sources!': [ |
| 698 'mac/scoped_aedesc.h' | 707 'mac/scoped_aedesc.h' |
| 699 ], | 708 ], |
| 700 }], | 709 }], |
| 701 # For now, just test the *BSD platforms enough to exclude them. | 710 # For now, just test the *BSD platforms enough to exclude them. |
| 702 # Subsequent changes will include them further. | 711 # Subsequent changes will include them further. |
| 703 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { | 712 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { |
| 704 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 713 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 705 }, | 714 }, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { | 784 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { |
| 776 'sources/': [ | 785 'sources/': [ |
| 777 ['exclude', '^third_party/nspr/'], | 786 ['exclude', '^third_party/nspr/'], |
| 778 ], | 787 ], |
| 779 }], | 788 }], |
| 780 ], | 789 ], |
| 781 }], | 790 }], |
| 782 ], | 791 ], |
| 783 }, | 792 }, |
| 784 } | 793 } |
| OLD | NEW |