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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 }], | 685 }], |
686 ], # conditions | 686 ], # conditions |
687 'targets': [ | 687 'targets': [ |
688 { | 688 { |
689 'target_name': 'dbus', | 689 'target_name': 'dbus', |
690 'type': 'none', | 690 'type': 'none', |
691 'direct_dependent_settings': { | 691 'direct_dependent_settings': { |
692 'cflags': [ | 692 'cflags': [ |
693 '<!@(<(pkg-config) --cflags dbus-1)', | 693 '<!@(<(pkg-config) --cflags dbus-1)', |
694 ], | 694 ], |
| 695 'defines': [ |
| 696 'USE_DBUS', |
| 697 ], |
695 }, | 698 }, |
696 'link_settings': { | 699 'link_settings': { |
697 'ldflags': [ | 700 'ldflags': [ |
698 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)', | 701 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)', |
699 ], | 702 ], |
700 'libraries': [ | 703 'libraries': [ |
701 '<!@(<(pkg-config) --libs-only-l dbus-1)', | 704 '<!@(<(pkg-config) --libs-only-l dbus-1)', |
702 ], | 705 ], |
703 }, | 706 }, |
704 }, | 707 }, |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 }, | 1224 }, |
1222 }], | 1225 }], |
1223 ], | 1226 ], |
1224 }], | 1227 }], |
1225 ] | 1228 ] |
1226 }], | 1229 }], |
1227 ], | 1230 ], |
1228 }, | 1231 }, |
1229 ], | 1232 ], |
1230 } | 1233 } |
OLD | NEW |