Implement wasm mini loader and refine footprint of loader and runtime (#276)
This commit is contained in:
@ -13,8 +13,14 @@ else ()
|
||||
set (INTERPRETER "wasm_interp_classic.c")
|
||||
endif ()
|
||||
|
||||
if (WAMR_BUILD_MINI_LOADER EQUAL 1)
|
||||
set (LOADER "wasm_mini_loader.c")
|
||||
else ()
|
||||
set (LOADER "wasm_loader.c")
|
||||
endif ()
|
||||
|
||||
file (GLOB_RECURSE source_all
|
||||
${IWASM_INTERP_DIR}/wasm_loader.c
|
||||
${IWASM_INTERP_DIR}/${LOADER}
|
||||
${IWASM_INTERP_DIR}/wasm_runtime.c
|
||||
${IWASM_INTERP_DIR}/${INTERPRETER}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user