OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['sysroot!=""', { | 8 ['sysroot!=""', { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
10 }, { | 10 }, { |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 { | 794 { |
795 'target_name': 'libresolv', | 795 'target_name': 'libresolv', |
796 'type': 'none', | 796 'type': 'none', |
797 'link_settings': { | 797 'link_settings': { |
798 'libraries': [ | 798 'libraries': [ |
799 '-lresolv', | 799 '-lresolv', |
800 ], | 800 ], |
801 }, | 801 }, |
802 }, | 802 }, |
803 { | 803 { |
804 'target_name': 'ibus', | |
805 'type': 'none', | |
806 'conditions': [ | |
807 ['use_ibus==1', { | |
808 'variables': { | |
809 'ibus_min_version': '1.3.99.20110425', | |
810 }, | |
811 'direct_dependent_settings': { | |
812 'defines': ['HAVE_IBUS=1'], | |
813 'cflags': [ | |
814 '<!@(<(pkg-config) --cflags "ibus-1.0 >= <(ibus_min_version)")', | |
815 ], | |
816 }, | |
817 'link_settings': { | |
818 'ldflags': [ | |
819 '<!@(<(pkg-config) --libs-only-L --libs-only-other "ibus-1.0 >= <(
ibus_min_version)")', | |
820 ], | |
821 'libraries': [ | |
822 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)"
)', | |
823 ], | |
824 }, | |
825 }], | |
826 ], | |
827 }, | |
828 { | |
829 'target_name': 'udev', | 804 'target_name': 'udev', |
830 'type': 'none', | 805 'type': 'none', |
831 'conditions': [ | 806 'conditions': [ |
832 # libudev is not available on *BSD | 807 # libudev is not available on *BSD |
833 ['_toolset=="target" and os_bsd!=1', { | 808 ['_toolset=="target" and os_bsd!=1', { |
834 'direct_dependent_settings': { | 809 'direct_dependent_settings': { |
835 'cflags': [ | 810 'cflags': [ |
836 '<!@(<(pkg-config) --cflags libudev)' | 811 '<!@(<(pkg-config) --cflags libudev)' |
837 ], | 812 ], |
838 }, | 813 }, |
839 'link_settings': { | 814 'link_settings': { |
840 'ldflags': [ | 815 'ldflags': [ |
841 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', | 816 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
842 ], | 817 ], |
843 'libraries': [ | 818 'libraries': [ |
844 '<!@(<(pkg-config) --libs-only-l libudev)', | 819 '<!@(<(pkg-config) --libs-only-l libudev)', |
845 ], | 820 ], |
846 }, | 821 }, |
847 }], | 822 }], |
848 ], | 823 ], |
849 }, | 824 }, |
850 ], | 825 ], |
851 } | 826 } |
OLD | NEW |