Files
luban-lite/packages/artinchip/lvgl-ui/aic_demo/qc_test/view/SConscript

19 lines
530 B
Python
Raw Normal View History

2024-09-30 17:06:01 +08:00
from building import *
import os
cwd = GetCurrentDir()
group = []
src = Glob('*.c')
CPPPATH = [cwd]
if (GetDepend('AIC_FS_IMAGE_DIR_1')) and "qc_test" in GetConfigValue('AIC_FS_IMAGE_DIR_1').lower():
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
group = group + SConscript(os.path.join(d, 'SConscript'))
group = group + DefineGroup('LVGL-port', src, depend = ['AIC_LVGL_DEMO'], CPPPATH = CPPPATH)
Return('group')