mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 05:24:06 +08:00
* it's all common * never getting fixed * it's just tici * reorders * qcom2 -> tici * Revert "qcom2 -> tici" This reverts commit f4d849b2952cb0e662975805db6a1d32511ed392. * Reapply "qcom2 -> tici" This reverts commit 58b193cb8de872830f8a7821a339edca14e4a337. * is tici * lil more * Revert "is tici" This reverts commit a169be18d3fdcb3ef8317a63a89d8becadabfad8. * Revert "Reapply "qcom2 -> tici"" This reverts commit 26f9c0e7d068fc8a1a5f07383b3616e619cd4e8c. * qcom2 -> __tici__ * lil more * mv lenv * clean that up * lil more] * fix * lil more
31 lines
762 B
Python
31 lines
762 B
Python
Import('env', 'envCython', 'arch')
|
|
|
|
common_libs = [
|
|
'params.cc',
|
|
'swaglog.cc',
|
|
'util.cc',
|
|
'watchdog.cc',
|
|
'ratekeeper.cc',
|
|
'clutil.cc',
|
|
]
|
|
|
|
_common = env.Library('common', common_libs, LIBS="json11")
|
|
Export('_common')
|
|
|
|
if GetOption('extras'):
|
|
env.Program('tests/test_common',
|
|
['tests/test_runner.cc', 'tests/test_params.cc', 'tests/test_util.cc', 'tests/test_swaglog.cc'],
|
|
LIBS=[_common, 'json11', 'zmq', 'pthread'])
|
|
|
|
# Cython bindings
|
|
params_python = envCython.Program('params_pyx.so', 'params_pyx.pyx', LIBS=envCython['LIBS'] + [_common, 'zmq', 'json11'])
|
|
|
|
SConscript([
|
|
'transformations/SConscript',
|
|
])
|
|
|
|
Import('transformations_python')
|
|
common_python = [params_python, transformations_python]
|
|
|
|
Export('common_python')
|