Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | EXPORTS += [ |
michael@0 | 8 | 'BackstagePass.h', |
michael@0 | 9 | 'nsCxPusher.h', |
michael@0 | 10 | 'qsObjectHelper.h', |
michael@0 | 11 | 'XPCJSMemoryReporter.h', |
michael@0 | 12 | 'xpcObjectHelper.h', |
michael@0 | 13 | 'xpcpublic.h', |
michael@0 | 14 | ] |
michael@0 | 15 | |
michael@0 | 16 | UNIFIED_SOURCES += [ |
michael@0 | 17 | 'nsCxPusher.cpp', |
michael@0 | 18 | 'nsScriptError.cpp', |
michael@0 | 19 | 'nsXPConnect.cpp', |
michael@0 | 20 | 'Sandbox.cpp', |
michael@0 | 21 | 'XPCCallContext.cpp', |
michael@0 | 22 | 'XPCContext.cpp', |
michael@0 | 23 | 'XPCConvert.cpp', |
michael@0 | 24 | 'XPCDebug.cpp', |
michael@0 | 25 | 'XPCException.cpp', |
michael@0 | 26 | 'XPCJSContextStack.cpp', |
michael@0 | 27 | 'XPCJSID.cpp', |
michael@0 | 28 | 'XPCJSRuntime.cpp', |
michael@0 | 29 | 'XPCJSWeakReference.cpp', |
michael@0 | 30 | 'XPCLocale.cpp', |
michael@0 | 31 | 'XPCLog.cpp', |
michael@0 | 32 | 'XPCMaps.cpp', |
michael@0 | 33 | 'XPCModule.cpp', |
michael@0 | 34 | 'XPCQuickStubs.cpp', |
michael@0 | 35 | 'XPCRuntimeService.cpp', |
michael@0 | 36 | 'XPCShellImpl.cpp', |
michael@0 | 37 | 'XPCString.cpp', |
michael@0 | 38 | 'XPCThrower.cpp', |
michael@0 | 39 | 'XPCVariant.cpp', |
michael@0 | 40 | 'XPCWrappedJS.cpp', |
michael@0 | 41 | 'XPCWrappedJSClass.cpp', |
michael@0 | 42 | 'XPCWrappedNative.cpp', |
michael@0 | 43 | 'XPCWrappedNativeInfo.cpp', |
michael@0 | 44 | 'XPCWrappedNativeJSOps.cpp', |
michael@0 | 45 | 'XPCWrappedNativeProto.cpp', |
michael@0 | 46 | 'XPCWrappedNativeScope.cpp', |
michael@0 | 47 | 'XPCWrapper.cpp', |
michael@0 | 48 | ] |
michael@0 | 49 | |
michael@0 | 50 | # XPCComponents.cpp cannot be built in unified mode because it uses plarena.h. |
michael@0 | 51 | SOURCES += [ |
michael@0 | 52 | 'XPCComponents.cpp', |
michael@0 | 53 | ] |
michael@0 | 54 | |
michael@0 | 55 | GENERATED_SOURCES += [ |
michael@0 | 56 | 'dom_quickstubs.cpp', |
michael@0 | 57 | 'GeneratedEvents.cpp', |
michael@0 | 58 | ] |
michael@0 | 59 | |
michael@0 | 60 | FAIL_ON_WARNINGS = True |
michael@0 | 61 | |
michael@0 | 62 | MSVC_ENABLE_PGO = True |
michael@0 | 63 | |
michael@0 | 64 | LIBRARY_NAME = 'xpconnect_s' |
michael@0 | 65 | |
michael@0 | 66 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 67 | |
michael@0 | 68 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 69 | |
michael@0 | 70 | GENERATED_FILES = [ |
michael@0 | 71 | 'dom_quickstubs.h', |
michael@0 | 72 | 'GeneratedEventClasses.h', |
michael@0 | 73 | 'GeneratedEvents.h', |
michael@0 | 74 | ] |
michael@0 | 75 | |
michael@0 | 76 | DEFINES['JS_THREADSAFE'] = True |
michael@0 | 77 | |
michael@0 | 78 | if CONFIG['MOZ_JSDEBUGGER']: |
michael@0 | 79 | DEFINES['MOZ_JSDEBUGGER'] = True |
michael@0 | 80 | |
michael@0 | 81 | LOCAL_INCLUDES += [ |
michael@0 | 82 | '../loader', |
michael@0 | 83 | '../wrappers', |
michael@0 | 84 | '/caps/include', |
michael@0 | 85 | '/content/base/public', |
michael@0 | 86 | '/content/base/src', |
michael@0 | 87 | '/content/html/content/src', |
michael@0 | 88 | '/content/html/document/src', |
michael@0 | 89 | '/content/svg/content/src', |
michael@0 | 90 | '/dom/base', |
michael@0 | 91 | '/dom/workers', |
michael@0 | 92 | '/js/ipc', |
michael@0 | 93 | '/layout/base', |
michael@0 | 94 | '/layout/style', |
michael@0 | 95 | ] |
michael@0 | 96 | |
michael@0 | 97 | if CONFIG['MOZ_B2G_BT']: |
michael@0 | 98 | LOCAL_INCLUDES += [ |
michael@0 | 99 | '/dom/bluetooth', |
michael@0 | 100 | ] |