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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ['include', '^process_util_mac\\.mm$'], |
| 699 ['include', '^process_util_posix\\.cc'], |
| 700 ['include', '^process_util\\.cc'], |
| 701 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
| 702 ['include', '(^|/)(cocoa|mac)/'], |
| 703 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
| 704 ['exclude', '(^|/)ios/'], |
| 705 ] |
| 706 }], |
696 ['OS != "mac" or >(nacl_untrusted_build)==1', { | 707 ['OS != "mac" or >(nacl_untrusted_build)==1', { |
697 'sources!': [ | 708 'sources!': [ |
698 'mac/scoped_aedesc.h' | 709 'mac/scoped_aedesc.h' |
699 ], | 710 ], |
700 }], | 711 }], |
701 # For now, just test the *BSD platforms enough to exclude them. | 712 # For now, just test the *BSD platforms enough to exclude them. |
702 # Subsequent changes will include them further. | 713 # Subsequent changes will include them further. |
703 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { | 714 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { |
704 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 715 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
705 }, | 716 }, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { | 786 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { |
776 'sources/': [ | 787 'sources/': [ |
777 ['exclude', '^third_party/nspr/'], | 788 ['exclude', '^third_party/nspr/'], |
778 ], | 789 ], |
779 }], | 790 }], |
780 ], | 791 ], |
781 }], | 792 }], |
782 ], | 793 ], |
783 }, | 794 }, |
784 } | 795 } |
OLD | NEW |