mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 15:53:57 +08:00
* remove raw logger
* no raw_clips
* only remove raw clips
* cleanup
old-commit-hash: 56146d84ce
19 lines
466 B
Python
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)
|