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 # If any of the linux_link_FOO below are set to 1, then the corresponding | 7 # If any of the linux_link_FOO below are set to 1, then the corresponding |
8 # target will be linked against the FOO library (either dynamically or | 8 # target will be linked against the FOO library (either dynamically or |
9 # statically, depending on the pkg-config files), as opposed to loading the | 9 # statically, depending on the pkg-config files), as opposed to loading the |
10 # FOO library dynamically with dlopen. | 10 # FOO library dynamically with dlopen. |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 }, | 515 }, |
516 'link_settings': { | 516 'link_settings': { |
517 'ldflags': [ | 517 'ldflags': [ |
518 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', | 518 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', |
519 ], | 519 ], |
520 'libraries': [ | 520 'libraries': [ |
521 '<!@(<(pkg-config) --libs-only-l gbm)', | 521 '<!@(<(pkg-config) --libs-only-l gbm)', |
522 ], | 522 ], |
523 }, | 523 }, |
524 }, | 524 }, |
| 525 { |
| 526 'target_name': 'libdrm_intel', |
| 527 'type': 'none', |
| 528 'direct_dependent_settings': { |
| 529 'cflags': [ |
| 530 '<!@(<(pkg-config) --cflags libdrm_intel)', |
| 531 ], |
| 532 }, |
| 533 'link_settings': { |
| 534 'libraries': [ |
| 535 '<!@(<(pkg-config) --libs-only-l libdrm_intel)', |
| 536 ], |
| 537 }, |
| 538 }, |
525 ], | 539 ], |
526 }], | 540 }], |
527 ['ozone_platform_drm==1 or ozone_platform_gbm==1', { | 541 ['ozone_platform_drm==1 or ozone_platform_gbm==1', { |
528 'targets': [ | 542 'targets': [ |
529 { | 543 { |
530 'target_name': 'libdrm', | 544 'target_name': 'libdrm', |
531 'type': 'none', | 545 'type': 'none', |
532 'direct_dependent_settings': { | 546 'direct_dependent_settings': { |
533 'cflags': [ | 547 'cflags': [ |
534 '<!@(<(pkg-config) --cflags libdrm)', | 548 '<!@(<(pkg-config) --cflags libdrm)', |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 }, | 1227 }, |
1214 }], | 1228 }], |
1215 ], | 1229 ], |
1216 }], | 1230 }], |
1217 ] | 1231 ] |
1218 }], | 1232 }], |
1219 ], | 1233 ], |
1220 }, | 1234 }, |
1221 ], | 1235 ], |
1222 } | 1236 } |
OLD | NEW |