11cb0ef41Sopenharmony_ci{
21cb0ef41Sopenharmony_ci  'targets': [
31cb0ef41Sopenharmony_ci    {
41cb0ef41Sopenharmony_ci      'target_name': 'ping',
51cb0ef41Sopenharmony_ci      'product_extension': 'so',
61cb0ef41Sopenharmony_ci      'type': 'shared_library',
71cb0ef41Sopenharmony_ci      'sources': [ 'ping.c' ],
81cb0ef41Sopenharmony_ci      'conditions': [
91cb0ef41Sopenharmony_ci        ['OS=="mac"', {
101cb0ef41Sopenharmony_ci          'xcode_settings': {
111cb0ef41Sopenharmony_ci            'OTHER_LDFLAGS': [ '-Wl,-undefined', '-Wl,dynamic_lookup' ]
121cb0ef41Sopenharmony_ci        }}],
131cb0ef41Sopenharmony_ci        # Enable the shared object to be linked by runtime linker
141cb0ef41Sopenharmony_ci        ['OS in "aix os400"', {
151cb0ef41Sopenharmony_ci          'ldflags': [ '-Wl,-G' ]
161cb0ef41Sopenharmony_ci        }]],
171cb0ef41Sopenharmony_ci    },
181cb0ef41Sopenharmony_ci    {
191cb0ef41Sopenharmony_ci      'target_name': 'binding',
201cb0ef41Sopenharmony_ci      'sources': [ 'binding.cc' ],
211cb0ef41Sopenharmony_ci      'includes': ['../common.gypi'],
221cb0ef41Sopenharmony_ci    }
231cb0ef41Sopenharmony_ci  ]
241cb0ef41Sopenharmony_ci}
25