Files
sunnypilot/selfdrive/loggerd/SConscript
Adeeb Shihadeh 56146d84ce remove raw logger (#2719)
* remove raw logger

* no raw_clips

* only remove raw clips

* cleanup
2020-12-08 15:23:06 -08:00

19 lines
466 B
Python

Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc')
src = ['loggerd.cc', 'logger.cc']
libs = ['zmq', 'capnp', 'kj', 'z',
'avformat', 'avcodec', 'swscale', 'avutil',
'yuv', 'bz2', common, cereal, messaging, visionipc]
if arch in ["aarch64", "larch64"]:
src += ['encoder.c']
libs += ['OmxVenc', 'OmxCore']
if arch == "aarch64":
libs += ['cutils']
else:
libs += ['pthread']
else:
libs += ['pthread']
env.Program(src, LIBS=libs)