Files
luban-lite-t3e-pro/packages/artinchip/lvgl-ui/aic_demo/base_demo/SConscript
刘可亮 8bca5e8332 v1.0.4
2024-04-03 16:40:57 +08:00

23 lines
543 B
Python

from building import *
import os
cwd = GetCurrentDir()
group = []
src = []
CPPPATH = [cwd]
if GetDepend(['AIC_CHIP_D13X']) or GetDepend(['AIC_CHIP_G73X']):
src += Glob('./base_simple_ui.c')
else:
src += Glob('./base_ui.c')
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_BASE_DEMO'], CPPPATH = CPPPATH)
Return('group')