mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
f5f86c989e
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.
55 lines
1.2 KiB
Python
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']
|