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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 'targets': [ | 406 'targets': [ |
407 { | 407 { |
408 'target_name': 'gbm', | 408 'target_name': 'gbm', |
409 'type': 'none', | 409 'type': 'none', |
410 'direct_dependent_settings': { | 410 'direct_dependent_settings': { |
411 'cflags': [ | 411 'cflags': [ |
412 '<!@(<(pkg-config) --cflags gbm)', | 412 '<!@(<(pkg-config) --cflags gbm)', |
413 ], | 413 ], |
414 }, | 414 }, |
415 'link_settings': { | 415 'link_settings': { |
| 416 'ldflags': [ |
| 417 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', |
| 418 ], |
416 'libraries': [ | 419 'libraries': [ |
417 '<!@(<(pkg-config) --libs-only-l gbm)', | 420 '<!@(<(pkg-config) --libs-only-l gbm)', |
418 ], | 421 ], |
419 }, | 422 }, |
420 }, | 423 }, |
421 ], | 424 ], |
422 }], | 425 }], |
423 ['ozone_platform_dri==1 or ozone_platform_gbm==1', { | 426 ['ozone_platform_dri==1 or ozone_platform_gbm==1', { |
424 'targets': [ | 427 'targets': [ |
425 { | 428 { |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 '-Wno-header-guard', | 1071 '-Wno-header-guard', |
1069 ], | 1072 ], |
1070 }, | 1073 }, |
1071 }], | 1074 }], |
1072 ] | 1075 ] |
1073 }], | 1076 }], |
1074 ], | 1077 ], |
1075 }, | 1078 }, |
1076 ], | 1079 ], |
1077 } | 1080 } |
OLD | NEW |