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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 ], | 451 ], |
452 }], | 452 }], |
453 ], | 453 ], |
454 }], | 454 }], |
455 ], | 455 ], |
456 }, | 456 }, |
457 'targets': [ | 457 'targets': [ |
458 { | 458 { |
459 'target_name': 'base', | 459 'target_name': 'base', |
460 'type': '<(component)', | 460 'type': '<(component)', |
| 461 'toolsets': ['host', 'target'], |
461 'variables': { | 462 'variables': { |
462 'base_target': 1, | 463 'base_target': 1, |
463 }, | 464 }, |
464 'dependencies': [ | 465 'dependencies': [ |
465 'base_static', | 466 'base_static', |
466 '../third_party/modp_b64/modp_b64.gyp:modp_b64', | 467 '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
467 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 468 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
468 ], | 469 ], |
469 # TODO(gregoryd): direct_dependent_settings should be shared with the | 470 # TODO(gregoryd): direct_dependent_settings should be shared with the |
470 # 64-bit target, but it doesn't work due to a bug in gyp | 471 # 64-bit target, but it doesn't work due to a bug in gyp |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 }, | 666 }, |
666 }, | 667 }, |
667 }, | 668 }, |
668 ], | 669 ], |
669 }], | 670 }], |
670 [ 'os_posix==1 and OS!="mac"', { | 671 [ 'os_posix==1 and OS!="mac"', { |
671 'targets': [ | 672 'targets': [ |
672 { | 673 { |
673 'target_name': 'symbolize', | 674 'target_name': 'symbolize', |
674 'type': 'static_library', | 675 'type': 'static_library', |
| 676 'toolsets': ['host', 'target'], |
675 'variables': { | 677 'variables': { |
676 'chromium_code': 0, | 678 'chromium_code': 0, |
677 }, | 679 }, |
678 'conditions': [ | 680 'conditions': [ |
679 [ 'OS == "solaris"', { | 681 [ 'OS == "solaris"', { |
680 'include_dirs': [ | 682 'include_dirs': [ |
681 '/usr/gnu/include', | 683 '/usr/gnu/include', |
682 '/usr/gnu/include/libelf', | 684 '/usr/gnu/include/libelf', |
683 ], | 685 ], |
684 },], | 686 },], |
685 ], | 687 ], |
686 'cflags': [ | 688 'cflags': [ |
687 '-Wno-sign-compare', | 689 '-Wno-sign-compare', |
688 ], | 690 ], |
689 'cflags!': [ | 691 'cflags!': [ |
690 '-Wextra', | 692 '-Wextra', |
691 ], | 693 ], |
692 'sources': [ | 694 'sources': [ |
693 'third_party/symbolize/symbolize.cc', | 695 'third_party/symbolize/symbolize.cc', |
694 'third_party/symbolize/demangle.cc', | 696 'third_party/symbolize/demangle.cc', |
695 ], | 697 ], |
696 }, | 698 }, |
697 { | 699 { |
698 'target_name': 'xdg_mime', | 700 'target_name': 'xdg_mime', |
699 'type': 'static_library', | 701 'type': 'static_library', |
| 702 'toolsets': ['host', 'target'], |
700 'variables': { | 703 'variables': { |
701 'chromium_code': 0, | 704 'chromium_code': 0, |
702 }, | 705 }, |
703 'cflags!': [ | 706 'cflags!': [ |
704 '-Wextra', | 707 '-Wextra', |
705 ], | 708 ], |
706 'sources': [ | 709 'sources': [ |
707 'third_party/xdg_mime/xdgmime.c', | 710 'third_party/xdg_mime/xdgmime.c', |
708 'third_party/xdg_mime/xdgmime.h', | 711 'third_party/xdg_mime/xdgmime.h', |
709 'third_party/xdg_mime/xdgmimealias.c', | 712 'third_party/xdg_mime/xdgmimealias.c', |
710 'third_party/xdg_mime/xdgmimealias.h', | 713 'third_party/xdg_mime/xdgmimealias.h', |
711 'third_party/xdg_mime/xdgmimecache.c', | 714 'third_party/xdg_mime/xdgmimecache.c', |
712 'third_party/xdg_mime/xdgmimecache.h', | 715 'third_party/xdg_mime/xdgmimecache.h', |
713 'third_party/xdg_mime/xdgmimeglob.c', | 716 'third_party/xdg_mime/xdgmimeglob.c', |
714 'third_party/xdg_mime/xdgmimeglob.h', | 717 'third_party/xdg_mime/xdgmimeglob.h', |
715 'third_party/xdg_mime/xdgmimeicon.c', | 718 'third_party/xdg_mime/xdgmimeicon.c', |
716 'third_party/xdg_mime/xdgmimeicon.h', | 719 'third_party/xdg_mime/xdgmimeicon.h', |
717 'third_party/xdg_mime/xdgmimeint.c', | 720 'third_party/xdg_mime/xdgmimeint.c', |
718 'third_party/xdg_mime/xdgmimeint.h', | 721 'third_party/xdg_mime/xdgmimeint.h', |
719 'third_party/xdg_mime/xdgmimemagic.c', | 722 'third_party/xdg_mime/xdgmimemagic.c', |
720 'third_party/xdg_mime/xdgmimemagic.h', | 723 'third_party/xdg_mime/xdgmimemagic.h', |
721 'third_party/xdg_mime/xdgmimeparent.c', | 724 'third_party/xdg_mime/xdgmimeparent.c', |
722 'third_party/xdg_mime/xdgmimeparent.h', | 725 'third_party/xdg_mime/xdgmimeparent.h', |
723 ], | 726 ], |
724 }, | 727 }, |
725 ], | 728 ], |
726 }], | 729 }], |
727 ], | 730 ], |
728 } | 731 } |
OLD | NEW |