gecko-dev/dom/script/moz.build

55 lines
1.3 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
EXPORTS += [
"nsIScriptElement.h",
"nsIScriptLoaderObserver.h",
]
EXPORTS.mozilla.dom += [
"AutoEntryScript.h",
"ModuleLoader.h",
"ScriptCompression.h",
"ScriptDecoding.h",
"ScriptElement.h",
"ScriptLoadContext.h",
"ScriptLoader.h",
"ScriptLoadHandler.h",
"ScriptSettings.h",
"ScriptTrace.h",
"ShadowRealmGlobalScope.h",
"SharedScriptCache.h",
]
UNIFIED_SOURCES += [
"AutoEntryScript.cpp",
"ModuleLoader.cpp",
"nsIScriptElement.cpp",
"ScriptCompression.cpp",
"ScriptElement.cpp",
"ScriptLoadContext.cpp",
"ScriptLoader.cpp",
"ScriptLoadHandler.cpp",
"ScriptSettings.cpp",
"ShadowRealmGlobalScope.cpp",
"SharedScriptCache.cpp",
]
LOCAL_INCLUDES += [
"/dom/base",
"/js/loader",
# For nsHttpChannel.h
"/netwerk/base",
"/netwerk/protocol/http",
]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"