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",
|
|
|
|
"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-08 00:15:19 +03:00
|
|
|
GeneratedFile(
|
|
|
|
"Components.h",
|
|
|
|
"StaticComponentData.h",
|
|
|
|
"StaticComponents.cpp",
|
2020-11-06 21:58:33 +03:00
|
|
|
"services.json",
|
2022-09-13 16:47:13 +03:00
|
|
|
"components.rs",
|
2019-10-08 00:15:19 +03:00
|
|
|
script="gen_static_components.py",
|
|
|
|
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",
|
2024-02-15 19:20:44 +03:00
|
|
|
"/js/xpconnect/src",
|
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":
|
2021-12-23 23:29:07 +03:00
|
|
|
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
2018-12-19 07:30:13 +03:00
|
|
|
|
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
2021-01-26 02:44:49 +03:00
|
|
|
|
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
2023-12-12 20:40:03 +03:00
|
|
|
"test/python.toml",
|
2021-01-26 02:44:49 +03:00
|
|
|
]
|