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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 ], | 324 ], |
325 }, | 325 }, |
326 }, | 326 }, |
327 { | 327 { |
328 'target_name': 'openssl', | 328 'target_name': 'openssl', |
329 'type': 'settings', | 329 'type': 'settings', |
330 'conditions': [ | 330 'conditions': [ |
331 ['use_openssl==1', { | 331 ['use_openssl==1', { |
332 'direct_dependent_settings': { | 332 'direct_dependent_settings': { |
333 'defines': [ | 333 'defines': [ |
334 # OpenSSL support is in development. | 334 # OpenSSL support is incomplete: http://crbug.com/62803. |
335 # eventually USE_OPENSSL and USE_NSS will be mutually exclusive. | 335 # Defining USE_OPENSSL disables USE_NSS. |
336 # During the transitional period, a use_openssl=1 build still | |
337 # needs to define USE_NSS, so it is necessary to test the | |
338 # USE_OPENSSL macro before testing USE_NSS. | |
339 'USE_OPENSSL', | 336 'USE_OPENSSL', |
340 ], | 337 ], |
341 'include_dirs': [ | 338 'include_dirs': [ |
342 '<!@(<(pkg-config) --cflags openssl)', | 339 '<!@(<(pkg-config) --cflags openssl)', |
343 ], | 340 ], |
344 }, | 341 }, |
345 'link_settings': { | 342 'link_settings': { |
346 'libraries': [ | 343 'libraries': [ |
347 '<!@(<(pkg-config) --libs-only-l openssl)', | 344 '<!@(<(pkg-config) --libs-only-l openssl)', |
348 ], | 345 ], |
349 }, | 346 }, |
350 },], | 347 },], |
351 ], | 348 ], |
352 }, | 349 }, |
353 ], | 350 ], |
354 } | 351 } |
355 | 352 |
356 # Local Variables: | 353 # Local Variables: |
357 # tab-width:2 | 354 # tab-width:2 |
358 # indent-tabs-mode:nil | 355 # indent-tabs-mode:nil |
359 # End: | 356 # End: |
360 # vim: set expandtab tabstop=2 shiftwidth=2: | 357 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |