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 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 '-Wno-header-guard', | 1261 '-Wno-header-guard', |
1262 ], | 1262 ], |
1263 }, | 1263 }, |
1264 }], | 1264 }], |
1265 ], | 1265 ], |
1266 }], | 1266 }], |
1267 ] | 1267 ] |
1268 }], | 1268 }], |
1269 ], | 1269 ], |
1270 }, | 1270 }, |
| 1271 { |
| 1272 'target_name': 'libffi', |
| 1273 'type': 'none', |
| 1274 'conditions': [ |
| 1275 ['_toolset=="target"', { |
| 1276 'direct_dependent_settings': { |
| 1277 'cflags': [ |
| 1278 '<!@(<(pkg-config) --cflags libffi)', |
| 1279 ], |
| 1280 }, |
| 1281 'link_settings': { |
| 1282 'ldflags': [ |
| 1283 '<!@(<(pkg-config) --libs-only-L --libs-only-other libffi)', |
| 1284 ], |
| 1285 'libraries': [ |
| 1286 '<!@(<(pkg-config) --libs-only-l libffi)', |
| 1287 ], |
| 1288 }, |
| 1289 }], |
| 1290 ], |
| 1291 }, |
1271 ], | 1292 ], |
1272 } | 1293 } |
OLD | NEW |