2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICategoryManager.idl',
|
|
|
|
'nsIClassInfo.idl',
|
|
|
|
'nsIComponentManager.idl',
|
|
|
|
'nsIComponentRegistrar.idl',
|
|
|
|
'nsIFactory.idl',
|
|
|
|
'nsIModule.idl',
|
|
|
|
'nsIServiceManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'xpcom_components'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2017-01-20 22:41:10 +03:00
|
|
|
'nsCategoryCache.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCategoryManagerUtils.h',
|
2017-01-20 22:41:10 +03:00
|
|
|
'nsComponentManagerUtils.h',
|
|
|
|
'nsServiceManagerUtils.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2017-01-20 22:41:10 +03:00
|
|
|
'GenericFactory.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'Module.h',
|
|
|
|
'ModuleUtils.h',
|
|
|
|
]
|
|
|
|
|
2018-12-19 07:28:14 +03:00
|
|
|
XPCOM_MANIFESTS += [
|
|
|
|
'components.conf',
|
|
|
|
]
|
|
|
|
|
2018-12-19 07:30:13 +03:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'!Components.h',
|
|
|
|
]
|
|
|
|
|
2019-10-07 20:22:08 +03:00
|
|
|
generated = ('Components.h', 'StaticComponentData.h',
|
|
|
|
'StaticComponents.cpp')
|
|
|
|
|
|
|
|
GENERATED_FILES += [generated]
|
|
|
|
|
|
|
|
gen = GENERATED_FILES[generated]
|
|
|
|
gen.script = 'gen_static_components.py'
|
|
|
|
gen.inputs += ['!manifest-lists.json', 'StaticComponents.cpp.in']
|
2018-12-19 07:30:13 +03:00
|
|
|
|
2014-10-09 00:19:14 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2017-01-20 22:41:10 +03:00
|
|
|
'GenericFactory.cpp',
|
2014-10-09 00:19:14 +04:00
|
|
|
'ManifestParser.cpp',
|
2017-01-20 22:41:10 +03:00
|
|
|
'nsCategoryCache.cpp',
|
2017-03-31 02:46:58 +03:00
|
|
|
'nsCategoryManager.cpp',
|
|
|
|
'nsComponentManager.cpp',
|
2017-01-20 22:41:10 +03:00
|
|
|
'nsComponentManagerUtils.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2018-12-19 07:30:13 +03:00
|
|
|
SOURCES += [
|
|
|
|
'!StaticComponents.cpp',
|
|
|
|
]
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-02-18 18:01:06 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2015-11-04 08:20:20 +03:00
|
|
|
'!..',
|
2014-02-18 18:01:06 +04:00
|
|
|
'../base',
|
|
|
|
'../build',
|
|
|
|
'../ds',
|
2014-07-19 23:43:38 +04:00
|
|
|
'/chrome',
|
2018-10-23 03:47:38 +03:00
|
|
|
'/js/xpconnect/loader',
|
2018-10-24 19:10:29 +03:00
|
|
|
'/layout/build',
|
2014-02-18 18:01:06 +04:00
|
|
|
'/modules/libjar',
|
|
|
|
]
|
2014-07-24 19:55:33 +04:00
|
|
|
|
2019-08-21 15:25:42 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
2014-07-24 19:55:33 +04:00
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
2018-12-19 07:30:13 +03:00
|
|
|
|
2019-04-05 05:30:56 +03:00
|
|
|
if CONFIG['MOZ_LAYOUT_DEBUGGER']:
|
|
|
|
DEFINES['MOZ_LAYOUT_DEBUGGER'] = True
|
|
|
|
|
2018-12-19 07:30:13 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|