xpcom/moz.build
author Ms2ger <Ms2ger@gmail.com>
Tue, 01 Mar 2016 09:17:29 +0100
changeset 309902 13e8ff78d7c3e04405af3fe985c9c8bcc3d44a51
parent 309602 1625e18519d391d49f4cd72462a2af8c98441ab7
child 333387 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1252095 - Export xpcom-config.h from moz.build; r=ted

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'XPCOM')

DIRS += [
    'idl-parser/xpidl',
]

DIRS += [
    'typelib',
    'string',
    'glue',
    'base',
    'ds',
    'io',
    'components',
    'threads',
    'reflect',
    'system',
    '../chrome',
    'build',
]

if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEBUG']:
    DIRS += ['windbgdlg']

TEST_DIRS += [
    'tests',
]

#  Can't build internal xptcall tests that use symbols which are not exported.
#TEST_DIRS += [
#    'reflect/xptinfo/tests',
#    'reflect/xptcall/tests,
#]

CONFIGURE_DEFINE_FILES += [
    'xpcom-config.h',
    'xpcom-private.h',
]

EXPORTS += [
    '!xpcom-config.h',
]