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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 'ldflags': [ | 501 'ldflags': [ |
502 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', | 502 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', |
503 ], | 503 ], |
504 'libraries': [ | 504 'libraries': [ |
505 '<!@(<(pkg-config) --libs-only-l gbm)', | 505 '<!@(<(pkg-config) --libs-only-l gbm)', |
506 ], | 506 ], |
507 }, | 507 }, |
508 }, | 508 }, |
509 ], | 509 ], |
510 }], | 510 }], |
511 ['ozone_platform_dri==1 or ozone_platform_gbm==1', { | 511 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1',
{ |
512 'targets': [ | 512 'targets': [ |
513 { | 513 { |
514 'target_name': 'libdrm', | 514 'target_name': 'libdrm', |
515 'type': 'none', | 515 'type': 'none', |
516 'direct_dependent_settings': { | 516 'direct_dependent_settings': { |
517 'cflags': [ | 517 'cflags': [ |
518 '<!@(<(pkg-config) --cflags libdrm)', | 518 '<!@(<(pkg-config) --cflags libdrm)', |
519 ], | 519 ], |
520 }, | 520 }, |
521 'link_settings': { | 521 'link_settings': { |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1188 '-Wno-header-guard', | 1188 '-Wno-header-guard', |
1189 ], | 1189 ], |
1190 }, | 1190 }, |
1191 }], | 1191 }], |
1192 ] | 1192 ] |
1193 }], | 1193 }], |
1194 ], | 1194 ], |
1195 }, | 1195 }, |
1196 ], | 1196 ], |
1197 } | 1197 } |
OLD | NEW |