lib/zlib/exports.gyp
author EKR <ekr@rtfm.com>
Fri, 02 Dec 2016 16:32:09 +0100
changeset 12940 433172d35f525c82db3eb0b583f40e93a7d3a7c8
parent 12855 c2b5a69382c4ec47436e5777ca2238c5f0fa8d5d
permissions -rw-r--r--
Bug 1321809 - Only increment the advertised extensions when appending rather than on both passes. r=mt Differential Revision: https://nss-review.dev.mozaws.net/D111

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
{
  'includes': [
    '../../coreconf/config.gypi'
  ],
  'variables': {
    'module': 'nss',
  },
  'conditions': [
    ['use_system_zlib==1', {
      'targets': [{
        'target_name': 'lib_zlib_exports',
        'type': 'none',
      }],
    }, {
      'targets': [{
        'target_name': 'lib_zlib_exports',
        'type': 'none',
        'copies': [
          {
          'files': [
            'zlib.h',
            'zconf.h',
          ],
          'destination': '<(nss_private_dist_dir)/<(module)'
          }
      ]
    }],
    }],
  ],
}