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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 'ldflags': [ | 420 'ldflags': [ |
421 '<!@(<(pkg-config) --libs-only-L --libs-only-other xscrnsaver)', | 421 '<!@(<(pkg-config) --libs-only-L --libs-only-other xscrnsaver)', |
422 ], | 422 ], |
423 'libraries': [ | 423 'libraries': [ |
424 '<!@(<(pkg-config) --libs-only-l xscrnsaver)', | 424 '<!@(<(pkg-config) --libs-only-l xscrnsaver)', |
425 ], | 425 ], |
426 }, | 426 }, |
427 }, | 427 }, |
428 ], # targets | 428 ], # targets |
429 }], | 429 }], |
430 ['use_evdev_gestures==1', { | |
431 'targets': [ | |
432 { | |
433 'target_name': 'libevdev-cros', | |
434 'type': 'none', | |
435 'direct_dependent_settings': { | |
436 'cflags': [ | |
437 '<!@(<(pkg-config) --cflags libevdev-cros)' | |
438 ], | |
439 }, | |
440 'link_settings': { | |
441 'ldflags': [ | |
442 '<!@(<(pkg-config) --libs-only-L --libs-only-other libevdev-cros)'
, | |
443 ], | |
444 'libraries': [ | |
445 '<!@(<(pkg-config) --libs-only-l libevdev-cros)', | |
446 ], | |
447 }, | |
448 }, | |
449 { | |
450 'target_name': 'libgestures', | |
451 'type': 'none', | |
452 'direct_dependent_settings': { | |
453 'cflags': [ | |
454 '<!@(<(pkg-config) --cflags libgestures)' | |
455 ], | |
456 }, | |
457 'link_settings': { | |
458 'ldflags': [ | |
459 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', | |
460 ], | |
461 'libraries': [ | |
462 '<!@(<(pkg-config) --libs-only-l libgestures)', | |
463 ], | |
464 }, | |
465 }, | |
466 ], | |
467 }], | |
468 ['use_xkbcommon==1', { | 430 ['use_xkbcommon==1', { |
469 'targets': [ | 431 'targets': [ |
470 { | 432 { |
471 'target_name': 'xkbcommon', | 433 'target_name': 'xkbcommon', |
472 'type': 'none', | 434 'type': 'none', |
473 'direct_dependent_settings': { | 435 'direct_dependent_settings': { |
474 'cflags': [ | 436 'cflags': [ |
475 '<!@(<(pkg-config) --cflags xkbcommon)' | 437 '<!@(<(pkg-config) --cflags xkbcommon)' |
476 ], | 438 ], |
477 }, | 439 }, |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 '-Wno-header-guard', | 1145 '-Wno-header-guard', |
1184 ], | 1146 ], |
1185 }, | 1147 }, |
1186 }], | 1148 }], |
1187 ] | 1149 ] |
1188 }], | 1150 }], |
1189 ], | 1151 ], |
1190 }, | 1152 }, |
1191 ], | 1153 ], |
1192 } | 1154 } |
OLD | NEW |