зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1605215) for perma fails on test_emitter.py. CLOSED TREE
Backed out changeset 2e26df04968e (bug 1605215) Backed out changeset de5881f3d6ce (bug 1605215)
This commit is contained in:
Родитель
4200948394
Коммит
eef36cc7e7
|
@ -24,13 +24,6 @@ endif
|
|||
INSTALL_TARGETS += SHARED_LIBRARY
|
||||
endif # SHARED_LIBRARY
|
||||
|
||||
ifdef WASM_LIBRARY
|
||||
WASM_LIBRARY_FILES = $(WASM_LIBRARY)
|
||||
WASM_LIBRARY_DEST ?= $(FINAL_TARGET)
|
||||
WASM_LIBRARY_TARGET = target
|
||||
INSTALL_TARGETS += WASM_LIBRARY
|
||||
endif
|
||||
|
||||
ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)))
|
||||
HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_RUST_PROGRAMS)
|
||||
HOST_PROGRAMS_DEST ?= $(DIST)/host/bin
|
||||
|
|
|
@ -679,18 +679,6 @@ class SandboxedWasmLibrary(Library):
|
|||
def __init__(self, context, basename, real_name=None):
|
||||
Library.__init__(self, context, basename, real_name)
|
||||
|
||||
# TODO: WASM sandboxed libraries are in a weird place: they are
|
||||
# built in a different way, but they should share some code with
|
||||
# SharedLibrary. This is the minimal configuration needed to work
|
||||
# with Linux, but it would need to be extended for other platforms.
|
||||
assert context.config.substs['OS_TARGET'] == 'Linux'
|
||||
|
||||
self.lib_name = '%s%s%s' % (
|
||||
context.config.dll_prefix,
|
||||
real_name or basename,
|
||||
context.config.dll_suffix,
|
||||
)
|
||||
|
||||
def _obj_suffix(self):
|
||||
"""Can be overridden by a base class for custom behavior."""
|
||||
return self.config.substs.get('WASM_OBJ_SUFFIX', '')
|
||||
|
|
Загрузка…
Ссылка в новой задаче