| 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': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', | 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', |
| 10 }, { | 10 }, { |
| (...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 }], | 1026 }], |
| 1027 ] | 1027 ] |
| 1028 }], | 1028 }], |
| 1029 ], | 1029 ], |
| 1030 }, | 1030 }, |
| 1031 { | 1031 { |
| 1032 'target_name': 'udev', | 1032 'target_name': 'udev', |
| 1033 'type': 'none', | 1033 'type': 'none', |
| 1034 'conditions': [ | 1034 'conditions': [ |
| 1035 # libudev is not available on *BSD | 1035 # libudev is not available on *BSD |
| 1036 ['_toolset=="target" and os_bsd!=1 and use_udev==1', { | 1036 ['_toolset=="target" and os_bsd!=1', { |
| 1037 'direct_dependent_settings': { | 1037 'direct_dependent_settings': { |
| 1038 'cflags': [ | 1038 'cflags': [ |
| 1039 '<!@(<(pkg-config) --cflags libudev)' | 1039 '<!@(<(pkg-config) --cflags libudev)' |
| 1040 ], | 1040 ], |
| 1041 }, | 1041 }, |
| 1042 'link_settings': { | 1042 'link_settings': { |
| 1043 'ldflags': [ | 1043 'ldflags': [ |
| 1044 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', | 1044 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
| 1045 ], | 1045 ], |
| 1046 'libraries': [ | 1046 'libraries': [ |
| 1047 '<!@(<(pkg-config) --libs-only-l libudev)', | 1047 '<!@(<(pkg-config) --libs-only-l libudev)', |
| 1048 ], | 1048 ], |
| 1049 }, | 1049 }, |
| 1050 }], | 1050 }], |
| 1051 ], | 1051 ], |
| 1052 }, | 1052 }, |
| 1053 ], | 1053 ], |
| 1054 } | 1054 } |
| OLD | NEW |