1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/xpconnect/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,100 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS += [ 1.11 + 'BackstagePass.h', 1.12 + 'nsCxPusher.h', 1.13 + 'qsObjectHelper.h', 1.14 + 'XPCJSMemoryReporter.h', 1.15 + 'xpcObjectHelper.h', 1.16 + 'xpcpublic.h', 1.17 +] 1.18 + 1.19 +UNIFIED_SOURCES += [ 1.20 + 'nsCxPusher.cpp', 1.21 + 'nsScriptError.cpp', 1.22 + 'nsXPConnect.cpp', 1.23 + 'Sandbox.cpp', 1.24 + 'XPCCallContext.cpp', 1.25 + 'XPCContext.cpp', 1.26 + 'XPCConvert.cpp', 1.27 + 'XPCDebug.cpp', 1.28 + 'XPCException.cpp', 1.29 + 'XPCJSContextStack.cpp', 1.30 + 'XPCJSID.cpp', 1.31 + 'XPCJSRuntime.cpp', 1.32 + 'XPCJSWeakReference.cpp', 1.33 + 'XPCLocale.cpp', 1.34 + 'XPCLog.cpp', 1.35 + 'XPCMaps.cpp', 1.36 + 'XPCModule.cpp', 1.37 + 'XPCQuickStubs.cpp', 1.38 + 'XPCRuntimeService.cpp', 1.39 + 'XPCShellImpl.cpp', 1.40 + 'XPCString.cpp', 1.41 + 'XPCThrower.cpp', 1.42 + 'XPCVariant.cpp', 1.43 + 'XPCWrappedJS.cpp', 1.44 + 'XPCWrappedJSClass.cpp', 1.45 + 'XPCWrappedNative.cpp', 1.46 + 'XPCWrappedNativeInfo.cpp', 1.47 + 'XPCWrappedNativeJSOps.cpp', 1.48 + 'XPCWrappedNativeProto.cpp', 1.49 + 'XPCWrappedNativeScope.cpp', 1.50 + 'XPCWrapper.cpp', 1.51 +] 1.52 + 1.53 +# XPCComponents.cpp cannot be built in unified mode because it uses plarena.h. 1.54 +SOURCES += [ 1.55 + 'XPCComponents.cpp', 1.56 +] 1.57 + 1.58 +GENERATED_SOURCES += [ 1.59 + 'dom_quickstubs.cpp', 1.60 + 'GeneratedEvents.cpp', 1.61 +] 1.62 + 1.63 +FAIL_ON_WARNINGS = True 1.64 + 1.65 +MSVC_ENABLE_PGO = True 1.66 + 1.67 +LIBRARY_NAME = 'xpconnect_s' 1.68 + 1.69 +include('/ipc/chromium/chromium-config.mozbuild') 1.70 + 1.71 +FINAL_LIBRARY = 'gklayout' 1.72 + 1.73 +GENERATED_FILES = [ 1.74 + 'dom_quickstubs.h', 1.75 + 'GeneratedEventClasses.h', 1.76 + 'GeneratedEvents.h', 1.77 +] 1.78 + 1.79 +DEFINES['JS_THREADSAFE'] = True 1.80 + 1.81 +if CONFIG['MOZ_JSDEBUGGER']: 1.82 + DEFINES['MOZ_JSDEBUGGER'] = True 1.83 + 1.84 +LOCAL_INCLUDES += [ 1.85 + '../loader', 1.86 + '../wrappers', 1.87 + '/caps/include', 1.88 + '/content/base/public', 1.89 + '/content/base/src', 1.90 + '/content/html/content/src', 1.91 + '/content/html/document/src', 1.92 + '/content/svg/content/src', 1.93 + '/dom/base', 1.94 + '/dom/workers', 1.95 + '/js/ipc', 1.96 + '/layout/base', 1.97 + '/layout/style', 1.98 +] 1.99 + 1.100 +if CONFIG['MOZ_B2G_BT']: 1.101 + LOCAL_INCLUDES += [ 1.102 + '/dom/bluetooth', 1.103 + ]