• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'targets': [
3    {
4      'target_name': 'ping',
5      'product_extension': 'so',
6      'type': 'shared_library',
7      'sources': [ 'ping.c' ],
8      'conditions': [
9        ['OS=="mac"', {
10          'xcode_settings': {
11            'OTHER_LDFLAGS': [ '-Wl,-undefined', '-Wl,dynamic_lookup' ]
12        }}],
13        # Enable the shared object to be linked by runtime linker
14        ['OS=="aix"', {
15          'ldflags': [ '-Wl,-G' ]
16        }]],
17    },
18    {
19      'target_name': 'binding',
20      'sources': [ 'binding.cc' ],
21      'includes': ['../common.gypi'],
22    }
23  ]
24}
25