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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 'posix/unix_domain_socket_linux.h', | 372 'posix/unix_domain_socket_linux.h', |
373 'power_monitor/power_monitor.cc', | 373 'power_monitor/power_monitor.cc', |
374 'power_monitor/power_monitor.h', | 374 'power_monitor/power_monitor.h', |
375 'power_monitor/power_monitor_android.cc', | 375 'power_monitor/power_monitor_android.cc', |
376 'power_monitor/power_monitor_android.h', | 376 'power_monitor/power_monitor_android.h', |
377 'power_monitor/power_monitor_ios.mm', | 377 'power_monitor/power_monitor_ios.mm', |
378 'power_monitor/power_monitor_mac.mm', | 378 'power_monitor/power_monitor_mac.mm', |
379 'power_monitor/power_monitor_posix.cc', | 379 'power_monitor/power_monitor_posix.cc', |
380 'power_monitor/power_monitor_win.cc', | 380 'power_monitor/power_monitor_win.cc', |
381 'power_monitor/power_observer.h', | 381 'power_monitor/power_observer.h', |
382 'process.h', | |
383 'process_info.h', | |
384 'process_info_mac.cc', | |
385 'process_info_win.cc', | |
386 'process_linux.cc', | |
387 'process_posix.cc', | |
388 'process_util.h', | |
389 'process_win.cc', | |
390 'process/internal_linux.cc', | 382 'process/internal_linux.cc', |
391 'process/internal_linux.h', | 383 'process/internal_linux.h', |
392 'process/kill.cc', | 384 'process/kill.cc', |
393 'process/kill.h', | 385 'process/kill.h', |
394 'process/kill_mac.cc', | 386 'process/kill_mac.cc', |
395 'process/kill_posix.cc', | 387 'process/kill_posix.cc', |
396 'process/kill_win.cc', | 388 'process/kill_win.cc', |
397 'process/launch.h', | 389 'process/launch.h', |
398 'process/launch_ios.cc', | 390 'process/launch_ios.cc', |
399 'process/launch_mac.cc', | 391 'process/launch_mac.cc', |
400 'process/launch_posix.cc', | 392 'process/launch_posix.cc', |
401 'process/launch_win.cc', | 393 'process/launch_win.cc', |
402 'process/memory.h', | 394 'process/memory.h', |
403 'process/memory_linux.cc', | 395 'process/memory_linux.cc', |
404 'process/memory_mac.mm', | 396 'process/memory_mac.mm', |
405 'process/memory_win.cc', | 397 'process/memory_win.cc', |
| 398 'process/process.h', |
406 'process/process_handle_freebsd.cc', | 399 'process/process_handle_freebsd.cc', |
407 'process/process_handle_linux.cc', | 400 'process/process_handle_linux.cc', |
408 'process/process_handle_mac.cc', | 401 'process/process_handle_mac.cc', |
409 'process/process_handle_openbsd.cc', | 402 'process/process_handle_openbsd.cc', |
410 'process/process_handle_posix.cc', | 403 'process/process_handle_posix.cc', |
411 'process/process_handle_win.cc', | 404 'process/process_handle_win.cc', |
| 405 'process/process_info.h', |
| 406 'process/process_info_mac.cc', |
| 407 'process/process_info_win.cc', |
412 'process/process_iterator.cc', | 408 'process/process_iterator.cc', |
413 'process/process_iterator.h', | 409 'process/process_iterator.h', |
414 'process/process_iterator_freebsd.cc', | 410 'process/process_iterator_freebsd.cc', |
415 'process/process_iterator_linux.cc', | 411 'process/process_iterator_linux.cc', |
416 'process/process_iterator_mac.cc', | 412 'process/process_iterator_mac.cc', |
417 'process/process_iterator_openbsd.cc', | 413 'process/process_iterator_openbsd.cc', |
418 'process/process_iterator_win.cc', | 414 'process/process_iterator_win.cc', |
| 415 'process/process_linux.cc', |
419 'process/process_metrics.h', | 416 'process/process_metrics.h', |
420 'process/process_metrics_freebsd.cc', | 417 'process/process_metrics_freebsd.cc', |
421 'process/process_metrics_ios.cc', | 418 'process/process_metrics_ios.cc', |
422 'process/process_metrics_linux.cc', | 419 'process/process_metrics_linux.cc', |
423 'process/process_metrics_mac.cc', | 420 'process/process_metrics_mac.cc', |
424 'process/process_metrics_openbsd.cc', | 421 'process/process_metrics_openbsd.cc', |
425 'process/process_metrics_posix.cc', | 422 'process/process_metrics_posix.cc', |
426 'process/process_metrics_win.cc', | 423 'process/process_metrics_win.cc', |
| 424 'process/process_posix.cc', |
| 425 'process/process_win.cc', |
427 'profiler/scoped_profile.cc', | 426 'profiler/scoped_profile.cc', |
428 'profiler/scoped_profile.h', | 427 'profiler/scoped_profile.h', |
429 'profiler/alternate_timer.cc', | 428 'profiler/alternate_timer.cc', |
430 'profiler/alternate_timer.h', | 429 'profiler/alternate_timer.h', |
431 'profiler/tracked_time.cc', | 430 'profiler/tracked_time.cc', |
432 'profiler/tracked_time.h', | 431 'profiler/tracked_time.h', |
433 'rand_util.cc', | 432 'rand_util.cc', |
434 'rand_util.h', | 433 'rand_util.h', |
435 'rand_util_nacl.cc', | 434 'rand_util_nacl.cc', |
436 'rand_util_posix.cc', | 435 'rand_util_posix.cc', |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 'debug/stack_trace_posix.cc', | 693 'debug/stack_trace_posix.cc', |
695 'file_util.cc', | 694 'file_util.cc', |
696 'file_util_posix.cc', | 695 'file_util_posix.cc', |
697 'files/file_enumerator_posix.cc', | 696 'files/file_enumerator_posix.cc', |
698 'files/file_path_watcher_kqueue.cc', | 697 'files/file_path_watcher_kqueue.cc', |
699 'memory/shared_memory_posix.cc', | 698 'memory/shared_memory_posix.cc', |
700 'native_library_posix.cc', | 699 'native_library_posix.cc', |
701 'path_service.cc', | 700 'path_service.cc', |
702 'posix/unix_domain_socket_linux.cc', | 701 'posix/unix_domain_socket_linux.cc', |
703 'process/kill_posix.cc', | 702 'process/kill_posix.cc', |
| 703 'process/launch_posix.cc', |
704 'process/process_metrics_posix.cc', | 704 'process/process_metrics_posix.cc', |
705 'process/launch_posix.cc', | 705 'process/process_posix.cc', |
706 'process_posix.cc', | |
707 'rand_util_posix.cc', | 706 'rand_util_posix.cc', |
708 'scoped_native_library.cc', | 707 'scoped_native_library.cc', |
709 'files/scoped_temp_dir.cc', | 708 'files/scoped_temp_dir.cc', |
710 'sys_info_posix.cc', | 709 'sys_info_posix.cc', |
711 'third_party/dynamic_annotations/dynamic_annotations.c', | 710 'third_party/dynamic_annotations/dynamic_annotations.c', |
712 ], | 711 ], |
713 'sources/': [ | 712 'sources/': [ |
714 # Metrics won't work in the NaCl sandbox. | 713 # Metrics won't work in the NaCl sandbox. |
715 ['exclude', '^metrics/'], | 714 ['exclude', '^metrics/'], |
716 ['include', '^threading/platform_thread_linux\\.cc$'], | 715 ['include', '^threading/platform_thread_linux\\.cc$'], |
717 ], | 716 ], |
718 }], | 717 }], |
719 ['OS == "android" and >(nacl_untrusted_build)==0', { | 718 ['OS == "android" and >(nacl_untrusted_build)==0', { |
720 'sources!': [ | 719 'sources!': [ |
721 'base_paths_posix.cc', | 720 'base_paths_posix.cc', |
722 'files/file_path_watcher_kqueue.cc', | 721 'files/file_path_watcher_kqueue.cc', |
723 'files/file_path_watcher_stub.cc', | 722 'files/file_path_watcher_stub.cc', |
724 'power_monitor/power_monitor_posix.cc', | 723 'power_monitor/power_monitor_posix.cc', |
725 ], | 724 ], |
726 'sources/': [ | 725 'sources/': [ |
727 ['include', '^debug/proc_maps_linux\\.cc$'], | 726 ['include', '^debug/proc_maps_linux\\.cc$'], |
728 ['include', '^files/file_path_watcher_linux\\.cc$'], | 727 ['include', '^files/file_path_watcher_linux\\.cc$'], |
729 ['include', '^process_util_linux\\.cc$'], | |
730 ['include', '^process/memory_linux\\.cc$'], | 728 ['include', '^process/memory_linux\\.cc$'], |
731 ['include', '^process/internal_linux\\.cc$'], | 729 ['include', '^process/internal_linux\\.cc$'], |
732 ['include', '^process/process_handle_linux\\.cc$'], | 730 ['include', '^process/process_handle_linux\\.cc$'], |
733 ['include', '^process/process_iterator\\.cc$'], | 731 ['include', '^process/process_iterator\\.cc$'], |
734 ['include', '^process/process_iterator_linux\\.cc$'], | 732 ['include', '^process/process_iterator_linux\\.cc$'], |
735 ['include', '^process/process_metrics_linux\\.cc$'], | 733 ['include', '^process/process_metrics_linux\\.cc$'], |
736 ['include', '^posix/unix_domain_socket_linux\\.cc$'], | 734 ['include', '^posix/unix_domain_socket_linux\\.cc$'], |
737 ['include', '^strings/sys_string_conversions_posix\\.cc$'], | 735 ['include', '^strings/sys_string_conversions_posix\\.cc$'], |
738 ['include', '^sys_info_linux\\.cc$'], | 736 ['include', '^sys_info_linux\\.cc$'], |
739 ['include', '^worker_pool_linux\\.cc$'], | 737 ['include', '^worker_pool_linux\\.cc$'], |
(...skipping 19 matching lines...) Expand all Loading... |
759 ['include', '^mac/objc_property_releaser\\.'], | 757 ['include', '^mac/objc_property_releaser\\.'], |
760 ['include', '^mac/scoped_mach_port\\.'], | 758 ['include', '^mac/scoped_mach_port\\.'], |
761 ['include', '^mac/scoped_nsautorelease_pool\\.'], | 759 ['include', '^mac/scoped_nsautorelease_pool\\.'], |
762 ['include', '^mac/scoped_nsobject\\.'], | 760 ['include', '^mac/scoped_nsobject\\.'], |
763 ['include', '^memory/discardable_memory_mac\\.'], | 761 ['include', '^memory/discardable_memory_mac\\.'], |
764 ['include', '^message_loop/message_pump_mac\\.'], | 762 ['include', '^message_loop/message_pump_mac\\.'], |
765 ['include', '^strings/sys_string_conversions_mac\\.'], | 763 ['include', '^strings/sys_string_conversions_mac\\.'], |
766 ['include', '^threading/platform_thread_mac\\.'], | 764 ['include', '^threading/platform_thread_mac\\.'], |
767 ['include', '^time/time_mac\\.'], | 765 ['include', '^time/time_mac\\.'], |
768 ['include', '^worker_pool_mac\\.'], | 766 ['include', '^worker_pool_mac\\.'], |
769 # Exclude all process_util except the minimal implementation | 767 # Exclude all process/ except the minimal implementation |
770 # needed on iOS (mostly for unit tests). | 768 # needed on iOS (mostly for unit tests). |
771 ['exclude', '^process_util'], | 769 ['exclude', '^process/.*'], |
772 ['include', '^process_util_ios\\.mm$'], | 770 ['include', '^process/.*_ios\.(cc|mm)$'], |
773 ['exclude', '^process/launch_posix\\.cc$'], | 771 ['include', '^process/memory_stubs\.cc$'], |
774 ['exclude', '^process/launch_mac\\.cc$'], | 772 ['include', '^process/process_handle_posix\.cc$'], |
775 ['exclude', '^process/memory_mac\\.mm$'], | |
776 ['include', '^process/process_handle_posix\\.cc$'], | |
777 ], | 773 ], |
778 'sources': [ | 774 'sources': [ |
779 'process/memory_stubs.cc', | 775 'process/memory_stubs.cc', |
780 ], | 776 ], |
781 'sources!': [ | 777 'sources!': [ |
782 'message_loop/message_pump_libevent.cc' | 778 'message_loop/message_pump_libevent.cc' |
783 ], | 779 ], |
784 }], | 780 }], |
785 ['OS == "ios" and _toolset == "host"', { | 781 ['OS == "ios" and _toolset == "host"', { |
786 'sources/': [ | 782 'sources/': [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 ], | 847 ], |
852 }], | 848 }], |
853 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { | 849 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { |
854 'sources': [ | 850 'sources': [ |
855 'process/memory_stubs.cc', | 851 'process/memory_stubs.cc', |
856 ], | 852 ], |
857 'sources/': [ | 853 'sources/': [ |
858 ['exclude', '^files/file_path_watcher_linux\\.cc$'], | 854 ['exclude', '^files/file_path_watcher_linux\\.cc$'], |
859 ['exclude', '^files/file_path_watcher_stub\\.cc$'], | 855 ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
860 ['exclude', '^file_util_linux\\.cc$'], | 856 ['exclude', '^file_util_linux\\.cc$'], |
861 ['exclude', '^process_linux\\.cc$'], | 857 ['exclude', '^process/process_linux\\.cc$'], |
862 ['exclude', '^process_util_linux\\.cc$'], | |
863 ['exclude', '^sys_info_linux\\.cc$'], | 858 ['exclude', '^sys_info_linux\\.cc$'], |
864 ], | 859 ], |
865 }], | 860 }], |
866 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { | 861 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
867 'sources/': [ | 862 'sources/': [ |
868 ['exclude', '^chromeos/'], | 863 ['exclude', '^chromeos/'], |
869 ], | 864 ], |
870 }], | 865 }], |
871 # Remove all unnecessary files for build_nexe.py to avoid exceeding | 866 # Remove all unnecessary files for build_nexe.py to avoid exceeding |
872 # command-line-string limitation when building NaCl on Windows. | 867 # command-line-string limitation when building NaCl on Windows. |
873 ['OS == "win" and >(nacl_untrusted_build)==1', { | 868 ['OS == "win" and >(nacl_untrusted_build)==1', { |
874 'sources/': [ ['exclude', '\\.h$'] ], | 869 'sources/': [ ['exclude', '\\.h$'] ], |
875 }], | 870 }], |
876 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { | 871 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { |
877 'sources/': [ | 872 'sources/': [ |
878 ['exclude', '^third_party/nspr/'], | 873 ['exclude', '^third_party/nspr/'], |
879 ], | 874 ], |
880 }], | 875 }], |
881 ], | 876 ], |
882 }], | 877 }], |
883 ], | 878 ], |
884 }, | 879 }, |
885 } | 880 } |
OLD | NEW |