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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 [ 'OS != "linux" and OS != "openbsd"', { | 439 [ 'OS != "linux" and OS != "openbsd"', { |
440 'sources!': [ | 440 'sources!': [ |
441 # Not automatically excluded by the *linux.cc rules. | 441 # Not automatically excluded by the *linux.cc rules. |
442 'linux_util.cc', | 442 'linux_util.cc', |
443 ], | 443 ], |
444 }, | 444 }, |
445 ], | 445 ], |
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', | |
450 'debug/stack_trace_posix.cc', | |
451 'system_monitor/system_monitor_posix.cc', | 449 'system_monitor/system_monitor_posix.cc', |
452 ], | 450 ], |
453 'sources/': [ | 451 'sources/': [ |
454 ['include', '^process_util_linux\\.cc$'], | 452 ['include', '^process_util_linux\\.cc$'], |
455 ['include', '^sys_info_linux\\.cc$'], | 453 ['include', '^sys_info_linux\\.cc$'], |
456 ['include', '^worker_pool_linux\\.cc$'], | 454 ['include', '^worker_pool_linux\\.cc$'], |
457 # TODO(michaelbai): The below files are excluded because of the | 455 # TODO(michaelbai): The below files are excluded because of the |
458 # missing JNI, add them back when JNI is ready. | 456 # missing JNI, add them back when JNI is ready. |
459 ['exclude', '^android/'], | 457 ['exclude', '^android/'], |
460 ['exclude', '^message_pump_android\\.cc$'], | |
461 ['exclude', '^base_paths_android\\.cc$'], | 458 ['exclude', '^base_paths_android\\.cc$'], |
462 ['exclude', '^debug/stack_trace_android\\.cc$'], | 459 ['exclude', '^debug/stack_trace_android\\.cc$'], |
| 460 ['exclude', '^message_pump_android\\.cc$'], |
463 ], | 461 ], |
464 }], | 462 }], |
465 [ 'OS != "mac"', { | 463 [ 'OS != "mac"', { |
466 'sources!': [ | 464 'sources!': [ |
467 'mac/scoped_aedesc.h' | 465 'mac/scoped_aedesc.h' |
468 ], | 466 ], |
469 }], | 467 }], |
470 # For now, just test the *BSD platforms enough to exclude them. | 468 # For now, just test the *BSD platforms enough to exclude them. |
471 # Subsequent changes will include them further. | 469 # Subsequent changes will include them further. |
472 [ 'OS != "freebsd"', { | 470 [ 'OS != "freebsd"', { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 ], | 599 ], |
602 }], | 600 }], |
603 [ 'OS == "android"', { | 601 [ 'OS == "android"', { |
604 'dependencies': [ | 602 'dependencies': [ |
605 'symbolize', | 603 'symbolize', |
606 '../third_party/ashmem/ashmem.gyp:ashmem#target', | 604 '../third_party/ashmem/ashmem.gyp:ashmem#target', |
607 ], | 605 ], |
608 'defines': [ | 606 'defines': [ |
609 'USE_SYMBOLIZE', | 607 'USE_SYMBOLIZE', |
610 ], | 608 ], |
611 'link_settings': { | |
612 'libraries': [ | |
613 '-llog', | |
614 ], | |
615 }, | |
616 'conditions': [ | 609 'conditions': [ |
617 [ '_toolset=="host" and host_os=="linux"', { | 610 [ '_toolset=="host" and host_os=="linux"', { |
618 'dependencies': [ | 611 'dependencies': [ |
619 '../build/linux/system.gyp:glib', | 612 '../build/linux/system.gyp:glib', |
620 ], | 613 ], |
| 614 'sources/': [ |
| 615 ['include', '^atomicops_internals_x86_gcc\\.cc$'], |
| 616 ], |
| 617 }], |
| 618 [ '_toolset=="target"', { |
| 619 'sources!': [ |
| 620 'debug/stack_trace.cc', |
| 621 'debug/stack_trace_posix.cc', |
| 622 ], |
| 623 'link_settings': { |
| 624 'libraries': [ |
| 625 '-llog', |
| 626 ], |
| 627 }, |
621 }], | 628 }], |
622 ], | 629 ], |
623 }], | 630 }], |
624 [ 'os_bsd==1', { | 631 [ 'os_bsd==1', { |
625 'include_dirs': [ | 632 'include_dirs': [ |
626 '/usr/local/include', | 633 '/usr/local/include', |
627 ], | 634 ], |
628 'link_settings': { | 635 'link_settings': { |
629 'libraries': [ | 636 'libraries': [ |
630 '-L/usr/local/lib -lexecinfo', | 637 '-L/usr/local/lib -lexecinfo', |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 'third_party/xdg_mime/xdgmimemagic.c', | 843 'third_party/xdg_mime/xdgmimemagic.c', |
837 'third_party/xdg_mime/xdgmimemagic.h', | 844 'third_party/xdg_mime/xdgmimemagic.h', |
838 'third_party/xdg_mime/xdgmimeparent.c', | 845 'third_party/xdg_mime/xdgmimeparent.c', |
839 'third_party/xdg_mime/xdgmimeparent.h', | 846 'third_party/xdg_mime/xdgmimeparent.h', |
840 ], | 847 ], |
841 }, | 848 }, |
842 ], | 849 ], |
843 }], | 850 }], |
844 ], | 851 ], |
845 } | 852 } |
OLD | NEW |