gecko-dev/js/loader/moz.build
Yoshi Cheng-Hao Huang 7ba3206f1c Bug 1688879 - Part 4: Refactor ResolveModuleSpecifier. r=jonco,yulia
Add ResolveResult to return nsIURI on success or return ResolveError on
failure.

Differential Revision: https://phabricator.services.mozilla.com/D142073
2022-05-05 21:19:02 +00:00

30 lines
759 B
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/.
EXPORTS.js.loader += [
"ImportMap.h",
"LoadContextBase.h",
"LoadedScript.h",
"ModuleLoaderBase.h",
"ModuleLoadRequest.h",
"ResolveResult.h",
"ScriptKind.h",
"ScriptLoadRequest.h",
]
UNIFIED_SOURCES += [
"ImportMap.cpp",
"LoadContextBase.cpp",
"LoadedScript.cpp",
"ModuleLoaderBase.cpp",
"ModuleLoadRequest.cpp",
"ScriptLoadRequest.cpp",
]
FINAL_LIBRARY = "xul"
include("/ipc/chromium/chromium-config.mozbuild")