Bumping manifests a=b2g-bump
[gecko.git] / js / xpconnect / src / moz.build
blobbdc7cd3780273b004a50030025cbb8d6b76c1066
1 # -*- Mode: python; c-basic-offset: 4; 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     'qsObjectHelper.h',
10     'XPCJSMemoryReporter.h',
11     'xpcObjectHelper.h',
12     'xpcpublic.h',
15 UNIFIED_SOURCES += [
16     'ExportHelpers.cpp',
17     'nsScriptError.cpp',
18     'nsXPConnect.cpp',
19     'Sandbox.cpp',
20     'XPCCallContext.cpp',
21     'XPCContext.cpp',
22     'XPCConvert.cpp',
23     'XPCDebug.cpp',
24     'XPCException.cpp',
25     'XPCJSContextStack.cpp',
26     'XPCJSID.cpp',
27     'XPCJSRuntime.cpp',
28     'XPCJSWeakReference.cpp',
29     'XPCLocale.cpp',
30     'XPCLog.cpp',
31     'XPCMaps.cpp',
32     'XPCModule.cpp',
33     'XPCQuickStubs.cpp',
34     'XPCRuntimeService.cpp',
35     'XPCShellImpl.cpp',
36     'XPCString.cpp',
37     'XPCThrower.cpp',
38     'XPCVariant.cpp',
39     'XPCWrappedJS.cpp',
40     'XPCWrappedJSClass.cpp',
41     'XPCWrappedNative.cpp',
42     'XPCWrappedNativeInfo.cpp',
43     'XPCWrappedNativeJSOps.cpp',
44     'XPCWrappedNativeProto.cpp',
45     'XPCWrappedNativeScope.cpp',
46     'XPCWrapper.cpp',
49 # XPCComponents.cpp cannot be built in unified mode because it uses plarena.h.
50 SOURCES += [
51     'XPCComponents.cpp',
54 GENERATED_SOURCES += [
55     'dom_quickstubs.cpp',
58 FAIL_ON_WARNINGS = True
60 MSVC_ENABLE_PGO = True
62 include('/ipc/chromium/chromium-config.mozbuild')
64 FINAL_LIBRARY = 'xul'
66 GENERATED_FILES = [
67     'dom_quickstubs.h',
70 LOCAL_INCLUDES += [
71     '../loader',
72     '../wrappers',
73     '/caps',
74     '/content/base/public',
75     '/content/base/src',
76     '/content/html/content/src',
77     '/content/html/document/src',
78     '/content/svg/content/src',
79     '/dom/base',
80     '/dom/workers',
81     '/js/ipc',
82     '/layout/base',
83     '/layout/style',
84     '/xpcom/reflect/xptinfo',
87 if CONFIG['MOZ_B2G_BT']:
88     LOCAL_INCLUDES += [
89         '/dom/bluetooth',
90     ]