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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
525 'ldflags': [ | 525 'ldflags': [ |
526 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', | 526 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', |
527 ], | 527 ], |
528 'libraries': [ | 528 'libraries': [ |
529 '<!@(<(pkg-config) --libs-only-l gbm)', | 529 '<!@(<(pkg-config) --libs-only-l gbm)', |
530 ], | 530 ], |
531 }, | 531 }, |
532 }, | 532 }, |
533 ], | 533 ], |
534 }], | 534 }], |
535 ['use_ozone==1', { | |
vignatti (out of this project)
2015/05/14 19:20:04
vgem only makes sense now under gbm, so you want t
dshwang
2015/06/25 10:59:56
indeed, but spang don't want to leak use_platform_
| |
536 'targets': [ | |
537 { | |
538 'target_name': 'drmheader', | |
539 'type': 'none', | |
540 'direct_dependent_settings': { | |
541 'cflags': [ | |
542 '<!@(<(pkg-config) --cflags libdrm)', | |
543 ], | |
544 }, | |
545 }, | |
546 ], | |
547 }], | |
535 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1', { | 548 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1', { |
536 'targets': [ | 549 'targets': [ |
537 { | 550 { |
538 'target_name': 'libdrm', | 551 'target_name': 'libdrm', |
539 'type': 'none', | 552 'type': 'none', |
540 'direct_dependent_settings': { | 553 'direct_dependent_settings': { |
541 'cflags': [ | 554 'cflags': [ |
542 '<!@(<(pkg-config) --cflags libdrm)', | 555 '<!@(<(pkg-config) --cflags libdrm)', |
543 ], | 556 ], |
544 }, | 557 }, |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1221 }, | 1234 }, |
1222 }], | 1235 }], |
1223 ], | 1236 ], |
1224 }], | 1237 }], |
1225 ] | 1238 ] |
1226 }], | 1239 }], |
1227 ], | 1240 ], |
1228 }, | 1241 }, |
1229 ], | 1242 ], |
1230 } | 1243 } |
OLD | NEW |