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 # libgcrypt-config-wrapper invokes libgcrypt-config directly from the | 10 # libgcrypt-config-wrapper invokes libgcrypt-config directly from the |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 'ldflags': [ | 391 'ldflags': [ |
392 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', | 392 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', |
393 ], | 393 ], |
394 'libraries': [ | 394 'libraries': [ |
395 '<!@(<(pkg-config) --libs-only-l libgestures)', | 395 '<!@(<(pkg-config) --libs-only-l libgestures)', |
396 ], | 396 ], |
397 }, | 397 }, |
398 }, | 398 }, |
399 ], | 399 ], |
400 }], | 400 }], |
| 401 ['ozone_platform_gbm==1', { |
| 402 'targets': [ |
| 403 { |
| 404 'target_name': 'gbm', |
| 405 'type': 'none', |
| 406 'direct_dependent_settings': { |
| 407 'cflags': [ |
| 408 '<!@(<(pkg-config) --cflags gbm)', |
| 409 ], |
| 410 }, |
| 411 'link_settings': { |
| 412 'libraries': [ |
| 413 '<!@(<(pkg-config) --libs-only-l gbm)', |
| 414 ], |
| 415 }, |
| 416 }, |
| 417 ], |
| 418 }], |
401 ], # conditions | 419 ], # conditions |
402 'targets': [ | 420 'targets': [ |
403 { | 421 { |
404 'target_name': 'dbus', | 422 'target_name': 'dbus', |
405 'type': 'none', | 423 'type': 'none', |
406 'direct_dependent_settings': { | 424 'direct_dependent_settings': { |
407 'cflags': [ | 425 'cflags': [ |
408 '<!@(<(pkg-config) --cflags dbus-1)', | 426 '<!@(<(pkg-config) --cflags dbus-1)', |
409 ], | 427 ], |
410 }, | 428 }, |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 ], | 1062 ], |
1045 'libraries': [ | 1063 'libraries': [ |
1046 '<!@(<(pkg-config) --libs-only-l libudev)', | 1064 '<!@(<(pkg-config) --libs-only-l libudev)', |
1047 ], | 1065 ], |
1048 }, | 1066 }, |
1049 }], | 1067 }], |
1050 ], | 1068 ], |
1051 }, | 1069 }, |
1052 ], | 1070 ], |
1053 } | 1071 } |
OLD | NEW |