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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 }, | 523 }, |
524 'link_settings': { | 524 'link_settings': { |
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 { |
| 534 'target_name': 'libdrm_intel', |
| 535 'type': 'none', |
| 536 'direct_dependent_settings': { |
| 537 'cflags': [ |
| 538 '<!@(<(pkg-config) --cflags libdrm_intel)', |
| 539 ], |
| 540 }, |
| 541 'link_settings': { |
| 542 'libraries': [ |
| 543 '<!@(<(pkg-config) --libs-only-l libdrm_intel)', |
| 544 ], |
| 545 }, |
| 546 }, |
533 ], | 547 ], |
534 }], | 548 }], |
535 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1',
{ | 549 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1',
{ |
536 'targets': [ | 550 'targets': [ |
537 { | 551 { |
538 'target_name': 'libdrm', | 552 'target_name': 'libdrm', |
539 'type': 'none', | 553 'type': 'none', |
540 'direct_dependent_settings': { | 554 'direct_dependent_settings': { |
541 'cflags': [ | 555 'cflags': [ |
542 '<!@(<(pkg-config) --cflags libdrm)', | 556 '<!@(<(pkg-config) --cflags libdrm)', |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 '-Wno-header-guard', | 1226 '-Wno-header-guard', |
1213 ], | 1227 ], |
1214 }, | 1228 }, |
1215 }], | 1229 }], |
1216 ] | 1230 ] |
1217 }], | 1231 }], |
1218 ], | 1232 ], |
1219 }, | 1233 }, |
1220 ], | 1234 ], |
1221 } | 1235 } |
OLD | NEW |