| 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   'targets': [ |    6   'targets': [ | 
|    7     { |    7     { | 
|    8       'target_name': 'openssl', |    8       'target_name': 'openssl', | 
|    9       'type': '<(component)', |    9       'type': '<(component)', | 
|   10       'includes': [ |   10       'includes': [ | 
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   85           'sources!': [ '<@(openssl_x86_64_source_excludes)' ], |   85           'sources!': [ '<@(openssl_x86_64_source_excludes)' ], | 
|   86           'defines': [ '<@(openssl_x86_64_defines)' ], |   86           'defines': [ '<@(openssl_x86_64_defines)' ], | 
|   87           'defines!': [ 'OPENSSL_NO_ASM' ], |   87           'defines!': [ 'OPENSSL_NO_ASM' ], | 
|   88           'variables': { |   88           'variables': { | 
|   89             # Ensure the 64-bit opensslconf.h header is used. |   89             # Ensure the 64-bit opensslconf.h header is used. | 
|   90             'openssl_include_dirs+': [ 'config/x64' ], |   90             'openssl_include_dirs+': [ 'config/x64' ], | 
|   91             'openssl_public_include_dirs+': [ 'config/x64' ], |   91             'openssl_public_include_dirs+': [ 'config/x64' ], | 
|   92           }, |   92           }, | 
|   93         }], |   93         }], | 
|   94         ['component == "shared_library"', { |   94         ['component == "shared_library"', { | 
 |   95           'xcode_settings': { | 
 |   96             'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',  # no -fvisibility=hidden | 
 |   97           }, | 
|   95           'cflags!': ['-fvisibility=hidden'], |   98           'cflags!': ['-fvisibility=hidden'], | 
|   96         }], |   99         }], | 
|   97         ['clang==1', { |  100         ['clang==1', { | 
|   98           'cflags': [ |  101           'cflags': [ | 
|   99             # OpenSSL has a few |if ((foo == NULL))| checks. |  102             # OpenSSL has a few |if ((foo == NULL))| checks. | 
|  100             '-Wno-parentheses-equality', |  103             '-Wno-parentheses-equality', | 
|  101             # OpenSSL uses several function-style macros and then ignores the |  104             # OpenSSL uses several function-style macros and then ignores the | 
|  102             # returned value. |  105             # returned value. | 
|  103             '-Wno-unused-value', |  106             '-Wno-unused-value', | 
|  104           ], |  107           ], | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
|  118       }, |  121       }, | 
|  119     }, |  122     }, | 
|  120   ], |  123   ], | 
|  121 } |  124 } | 
|  122  |  125  | 
|  123 # Local Variables: |  126 # Local Variables: | 
|  124 # tab-width:2 |  127 # tab-width:2 | 
|  125 # indent-tabs-mode:nil |  128 # indent-tabs-mode:nil | 
|  126 # End: |  129 # End: | 
|  127 # vim: set expandtab tabstop=2 shiftwidth=2: |  130 # vim: set expandtab tabstop=2 shiftwidth=2: | 
| OLD | NEW |