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