no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / js / xpconnect / src / moz.build
blob39d4baececcca921fc8627d71be2e4b55569fc9b
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8     "BackstagePass.h",
9     "JSServices.h",
10     "nsIXPConnect.h",
11     "XPCJSMemoryReporter.h",
12     "xpcObjectHelper.h",
13     "xpcpublic.h",
14     "XPCSelfHostedShmem.h",
17 UNIFIED_SOURCES += [
18     "ExportHelpers.cpp",
19     "JSServices.cpp",
20     "nsXPConnect.cpp",
21     "Sandbox.cpp",
22     "XPCCallContext.cpp",
23     "XPCComponents.cpp",
24     "XPCConvert.cpp",
25     "XPCDebug.cpp",
26     "XPCException.cpp",
27     "XPCJSContext.cpp",
28     "XPCJSID.cpp",
29     "XPCJSRuntime.cpp",
30     "XPCJSWeakReference.cpp",
31     "XPCLocale.cpp",
32     "XPCLog.cpp",
33     "XPCMaps.cpp",
34     "XPCModule.cpp",
35     "XPCRuntimeService.cpp",
36     "XPCSelfHostedShmem.cpp",
37     "XPCShellImpl.cpp",
38     "XPCString.cpp",
39     "XPCThrower.cpp",
40     "XPCVariant.cpp",
41     "XPCWrappedJS.cpp",
42     "XPCWrappedJSClass.cpp",
43     "XPCWrappedJSIterator.cpp",
44     "XPCWrappedNative.cpp",
45     "XPCWrappedNativeInfo.cpp",
46     "XPCWrappedNativeJSOps.cpp",
47     "XPCWrappedNativeProto.cpp",
48     "XPCWrappedNativeScope.cpp",
49     "XPCWrapper.cpp",
53 if CONFIG["LIBFUZZER"]:
54     UNIFIED_SOURCES += ["xpcrtfuzzing/xpcrtfuzzing.cpp"]
56 XPCOM_MANIFESTS += [
57     "components.conf",
60 include("/ipc/chromium/chromium-config.mozbuild")
62 FINAL_LIBRARY = "xul"
64 LOCAL_INCLUDES += [
65     "!/xpcom/components",
66     "../loader",
67     "../wrappers",
68     "/caps",
69     "/dom/base",
70     "/dom/bindings",
71     "/dom/html",
72     "/layout/base",
73     "/layout/style",
74     "/netwerk/base",
75     "/xpcom/components",
78 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
79     CXXFLAGS += ["-Werror=format"]