summaryrefslogtreecommitdiff
path: root/test/addons/zlib-binding/binding.gyp
blob: f6a822d47e9c7b046cc9ec607077de8e51c5c96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  'targets': [
    {
      'target_name': 'binding',
      'conditions': [
        ['OS in "aix os400"', {
          'variables': {
            # Used to differentiate `AIX` and `OS400`(IBM i).
            'aix_variant_name': '<!(uname -s)',
          },
          'conditions': [
            [ '"<(aix_variant_name)"!="OS400"', { # Not `OS400`(IBM i)
              'sources': ['binding.cc'],
              'include_dirs': ['../../../deps/zlib'],
            }],
          ],
        }, {
          'sources': ['binding.cc'],
          'include_dirs': ['../../../deps/zlib'],
        }],
      ],
      'includes': ['../common.gypi'],
    },
  ]
}