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