mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 14:43:57 +08:00
* too many if * unused * whitespace * key * sefldrive/car/* * no more gctx * lower * start abstracting common events * all cars * start small * all cars * reverse gear * wrongCarMode * wrongGear * espDisabled * steerUnvailable * make linter happy * c isn't used * fix esp_disabled in VW * update ref * more red * more cleanup * fix subaru * update ref
18 lines
657 B
Python
18 lines
657 B
Python
Import('env', 'arch', 'common', 'messaging', 'gpucommon', 'visionipc', 'cereal')
|
|
|
|
src = ['ui.cc', 'paint.cc', '#phonelibs/nanovg/nanovg.c']
|
|
libs = [common, 'zmq', 'czmq', 'capnp', 'capnp_c', 'm', cereal, messaging, gpucommon, visionipc]
|
|
|
|
if arch == "aarch64":
|
|
src += ['sound.cc', 'slplay.c']
|
|
libs += ['EGL', 'GLESv3', 'gnustl_shared', 'log', 'utils', 'gui', 'hardware', 'ui', 'CB', 'gsl', 'adreno_utils', 'OpenSLES', 'cutils', 'uuid', 'OpenCL']
|
|
linkflags = ['-Wl,-rpath=/system/lib64,-rpath=/system/comma/usr/lib']
|
|
else:
|
|
src += ['linux.cc']
|
|
libs += ['pthread', 'glfw']
|
|
linkflags = []
|
|
|
|
env.Program('_ui', src,
|
|
LINKFLAGS=linkflags,
|
|
LIBS=libs)
|