gecko-dev/xpcom/components/moz.build
Nika Layzell f5f86c989e Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8
Unfortunately, I wasn't able to figure out a way to make firefox build & run in
the intermediate stages of these commits. Because of this, I am going to just
delete most of the code which I am deleting in the first patch, as I figure that
those are somewhat uninteresting changes, and then make the other changes in the
following patches.

In total, the following things are deleted:
1. All of xpcom/typelib, except for `xpt/tools` - this directory is being
subsumed entirely into xpcom/reflect/xptinfo.
2. Most of the code in xpcom/reflect/xptinfo, it is being rewritten to avoid
allocating and contain all of the necessary data structures.
3. idl-parser's typelib.py XPT generator, as it will be replaced.
4. Most includes of files which have been deleted.

NOTE: xpcom/typelib/xpt/tools/xpt.py was not removed, as it is used by bundling
code & bundling tests, which we don't want to remove yet.
2018-04-17 19:20:50 -04:00

55 lines
1.2 KiB
Python

# -*- Mode: python; 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/.
XPIDL_SOURCES += [
'nsICategoryManager.idl',
'nsIClassInfo.idl',
'nsIComponentManager.idl',
'nsIComponentRegistrar.idl',
'nsIFactory.idl',
'nsIModule.idl',
'nsIServiceManager.idl',
]
XPIDL_MODULE = 'xpcom_components'
EXPORTS += [
'nsCategoryCache.h',
'nsCategoryManagerUtils.h',
'nsComponentManagerUtils.h',
'nsServiceManagerUtils.h',
]
EXPORTS.mozilla += [
'GenericFactory.h',
'Module.h',
'ModuleLoader.h',
'ModuleUtils.h',
]
UNIFIED_SOURCES += [
'GenericFactory.cpp',
'ManifestParser.cpp',
'nsCategoryCache.cpp',
'nsCategoryManager.cpp',
'nsComponentManager.cpp',
'nsComponentManagerUtils.cpp',
]
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'!..',
'../base',
'../build',
'../ds',
'/chrome',
'/modules/libjar',
]
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
CXXFLAGS += CONFIG['TK_CFLAGS']