mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 06:33:57 +08:00
* sentinel WIP * logger is now a cc, not a c * simpler code doesn't touch loggerd.cc * oops, double lock. and logreader is nicer
13 lines
371 B
Python
13 lines
371 B
Python
Import('env', 'arch', 'messaging', 'common', 'visionipc')
|
|
|
|
src = ['loggerd.cc', 'logger.cc']
|
|
libs = ['zmq', 'czmq', 'capnp', 'kj', 'z',
|
|
'avformat', 'avcodec', 'swscale', 'avutil',
|
|
'yuv', 'bz2', common, 'json', messaging, visionipc]
|
|
|
|
if arch == "aarch64":
|
|
src += ['encoder.c', 'raw_logger.cc']
|
|
libs += ['OmxVenc', 'OmxCore', 'cutils']
|
|
|
|
env.Program(src, LIBS=libs)
|