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)"', | 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)"', |
10 # libgcrypt-config-wrapper invokes libgcrypt-config directly from the | 10 # libgcrypt-config-wrapper invokes libgcrypt-config directly from the |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 ], | 353 ], |
354 'libraries': [ | 354 'libraries': [ |
355 '<!@(pkg-config --libs-only-l xtst)', | 355 '<!@(pkg-config --libs-only-l xtst)', |
356 ], | 356 ], |
357 }, | 357 }, |
358 }] | 358 }] |
359 ] | 359 ] |
360 } | 360 } |
361 ], # targets | 361 ], # targets |
362 }], | 362 }], |
| 363 ['use_evdev_gestures==1', { |
| 364 'targets': [ |
| 365 { |
| 366 'target_name': 'libevdev-cros', |
| 367 'type': 'none', |
| 368 'direct_dependent_settings': { |
| 369 'cflags': [ |
| 370 '<!@(<(pkg-config) --cflags libevdev-cros)' |
| 371 ], |
| 372 }, |
| 373 'link_settings': { |
| 374 'ldflags': [ |
| 375 '<!@(<(pkg-config) --libs-only-L --libs-only-other libevdev-cros)'
, |
| 376 ], |
| 377 'libraries': [ |
| 378 '<!@(<(pkg-config) --libs-only-l libevdev-cros)', |
| 379 ], |
| 380 }, |
| 381 }, |
| 382 { |
| 383 'target_name': 'libgestures', |
| 384 'type': 'none', |
| 385 'direct_dependent_settings': { |
| 386 'cflags': [ |
| 387 '<!@(<(pkg-config) --cflags libgestures)' |
| 388 ], |
| 389 }, |
| 390 'link_settings': { |
| 391 'ldflags': [ |
| 392 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', |
| 393 ], |
| 394 'libraries': [ |
| 395 '<!@(<(pkg-config) --libs-only-l libgestures)', |
| 396 ], |
| 397 }, |
| 398 }, |
| 399 ], |
| 400 }], |
363 ], # conditions | 401 ], # conditions |
364 'targets': [ | 402 'targets': [ |
365 { | 403 { |
366 'target_name': 'dbus', | 404 'target_name': 'dbus', |
367 'type': 'none', | 405 'type': 'none', |
368 'direct_dependent_settings': { | 406 'direct_dependent_settings': { |
369 'cflags': [ | 407 'cflags': [ |
370 '<!@(<(pkg-config) --cflags dbus-1)', | 408 '<!@(<(pkg-config) --cflags dbus-1)', |
371 ], | 409 ], |
372 }, | 410 }, |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 ], | 1044 ], |
1007 'libraries': [ | 1045 'libraries': [ |
1008 '<!@(<(pkg-config) --libs-only-l libudev)', | 1046 '<!@(<(pkg-config) --libs-only-l libudev)', |
1009 ], | 1047 ], |
1010 }, | 1048 }, |
1011 }], | 1049 }], |
1012 ], | 1050 ], |
1013 }, | 1051 }, |
1014 ], | 1052 ], |
1015 } | 1053 } |
OLD | NEW |