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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 '<!@(<(pkg-config) --libs-only-L --libs-only-other "ibus-1.0 >= <(
ibus_min_version)")', | 602 '<!@(<(pkg-config) --libs-only-L --libs-only-other "ibus-1.0 >= <(
ibus_min_version)")', |
603 ], | 603 ], |
604 'libraries': [ | 604 'libraries': [ |
605 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)"
)', | 605 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)"
)', |
606 ], | 606 ], |
607 }, | 607 }, |
608 }], | 608 }], |
609 ], | 609 ], |
610 }, | 610 }, |
611 { | 611 { |
612 'target_name': 'wayland', | |
613 'type': 'none', | |
614 'conditions': [ | |
615 ['use_wayland == 1', { | |
616 'cflags': [ | |
617 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcomm
on)', | |
618 ], | |
619 'direct_dependent_settings': { | |
620 'cflags': [ | |
621 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbco
mmon)', | |
622 ], | |
623 }, | |
624 'link_settings': { | |
625 'ldflags': [ | |
626 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client
wayland-egl xkbcommon)', | |
627 ], | |
628 'libraries': [ | |
629 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom
mon)', | |
630 ], | |
631 }, | |
632 }], | |
633 ], | |
634 }, | |
635 { | |
636 'target_name': 'udev', | 612 'target_name': 'udev', |
637 'type': 'none', | 613 'type': 'none', |
638 'conditions': [ | 614 'conditions': [ |
639 # libudev is not available on *BSD | 615 # libudev is not available on *BSD |
640 ['_toolset=="target" and os_bsd!=1', { | 616 ['_toolset=="target" and os_bsd!=1', { |
641 'direct_dependent_settings': { | 617 'direct_dependent_settings': { |
642 'cflags': [ | 618 'cflags': [ |
643 '<!@(<(pkg-config) --cflags libudev)' | 619 '<!@(<(pkg-config) --cflags libudev)' |
644 ], | 620 ], |
645 }, | 621 }, |
646 'link_settings': { | 622 'link_settings': { |
647 'ldflags': [ | 623 'ldflags': [ |
648 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', | 624 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
649 ], | 625 ], |
650 'libraries': [ | 626 'libraries': [ |
651 '<!@(<(pkg-config) --libs-only-l libudev)', | 627 '<!@(<(pkg-config) --libs-only-l libudev)', |
652 ], | 628 ], |
653 }, | 629 }, |
654 }], | 630 }], |
655 ], | 631 ], |
656 }, | 632 }, |
657 ], | 633 ], |
658 } | 634 } |
OLD | NEW |