mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
d82f1773f0
This is the most substantial change in the transition from ScriptLoadInfo to ScriptLoadRequest with regards to data representation. ScriptLoadRequests can have their data incrementally loaded, so it is already fully decoded and ready to go by the time that we create the source buffer for worker scripts. This simplifies some of the code, and we can add incremental loading when we are ready. Differential Revision: https://phabricator.services.mozilla.com/D146180
55 lines
1.2 KiB
Python
55 lines
1.2 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")
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIScriptLoaderObserver.idl",
|
|
]
|
|
|
|
XPIDL_MODULE = "dom"
|
|
|
|
EXPORTS += [
|
|
"nsIScriptElement.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",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"AutoEntryScript.cpp",
|
|
"ModuleLoader.cpp",
|
|
"nsIScriptElement.cpp",
|
|
"ScriptCompression.cpp",
|
|
"ScriptElement.cpp",
|
|
"ScriptLoadContext.cpp",
|
|
"ScriptLoader.cpp",
|
|
"ScriptLoadHandler.cpp",
|
|
"ScriptSettings.cpp",
|
|
"ShadowRealmGlobalScope.cpp",
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
"/dom/base",
|
|
"/js/loader",
|
|
]
|
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
FINAL_LIBRARY = "xul"
|