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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 'ldflags': [ | 458 'ldflags': [ |
459 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', | 459 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', |
460 ], | 460 ], |
461 'libraries': [ | 461 'libraries': [ |
462 '<!@(<(pkg-config) --libs-only-l libgestures)', | 462 '<!@(<(pkg-config) --libs-only-l libgestures)', |
463 ], | 463 ], |
464 }, | 464 }, |
465 }, | 465 }, |
466 ], | 466 ], |
467 }], | 467 }], |
| 468 ['use_xkbcommon==1', { |
| 469 'targets': [ |
| 470 { |
| 471 'target_name': 'xkbcommon', |
| 472 'type': 'none', |
| 473 'direct_dependent_settings': { |
| 474 'cflags': [ |
| 475 '<!@(<(pkg-config) --cflags xkbcommon)' |
| 476 ], |
| 477 }, |
| 478 'link_settings': { |
| 479 'ldflags': [ |
| 480 '<!@(<(pkg-config) --libs-only-L --libs-only-other xkbcommon)', |
| 481 ], |
| 482 'libraries': [ |
| 483 '<!@(<(pkg-config) --libs-only-l xkbcommon)', |
| 484 ], |
| 485 }, |
| 486 }, |
| 487 ], |
| 488 }], |
468 ['ozone_platform_gbm==1', { | 489 ['ozone_platform_gbm==1', { |
469 'targets': [ | 490 'targets': [ |
470 { | 491 { |
471 'target_name': 'gbm', | 492 'target_name': 'gbm', |
472 'type': 'none', | 493 'type': 'none', |
473 'direct_dependent_settings': { | 494 'direct_dependent_settings': { |
474 'cflags': [ | 495 'cflags': [ |
475 '<!@(<(pkg-config) --cflags gbm)', | 496 '<!@(<(pkg-config) --cflags gbm)', |
476 ], | 497 ], |
477 }, | 498 }, |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 '-Wno-header-guard', | 1183 '-Wno-header-guard', |
1163 ], | 1184 ], |
1164 }, | 1185 }, |
1165 }], | 1186 }], |
1166 ] | 1187 ] |
1167 }], | 1188 }], |
1168 ], | 1189 ], |
1169 }, | 1190 }, |
1170 ], | 1191 ], |
1171 } | 1192 } |
OLD | NEW |