Files
luban-lite-t3e-pro/packages/artinchip/lvgl-ui/aic_demo/gif_demo/SConscript

29 lines
639 B
Python
Raw Normal View History

2023-08-30 16:21:18 +08:00
from building import *
import os
cwd = GetCurrentDir()
group = []
2024-01-27 08:47:24 +08:00
src = []
2023-08-30 16:21:18 +08:00
CPPPATH = [cwd]
2024-01-27 08:47:24 +08:00
src += Glob('./gif_ui.c')
2023-08-30 16:21:18 +08:00
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'))
2025-01-08 19:12:06 +08:00
if GetDepend(['LVGL_STORAGE_PATH']):
ins_dst = GetDepend('LVGL_STORAGE_PATH').strip('"/')
else:
ins_dst='rodata/lvgl_data'
ins_src = 'assets/'
install = [(ins_src, ins_dst)]
group = group + DefineGroup('LVGL-port', src, depend = ['AIC_LVGL_GIF_DEMO'], CPPPATH = CPPPATH,
INSTALL = install)
2023-08-30 16:21:18 +08:00
Return('group')