michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'BackstagePass.h', michael@0: 'nsCxPusher.h', michael@0: 'qsObjectHelper.h', michael@0: 'XPCJSMemoryReporter.h', michael@0: 'xpcObjectHelper.h', michael@0: 'xpcpublic.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsCxPusher.cpp', michael@0: 'nsScriptError.cpp', michael@0: 'nsXPConnect.cpp', michael@0: 'Sandbox.cpp', michael@0: 'XPCCallContext.cpp', michael@0: 'XPCContext.cpp', michael@0: 'XPCConvert.cpp', michael@0: 'XPCDebug.cpp', michael@0: 'XPCException.cpp', michael@0: 'XPCJSContextStack.cpp', michael@0: 'XPCJSID.cpp', michael@0: 'XPCJSRuntime.cpp', michael@0: 'XPCJSWeakReference.cpp', michael@0: 'XPCLocale.cpp', michael@0: 'XPCLog.cpp', michael@0: 'XPCMaps.cpp', michael@0: 'XPCModule.cpp', michael@0: 'XPCQuickStubs.cpp', michael@0: 'XPCRuntimeService.cpp', michael@0: 'XPCShellImpl.cpp', michael@0: 'XPCString.cpp', michael@0: 'XPCThrower.cpp', michael@0: 'XPCVariant.cpp', michael@0: 'XPCWrappedJS.cpp', michael@0: 'XPCWrappedJSClass.cpp', michael@0: 'XPCWrappedNative.cpp', michael@0: 'XPCWrappedNativeInfo.cpp', michael@0: 'XPCWrappedNativeJSOps.cpp', michael@0: 'XPCWrappedNativeProto.cpp', michael@0: 'XPCWrappedNativeScope.cpp', michael@0: 'XPCWrapper.cpp', michael@0: ] michael@0: michael@0: # XPCComponents.cpp cannot be built in unified mode because it uses plarena.h. michael@0: SOURCES += [ michael@0: 'XPCComponents.cpp', michael@0: ] michael@0: michael@0: GENERATED_SOURCES += [ michael@0: 'dom_quickstubs.cpp', michael@0: 'GeneratedEvents.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LIBRARY_NAME = 'xpconnect_s' michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: michael@0: GENERATED_FILES = [ michael@0: 'dom_quickstubs.h', michael@0: 'GeneratedEventClasses.h', michael@0: 'GeneratedEvents.h', michael@0: ] michael@0: michael@0: DEFINES['JS_THREADSAFE'] = True michael@0: michael@0: if CONFIG['MOZ_JSDEBUGGER']: michael@0: DEFINES['MOZ_JSDEBUGGER'] = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../loader', michael@0: '../wrappers', michael@0: '/caps/include', michael@0: '/content/base/public', michael@0: '/content/base/src', michael@0: '/content/html/content/src', michael@0: '/content/html/document/src', michael@0: '/content/svg/content/src', michael@0: '/dom/base', michael@0: '/dom/workers', michael@0: '/js/ipc', michael@0: '/layout/base', michael@0: '/layout/style', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_B2G_BT']: michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/bluetooth', michael@0: ]