lib/ckfw/exports.gyp
author Ted Mielczarek <ted@mielczarek.org>
Thu, 10 Nov 2016 11:10:00 -0500
changeset 12855 c2b5a69382c4ec47436e5777ca2238c5f0fa8d5d
parent 12745 d861923a4e5b47d79fac8eaf76beafa4b8e925f7
permissions -rw-r--r--
bug 1316604 - Add variables for <(nss_dist_dir)/{public,private}. r=franziskus Mozilla's build system currently puts NSS public headers directly in $(DIST)/include/nss, so we need a way to override the export directory.

# 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'
  ],
  'targets': [
    {
      'target_name': 'lib_ckfw_exports',
      'type': 'none',
      'copies': [
        {
          'files': [
            'nssck.api',
            'nssckepv.h',
            'nssckft.h',
            'nssckfw.h',
            'nssckfwc.h',
            'nssckfwt.h',
            'nssckg.h',
            'nssckmdt.h',
            'nssckt.h'
          ],
          'destination': '<(nss_public_dist_dir)/<(module)'
        },
        {
          'files': [
            'ck.h',
            'ckfw.h',
            'ckfwm.h',
            'ckfwtm.h',
            'ckmd.h',
            'ckt.h'
          ],
          'destination': '<(nss_private_dist_dir)/<(module)'
        }
      ]
    }
  ],
  'variables': {
    'module': 'nss'
  }
}