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