mv root dirs into nested openpilot (#38219)

This commit is contained in:
Adeeb Shihadeh
2026-06-21 18:49:46 -07:00
committed by GitHub
parent 20e0f21b58
commit 5edc0bd89d
1062 changed files with 15 additions and 19 deletions
+23
View File
@@ -0,0 +1,23 @@
Import('env', 'envCython')
common_libs = [
'params.cc',
'swaglog.cc',
'util.cc',
'ratekeeper.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'])
common_python = [params_python]
Export('common_python')