2023-08-30 16:21:18 +08:00
|
|
|
Import('AIC_ROOT')
|
|
|
|
|
Import('PRJ_KERNEL')
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
CPPPATH = []
|
|
|
|
|
src = []
|
|
|
|
|
if GetDepend('AIC_TP_DRV_TEST'):
|
2024-01-27 08:47:24 +08:00
|
|
|
src = []
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_GT911'):
|
|
|
|
|
src += Glob('test_gt911.c')
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_FT7411'):
|
|
|
|
|
src += Glob('test_ft7411.c')
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_GSL1680'):
|
|
|
|
|
src += Glob('test_gsl1680.c')
|
2024-06-04 19:00:30 +08:00
|
|
|
if GetDepend('AIC_TOUCH_PANEL_ST16XX'):
|
|
|
|
|
src += Glob('test_st16xx.c')
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_AXS15260'):
|
|
|
|
|
src += Glob('test_axs15260.c')
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
group = DefineGroup('test-ctp', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
|
|
Return('group')
|