| 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ], | 525 ], |
| 526 }], | 526 }], |
| 527 ['use_ozone==1', { |
| 528 'targets': [ |
| 529 { |
| 530 'target_name': 'drmheader', |
| 531 'type': 'none', |
| 532 'direct_dependent_settings': { |
| 533 'cflags': [ |
| 534 '<!@(<(pkg-config) --cflags libdrm)', |
| 535 ], |
| 536 }, |
| 537 }, |
| 538 ], |
| 539 }], |
| 527 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1',
{ | 540 ['ozone_platform_dri==1 or ozone_platform_drm==1 or ozone_platform_gbm==1',
{ |
| 528 'targets': [ | 541 'targets': [ |
| 529 { | 542 { |
| 530 'target_name': 'libdrm', | 543 'target_name': 'libdrm', |
| 531 'type': 'none', | 544 'type': 'none', |
| 532 'direct_dependent_settings': { | 545 'direct_dependent_settings': { |
| 533 'cflags': [ | 546 'cflags': [ |
| 534 '<!@(<(pkg-config) --cflags libdrm)', | 547 '<!@(<(pkg-config) --cflags libdrm)', |
| 535 ], | 548 ], |
| 536 }, | 549 }, |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 }, | 1226 }, |
| 1214 }], | 1227 }], |
| 1215 ], | 1228 ], |
| 1216 }], | 1229 }], |
| 1217 ] | 1230 ] |
| 1218 }], | 1231 }], |
| 1219 ], | 1232 ], |
| 1220 }, | 1233 }, |
| 1221 ], | 1234 ], |
| 1222 } | 1235 } |
| OLD | NEW |