OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 6 'conditions': [ |
7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
8 'variables': { | 8 'variables': { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
10 }, | 10 }, |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', | 461 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', |
462 ], | 462 ], |
463 'libraries': [ | 463 'libraries': [ |
464 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', | 464 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', |
465 ], | 465 ], |
466 }, | 466 }, |
467 }, | 467 }, |
468 { | 468 { |
469 'target_name': 'glib', | 469 'target_name': 'glib', |
470 'type': 'settings', | 470 'type': 'settings', |
| 471 'toolsets': ['host', 'target'], |
471 'direct_dependent_settings': { | 472 'direct_dependent_settings': { |
472 'cflags': [ | 473 'cflags': [ |
473 '<!@(<(pkg-config) --cflags glib-2.0)', | 474 '<!@(<(pkg-config) --cflags glib-2.0)', |
474 ], | 475 ], |
475 }, | 476 }, |
476 'link_settings': { | 477 'link_settings': { |
477 'ldflags': [ | 478 'ldflags': [ |
478 '<!@(<(pkg-config) --libs-only-L --libs-only-other glib-2.0)', | 479 '<!@(<(pkg-config) --libs-only-L --libs-only-other glib-2.0)', |
479 ], | 480 ], |
480 'libraries': [ | 481 'libraries': [ |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 ], | 536 ], |
536 'libraries': [ | 537 'libraries': [ |
537 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom
mon)', | 538 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom
mon)', |
538 ], | 539 ], |
539 }, | 540 }, |
540 }], | 541 }], |
541 ], | 542 ], |
542 }, | 543 }, |
543 ], | 544 ], |
544 } | 545 } |
OLD | NEW |