| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 6 'conditions': [ |
| 7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
| 8 'variables': { | 8 'variables': { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
| 10 }, | 10 }, |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom
mon)', | 622 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom
mon)', |
| 623 ], | 623 ], |
| 624 }, | 624 }, |
| 625 }], | 625 }], |
| 626 ], | 626 ], |
| 627 }, | 627 }, |
| 628 { | 628 { |
| 629 'target_name': 'udev', | 629 'target_name': 'udev', |
| 630 'type': 'none', | 630 'type': 'none', |
| 631 'conditions': [ | 631 'conditions': [ |
| 632 ['_toolset=="target"', { | 632 # libudev is not available on *BSD |
| 633 ['_toolset=="target" and os_bsd!=1', { |
| 633 'direct_dependent_settings': { | 634 'direct_dependent_settings': { |
| 634 'cflags': [ | 635 'cflags': [ |
| 635 '<!@(<(pkg-config) --cflags libudev)' | 636 '<!@(<(pkg-config) --cflags libudev)' |
| 636 ], | 637 ], |
| 637 }, | 638 }, |
| 638 'link_settings': { | 639 'link_settings': { |
| 639 'ldflags': [ | 640 'ldflags': [ |
| 640 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', | 641 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
| 641 ], | 642 ], |
| 642 'libraries': [ | 643 'libraries': [ |
| 643 '<!@(<(pkg-config) --libs-only-l libudev)', | 644 '<!@(<(pkg-config) --libs-only-l libudev)', |
| 644 ], | 645 ], |
| 645 }, | 646 }, |
| 646 }], | 647 }], |
| 647 ], | 648 ], |
| 648 }, | 649 }, |
| 649 ], | 650 ], |
| 650 } | 651 } |
| OLD | NEW |