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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
478 '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)', | 478 '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)', |
479 ], | 479 ], |
480 'libraries': [ | 480 'libraries': [ |
481 '<!@(<(pkg-config) --libs-only-l freetype2)', | 481 '<!@(<(pkg-config) --libs-only-l freetype2)', |
482 ], | 482 ], |
483 }, | 483 }, |
484 }], | 484 }], |
485 ], | 485 ], |
486 }, | 486 }, |
487 { | 487 { |
488 'target_name': 'gbm', | |
spang
2014/05/28 21:46:27
put this under conditions, <(ozone_platform_gbm)==
| |
489 'type': 'none', | |
490 'direct_dependent_settings': { | |
491 'cflags': [ | |
492 '<!@(<(pkg-config) --cflags gbm)', | |
493 ], | |
494 }, | |
495 'link_settings': { | |
496 'libraries': [ | |
497 '<!@(<(pkg-config) --libs-only-l gbm)', | |
498 ], | |
499 }, | |
500 }, | |
501 { | |
488 'target_name': 'gconf', | 502 'target_name': 'gconf', |
489 'type': 'none', | 503 'type': 'none', |
490 'conditions': [ | 504 'conditions': [ |
491 ['use_gconf==1 and _toolset=="target"', { | 505 ['use_gconf==1 and _toolset=="target"', { |
492 'direct_dependent_settings': { | 506 'direct_dependent_settings': { |
493 'cflags': [ | 507 'cflags': [ |
494 '<!@(<(pkg-config) --cflags gconf-2.0)', | 508 '<!@(<(pkg-config) --cflags gconf-2.0)', |
495 ], | 509 ], |
496 'defines': [ | 510 'defines': [ |
497 'USE_GCONF', | 511 'USE_GCONF', |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1044 ], | 1058 ], |
1045 'libraries': [ | 1059 'libraries': [ |
1046 '<!@(<(pkg-config) --libs-only-l libudev)', | 1060 '<!@(<(pkg-config) --libs-only-l libudev)', |
1047 ], | 1061 ], |
1048 }, | 1062 }, |
1049 }], | 1063 }], |
1050 ], | 1064 ], |
1051 }, | 1065 }, |
1052 ], | 1066 ], |
1053 } | 1067 } |
OLD | NEW |