| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
| 7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
| 8 'variables': { | 8 'variables': { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
| 10 }, | 10 }, |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 }, | 339 }, |
| 340 { | 340 { |
| 341 'target_name': 'libresolv', | 341 'target_name': 'libresolv', |
| 342 'type': 'settings', | 342 'type': 'settings', |
| 343 'link_settings': { | 343 'link_settings': { |
| 344 'libraries': [ | 344 'libraries': [ |
| 345 '-lresolv', | 345 '-lresolv', |
| 346 ], | 346 ], |
| 347 }, | 347 }, |
| 348 }, | 348 }, |
| 349 { | |
| 350 'target_name': 'openssl', | |
| 351 'type': 'settings', | |
| 352 'conditions': [ | |
| 353 ['use_openssl==1', { | |
| 354 'direct_dependent_settings': { | |
| 355 'defines': [ | |
| 356 # OpenSSL support is incomplete: http://crbug.com/62803. | |
| 357 # Defining USE_OPENSSL disables USE_NSS. | |
| 358 'USE_OPENSSL', | |
| 359 ], | |
| 360 'include_dirs': [ | |
| 361 '<!@(<(pkg-config) --cflags openssl)', | |
| 362 ], | |
| 363 }, | |
| 364 'link_settings': { | |
| 365 'libraries': [ | |
| 366 '<!@(<(pkg-config) --libs-only-l openssl)', | |
| 367 ], | |
| 368 }, | |
| 369 },], | |
| 370 ], | |
| 371 }, | |
| 372 ], | 349 ], |
| 373 } | 350 } |
| 374 | 351 |
| 375 # Local Variables: | 352 # Local Variables: |
| 376 # tab-width:2 | 353 # tab-width:2 |
| 377 # indent-tabs-mode:nil | 354 # indent-tabs-mode:nil |
| 378 # End: | 355 # End: |
| 379 # vim: set expandtab tabstop=2 shiftwidth=2: | 356 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |