| 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)"', | 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)"', |
| 10 'libgcrypt-config': '<(chroot_cmd) ./libgcrypt-config-wrapper "<(sysroot
)"', | 10 'libgcrypt-config': '<(chroot_cmd) ./libgcrypt-config-wrapper "<(sysroot
)"', |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 'type': 'none', | 736 'type': 'none', |
| 737 'conditions': [ | 737 'conditions': [ |
| 738 ['_toolset=="target" and use_cups==1', { | 738 ['_toolset=="target" and use_cups==1', { |
| 739 'direct_dependent_settings': { | 739 'direct_dependent_settings': { |
| 740 'cflags': [ | 740 'cflags': [ |
| 741 '<!@(<(libgcrypt-config) --cflags)', | 741 '<!@(<(libgcrypt-config) --cflags)', |
| 742 ], | 742 ], |
| 743 }, | 743 }, |
| 744 'link_settings': { | 744 'link_settings': { |
| 745 'libraries': [ | 745 'libraries': [ |
| 746 '<!@(<(libgcrypt-config) --libs)', | 746 # libgcrypt-config does not support --libs-only-l options, |
| 747 # and the result contains -L options, which shouldn't be in |
| 748 # the entries of 'libraries'. So filter them out. |
| 749 '<!@(<(libgcrypt-config) --libs | sed -e \'s/-L[^ ]*//g\')', |
| 747 ], | 750 ], |
| 748 }, | 751 }, |
| 749 }], | 752 }], |
| 750 ], | 753 ], |
| 751 }, | 754 }, |
| 752 { | 755 { |
| 753 'target_name': 'libpci', | 756 'target_name': 'libpci', |
| 754 'type': 'static_library', | 757 'type': 'static_library', |
| 755 'cflags': [ | 758 'cflags': [ |
| 756 '<!@(<(pkg-config) --cflags libpci)', | 759 '<!@(<(pkg-config) --cflags libpci)', |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 ], | 1004 ], |
| 1002 'libraries': [ | 1005 'libraries': [ |
| 1003 '<!@(<(pkg-config) --libs-only-l libudev)', | 1006 '<!@(<(pkg-config) --libs-only-l libudev)', |
| 1004 ], | 1007 ], |
| 1005 }, | 1008 }, |
| 1006 }], | 1009 }], |
| 1007 ], | 1010 ], |
| 1008 }, | 1011 }, |
| 1009 ], | 1012 ], |
| 1010 } | 1013 } |
| OLD | NEW |