OLD | NEW |
---|---|
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
446 [ 'OS == "android"', { | 446 [ 'OS == "android"', { |
447 'sources!': [ | 447 'sources!': [ |
448 'files/file_path_watcher_kqueue.cc', | 448 'files/file_path_watcher_kqueue.cc', |
449 'debug/stack_trace.cc', | 449 'debug/stack_trace.cc', |
450 'debug/stack_trace_posix.cc', | 450 'debug/stack_trace_posix.cc', |
451 'system_monitor/system_monitor_posix.cc', | 451 'system_monitor/system_monitor_posix.cc', |
452 ], | 452 ], |
453 'sources/': [ | 453 'sources/': [ |
454 ['include', '^process_util_linux\\.cc$'], | 454 ['include', '^process_util_linux\\.cc$'], |
455 ['include', '^sys_info_linux\\.cc$'], | 455 ['include', '^sys_info_linux\\.cc$'], |
456 ['include', '^sys_string_conversions_posix.cc'], | |
Mark Mentovai
2011/11/18 19:03:16
Follow the pattern of the lines around you. Fully
bulach
2011/11/21 12:48:13
Done.
| |
456 ['include', '^worker_pool_linux\\.cc$'], | 457 ['include', '^worker_pool_linux\\.cc$'], |
457 # TODO(michaelbai): The below files are excluded because of the | 458 # TODO(michaelbai): The below files are excluded because of the |
458 # missing JNI, add them back when JNI is ready. | 459 # missing JNI, add them back when JNI is ready. |
459 ['exclude', '^android/'], | 460 ['exclude', '^android/'], |
460 ['exclude', '^message_pump_android\\.cc$'], | 461 ['exclude', '^message_pump_android\\.cc$'], |
461 ['exclude', '^base_paths_android\\.cc$'], | 462 ['exclude', '^base_paths_android\\.cc$'], |
462 ['exclude', '^debug/stack_trace_android\\.cc$'], | 463 ['exclude', '^debug/stack_trace_android\\.cc$'], |
463 ], | 464 ], |
464 }], | 465 }], |
465 [ 'OS != "mac"', { | 466 [ 'OS != "mac"', { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
593 'export_dependent_settings': [ | 594 'export_dependent_settings': [ |
594 '../build/linux/system.gyp:glib', | 595 '../build/linux/system.gyp:glib', |
595 '../build/linux/system.gyp:x11', | 596 '../build/linux/system.gyp:x11', |
596 ], | 597 ], |
597 }, { # use_glib!=1 | 598 }, { # use_glib!=1 |
598 'sources/': [ | 599 'sources/': [ |
599 ['exclude', '/xdg_user_dirs/'], | 600 ['exclude', '/xdg_user_dirs/'], |
600 ['exclude', '_nss\.cc$'], | 601 ['exclude', '_nss\.cc$'], |
601 ], | 602 ], |
602 }], | 603 }], |
603 [ 'OS == "android"', { | 604 [ 'OS == "android" and _toolset == "host"', { |
605 # Base for host support is the minimum required to run the | |
606 # ssl false start blacklist tool. We'll require further changes | |
Mark Mentovai
2011/11/18 19:03:16
Avoid using “we” and “our” incomments.
bulach
2011/11/21 12:48:13
Done.
| |
607 # to generically support host builds (and tests). | |
608 # Note: when building for host, gyp has OS == "android", | |
609 # hence the *_android.cc files are included but the actual code | |
610 # doesn't have OS_ANDROID / ANDROID defined. | |
611 'conditions': [ | |
612 ['host_os == "linux"', { | |
613 'sources/': [ | |
614 ['include', 'atomicops_internals_x86_gcc\\.cc'], | |
Mark Mentovai
2011/11/18 19:03:16
^$ anchors on each end.
bulach
2011/11/21 12:48:13
Done.
| |
615 ], | |
616 'dependencies': [ | |
617 '../build/linux/system.gyp:glib', | |
618 ], | |
619 'export_dependent_settings': [ | |
620 '../build/linux/system.gyp:glib', | |
621 ], | |
622 }], | |
623 ['host_os == "mac"', { | |
624 'sources/': [ | |
625 ['exclude', '^native_library_linux.cc'], | |
Mark Mentovai
2011/11/18 19:03:16
\\. and $ through line 629.
michaelbai
2011/11/18 23:58:16
Hi Mark,
Should 'sources!' be used here instead o
bulach
2011/11/21 12:48:13
Done.
bulach
2011/11/21 12:48:13
afaict, the order that 'sources', 'sources!' and '
Mark Mentovai
2011/11/21 13:33:55
michaelbai wrote:
| |
626 ['exclude', '^process_util_linux.cc'], | |
627 ['exclude', '^sys_info_linux.cc'], | |
628 ['exclude', '^sys_string_conversions_linux.cc'], | |
629 ['exclude', '^worker_pool_linux.cc'], | |
630 ], | |
631 }], | |
632 ], | |
633 }], | |
634 [ 'OS == "android" and _toolset == "target"', { | |
604 'dependencies': [ | 635 'dependencies': [ |
605 'symbolize', | 636 'symbolize', |
606 '../third_party/ashmem/ashmem.gyp:ashmem#target', | 637 '../third_party/ashmem/ashmem.gyp:ashmem', |
607 ], | 638 ], |
608 'defines': [ | 639 'defines': [ |
609 'USE_SYMBOLIZE', | 640 'USE_SYMBOLIZE', |
610 ], | 641 ], |
611 'link_settings': { | 642 'link_settings': { |
612 'libraries': [ | 643 'libraries': [ |
613 '-llog', | 644 '-llog', |
614 ], | 645 ], |
615 }, | 646 }, |
616 'conditions': [ | 647 'sources!': [ |
617 [ '_toolset=="host" and host_os=="linux"', { | 648 'debug/stack_trace.cc', |
618 'dependencies': [ | 649 'debug/stack_trace_posix.cc', |
619 '../build/linux/system.gyp:glib', | |
620 ], | |
621 }], | |
622 ], | 650 ], |
623 }], | 651 }], |
624 [ 'os_bsd==1', { | 652 [ 'os_bsd==1', { |
625 'include_dirs': [ | 653 'include_dirs': [ |
626 '/usr/local/include', | 654 '/usr/local/include', |
627 ], | 655 ], |
628 'link_settings': { | 656 'link_settings': { |
629 'libraries': [ | 657 'libraries': [ |
630 '-L/usr/local/lib -lexecinfo', | 658 '-L/usr/local/lib -lexecinfo', |
631 ], | 659 ], |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
836 'third_party/xdg_mime/xdgmimemagic.c', | 864 'third_party/xdg_mime/xdgmimemagic.c', |
837 'third_party/xdg_mime/xdgmimemagic.h', | 865 'third_party/xdg_mime/xdgmimemagic.h', |
838 'third_party/xdg_mime/xdgmimeparent.c', | 866 'third_party/xdg_mime/xdgmimeparent.c', |
839 'third_party/xdg_mime/xdgmimeparent.h', | 867 'third_party/xdg_mime/xdgmimeparent.h', |
840 ], | 868 ], |
841 }, | 869 }, |
842 ], | 870 ], |
843 }], | 871 }], |
844 ], | 872 ], |
845 } | 873 } |
OLD | NEW |