Files
luban-lite-t3e-pro/packages/third-party/adbd/SConscript

30 lines
701 B
Python
Raw Normal View History

2024-01-27 08:47:24 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('core/*.c')
CPPPATH = [cwd + '/inc']
CPPPATH += [cwd + '/services']
if GetDepend('LPKG_ADB_SERVICE_SHELL_ENABLE'):
src += ['services/shell_service.c']
if GetDepend('LPKG_ADB_SERVICE_FILE_ENABLE'):
src += ['services/file_sync_service.c']
if GetDepend('LPKG_ADB_EXTERNAL_MOD_ENABLE'):
src += ['services/file_exmod.c']
if GetDepend('LPKG_ADB_FILESYNC_MOD_ENABLE'):
src += ['services/file_sync_mod.c']
if GetDepend('LPKG_ADB_FILELIST_MOD_ENABLE'):
src += ['services/file_list_mod.c']
group = DefineGroup('adb', src, depend = ['LPKG_USING_ADBD'], CPPPATH = CPPPATH)
Return('group')