summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/SConscript
blob: 7db274184c4b1a895551b9d72e4ab7381f4a2dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Copyright (c) 2021, RT-Thread Development Team
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#

# for module compiling
import os

from building import *

objs = []
cwd  = GetCurrentDir()
list = os.listdir(cwd)

if GetDepend(['PKG_USING_WAMR']):
    wamr_entry_sconscript  = os.path.join(cwd, "product-mini", "platforms", "rt-thread", 'SConscript')
    wamr_runlib_sconscript = os.path.join(cwd, "build-scripts", 'SConscript')

    objs = objs + SConscript(wamr_entry_sconscript)
    objs = objs + SConscript(wamr_runlib_sconscript)

Return('objs')