• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'targets': [
3    {
4      'target_name': 'binding',
5      'includes': ['../common.gypi'],
6      'conditions': [
7        ['node_use_openssl=="true"', {
8          'conditions': [
9            ['OS=="aix"', {
10              'variables': {
11                # Used to differentiate `AIX` and `OS400`(IBM i).
12                'aix_variant_name': '<!(uname -s)',
13              },
14              'conditions': [
15                [ '"<(aix_variant_name)"!="OS400"', { # Not `OS400`(IBM i)
16                  'sources': ['binding.cc'],
17                  'include_dirs': ['../../../deps/openssl/openssl/include'],
18                }],
19              ],
20            }, {
21              'sources': ['binding.cc'],
22              'include_dirs': ['../../../deps/openssl/openssl/include'],
23            }],
24          ],
25        }],
26        ['OS=="mac"', {
27          'xcode_settings': {
28            'OTHER_CFLAGS+': [
29              '-Wno-deprecated-declarations',
30            ],
31          },
32        }, {
33          'cflags': ['-Wno-deprecated-declarations'],
34        }],
35      ],
36    },
37  ]
38}
39