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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 'ldflags': [ | 564 'ldflags': [ |
565 '<!@(<(pkg-config) --libs-only-L --libs-only-other xkbcommon)', | 565 '<!@(<(pkg-config) --libs-only-L --libs-only-other xkbcommon)', |
566 ], | 566 ], |
567 'libraries': [ | 567 'libraries': [ |
568 '<!@(<(pkg-config) --libs-only-l xkbcommon)', | 568 '<!@(<(pkg-config) --libs-only-l xkbcommon)', |
569 ], | 569 ], |
570 }, | 570 }, |
571 }, | 571 }, |
572 ], | 572 ], |
573 }], | 573 }], |
574 ['ozone_platform_gbm==1', { | |
575 'targets': [ | |
576 { | |
577 'target_name': 'gbm', | |
578 'type': 'none', | |
579 'direct_dependent_settings': { | |
580 'cflags': [ | |
581 '<!@(<(pkg-config) --cflags gbm)', | |
582 ], | |
583 }, | |
584 'link_settings': { | |
585 'ldflags': [ | |
586 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', | |
587 ], | |
588 'libraries': [ | |
589 '<!@(<(pkg-config) --libs-only-l gbm)', | |
590 ], | |
591 }, | |
592 }, | |
593 ], | |
594 }], | |
595 ['ozone_platform_drm==1 or ozone_platform_gbm==1', { | 574 ['ozone_platform_drm==1 or ozone_platform_gbm==1', { |
596 'targets': [ | 575 'targets': [ |
597 { | 576 { |
598 'target_name': 'libdrm', | 577 'target_name': 'libdrm', |
599 'type': 'none', | 578 'type': 'none', |
600 'direct_dependent_settings': { | 579 'direct_dependent_settings': { |
601 'cflags': [ | 580 'cflags': [ |
602 '<!@(<(pkg-config) --cflags libdrm)', | 581 '<!@(<(pkg-config) --cflags libdrm)', |
603 ], | 582 ], |
604 }, | 583 }, |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 }, | 1263 }, |
1285 }], | 1264 }], |
1286 ], | 1265 ], |
1287 }], | 1266 }], |
1288 ] | 1267 ] |
1289 }], | 1268 }], |
1290 ], | 1269 ], |
1291 }, | 1270 }, |
1292 ], | 1271 ], |
1293 } | 1272 } |
OLD | NEW |