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