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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 { | 804 { |
805 'target_name': 'libresolv', | 805 'target_name': 'libresolv', |
806 'type': 'none', | 806 'type': 'none', |
807 'link_settings': { | 807 'link_settings': { |
808 'libraries': [ | 808 'libraries': [ |
809 '-lresolv', | 809 '-lresolv', |
810 ], | 810 ], |
811 }, | 811 }, |
812 }, | 812 }, |
813 { | 813 { |
| 814 'target_name': 'wayland', |
| 815 'type': 'none', |
| 816 'conditions': [ |
| 817 ['use_wayland == 1', { |
| 818 'cflags': [ |
| 819 '<!@(<(pkg-config) --cflags wayland-client wayland-cursor wayland-eg
l xkbcommon)', |
| 820 ], |
| 821 'direct_dependent_settings': { |
| 822 'cflags': [ |
| 823 '<!@(<(pkg-config) --cflags wayland-client wayland-cursor wayland-
egl xkbcommon)', |
| 824 ], |
| 825 }, |
| 826 'link_settings': { |
| 827 'ldflags': [ |
| 828 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client
wayland-cursor wayland-egl xkbcommon)', |
| 829 ], |
| 830 'libraries': [ |
| 831 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-cursor way
land-egl xkbcommon)', |
| 832 ], |
| 833 }, |
| 834 }], |
| 835 ], |
| 836 }, |
| 837 { |
814 'target_name': 'udev', | 838 'target_name': 'udev', |
815 'type': 'none', | 839 'type': 'none', |
816 'conditions': [ | 840 'conditions': [ |
817 # libudev is not available on *BSD | 841 # libudev is not available on *BSD |
818 ['_toolset=="target" and os_bsd!=1', { | 842 ['_toolset=="target" and os_bsd!=1', { |
819 'direct_dependent_settings': { | 843 'direct_dependent_settings': { |
820 'cflags': [ | 844 'cflags': [ |
821 '<!@(<(pkg-config) --cflags libudev)' | 845 '<!@(<(pkg-config) --cflags libudev)' |
822 ], | 846 ], |
823 }, | 847 }, |
824 'link_settings': { | 848 'link_settings': { |
825 'ldflags': [ | 849 'ldflags': [ |
826 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', | 850 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
827 ], | 851 ], |
828 'libraries': [ | 852 'libraries': [ |
829 '<!@(<(pkg-config) --libs-only-l libudev)', | 853 '<!@(<(pkg-config) --libs-only-l libudev)', |
830 ], | 854 ], |
831 }, | 855 }, |
832 }], | 856 }], |
833 ], | 857 ], |
834 }, | 858 }, |
835 ], | 859 ], |
836 } | 860 } |
OLD | NEW |