moz.build (1351B)
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/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Core & HTML") 9 10 EXPORTS += [ 11 "nsIScriptElement.h", 12 "nsIScriptLoaderObserver.h", 13 ] 14 15 EXPORTS.mozilla.dom += [ 16 "AutoEntryScript.h", 17 "ModuleLoader.h", 18 "ScriptCompression.h", 19 "ScriptDecoding.h", 20 "ScriptElement.h", 21 "ScriptLoadContext.h", 22 "ScriptLoader.h", 23 "ScriptLoadHandler.h", 24 "ScriptLoadRequestType.h", 25 "ScriptSettings.h", 26 "ScriptTrace.h", 27 "ShadowRealmGlobalScope.h", 28 "SharedScriptCache.h", 29 ] 30 31 UNIFIED_SOURCES += [ 32 "AutoEntryScript.cpp", 33 "ModuleLoader.cpp", 34 "nsIScriptElement.cpp", 35 "ScriptCompression.cpp", 36 "ScriptElement.cpp", 37 "ScriptLoadContext.cpp", 38 "ScriptLoader.cpp", 39 "ScriptLoadHandler.cpp", 40 "ScriptSettings.cpp", 41 "ScriptTrace.cpp", 42 "ShadowRealmGlobalScope.cpp", 43 "SharedScriptCache.cpp", 44 ] 45 46 LOCAL_INCLUDES += [ 47 "/dom/base", 48 "/js/loader", 49 # For nsHttpChannel.h 50 "/netwerk/base", 51 "/netwerk/protocol/http", 52 ] 53 54 include("/ipc/chromium/chromium-config.mozbuild") 55 56 FINAL_LIBRARY = "xul"