11cb0ef41Sopenharmony_ci{
21cb0ef41Sopenharmony_ci  'target_name': 'openssl-cli',
31cb0ef41Sopenharmony_ci  'type': 'executable',
41cb0ef41Sopenharmony_ci  'dependencies': ['openssl'],
51cb0ef41Sopenharmony_ci  'defines': [
61cb0ef41Sopenharmony_ci    'MONOLITH'
71cb0ef41Sopenharmony_ci  ],
81cb0ef41Sopenharmony_ci  'includes': ['openssl.gypi'],
91cb0ef41Sopenharmony_ci  'sources': ['<@(openssl_cli_sources)'],
101cb0ef41Sopenharmony_ci  'conditions': [
111cb0ef41Sopenharmony_ci    ['OS=="solaris"', {
121cb0ef41Sopenharmony_ci      'libraries': ['<@(openssl_cli_libraries_solaris)']
131cb0ef41Sopenharmony_ci    }, 'OS=="win"', {
141cb0ef41Sopenharmony_ci      'link_settings': {
151cb0ef41Sopenharmony_ci        'libraries': ['<@(openssl_cli_libraries_win)'],
161cb0ef41Sopenharmony_ci      },
171cb0ef41Sopenharmony_ci    }, 'OS in "linux android"', {
181cb0ef41Sopenharmony_ci      'link_settings': {
191cb0ef41Sopenharmony_ci        'libraries': [
201cb0ef41Sopenharmony_ci          '-ldl',
211cb0ef41Sopenharmony_ci        ],
221cb0ef41Sopenharmony_ci      },
231cb0ef41Sopenharmony_ci    }],
241cb0ef41Sopenharmony_ci    # Avoid excessive LTO
251cb0ef41Sopenharmony_ci    ['enable_lto=="true"', {
261cb0ef41Sopenharmony_ci      'ldflags': [ '-fno-lto' ],
271cb0ef41Sopenharmony_ci    }],
281cb0ef41Sopenharmony_ci  ],
291cb0ef41Sopenharmony_ci}
30