Bug 1489698 - Add moz.build for js/src/wasm. r=luke,froydnj

This commit is contained in:
Ted Campbell 2018-09-07 21:51:33 -04:00
Родитель d5302eb547
Коммит c1743a79f4
2 изменённых файлов: 43 добавлений и 21 удалений

Просмотреть файл

@ -308,27 +308,6 @@ UNIFIED_SOURCES += [
'vm/UnboxedObject.cpp',
'vm/Value.cpp',
'vm/Xdr.cpp',
'wasm/AsmJS.cpp',
'wasm/WasmBaselineCompile.cpp',
'wasm/WasmBuiltins.cpp',
'wasm/WasmCode.cpp',
'wasm/WasmCompile.cpp',
'wasm/WasmDebug.cpp',
'wasm/WasmFrameIter.cpp',
'wasm/WasmGenerator.cpp',
'wasm/WasmInstance.cpp',
'wasm/WasmIonCompile.cpp',
'wasm/WasmJS.cpp',
'wasm/WasmModule.cpp',
'wasm/WasmOpIter.cpp',
'wasm/WasmProcess.cpp',
'wasm/WasmRealm.cpp',
'wasm/WasmSignalHandlers.cpp',
'wasm/WasmStubs.cpp',
'wasm/WasmTable.cpp',
'wasm/WasmTextToBinary.cpp',
'wasm/WasmTypes.cpp',
'wasm/WasmValidate.cpp'
]
# builtin/RegExp.cpp cannot be built in unified mode because it causes huge
@ -423,6 +402,7 @@ DIRS += [
'frontend',
'gc',
'jit',
'wasm',
]
FINAL_LIBRARY = 'js'

42
js/src/wasm/moz.build Normal file
Просмотреть файл

@ -0,0 +1,42 @@
# -*- 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/.
FINAL_LIBRARY = 'js'
FILES_PER_UNIFIED_FILE = 6
# Includes should be relative to parent path
LOCAL_INCLUDES += [
'!..',
'..'
]
include('../js-config.mozbuild')
include('../js-cxxflags.mozbuild')
UNIFIED_SOURCES += [
'AsmJS.cpp',
'WasmBaselineCompile.cpp',
'WasmBuiltins.cpp',
'WasmCode.cpp',
'WasmCompile.cpp',
'WasmDebug.cpp',
'WasmFrameIter.cpp',
'WasmGenerator.cpp',
'WasmInstance.cpp',
'WasmIonCompile.cpp',
'WasmJS.cpp',
'WasmModule.cpp',
'WasmOpIter.cpp',
'WasmProcess.cpp',
'WasmRealm.cpp',
'WasmSignalHandlers.cpp',
'WasmStubs.cpp',
'WasmTable.cpp',
'WasmTextToBinary.cpp',
'WasmTypes.cpp',
'WasmValidate.cpp'
]