blob: 7c0605ee94f59dd79bf6aa865cffdbfc3b3d6943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#
# Copyright (c) 2021, RT-Thread Development Team
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
from building import *
cwd = GetCurrentDir()
src = Split('''
wasm_runtime.c
''')
if GetDepend(['WAMR_BUILD_FAST_INTERP']):
src += ["wasm_interp_fast.c"]
else:
src += ["wasm_interp_classic.c"]
if GetDepend(['WAMR_BUILD_MINI_LOADER']):
src += ["wasm_mini_loader.c"]
else:
src += ["wasm_loader.c"]
CPPPATH = [cwd]
group = DefineGroup('iwasm_interpreter', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|