Qt Offroad stats (#19498)

* probably broke a lot, need the commit though

* finally works

* make it work...

* ...

* kind of works

* better styling

* all should work

* tiny cleanup

* temp

* looks nicer

* create JWT in C++

* kilometers -> km

* use correct free methods

* dont put code in assert statement

* Build JWT payload dynamically

* get dongle id once

* include cleanup

* Remove qDebug

* Update drive_stats.cc

Github is a nice editor :)

* swap week and all and fix sconscript

* install openssl

* openssl include dirs on mac

* is this where openssl is?

* It's here

* small cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
This commit is contained in:
grekiki
2020-12-18 13:29:20 +01:00
committed by GitHub
parent 00620575d9
commit 5b26c97141
10 changed files with 225 additions and 24 deletions
+2 -1
View File
@@ -89,10 +89,12 @@ else:
"#cereal",
"#selfdrive/common",
"/usr/local/lib",
"/usr/local/opt/openssl/lib",
"/System/Library/Frameworks/OpenGL.framework/Libraries",
]
cflags += ["-DGL_SILENCE_DEPRECATION"]
cxxflags += ["-DGL_SILENCE_DEPRECATION"]
cpppath += ["/usr/local/opt/openssl/include"]
else:
libpath = [
"#phonelibs/snpe/x86_64-linux-clang",
@@ -296,4 +298,3 @@ if arch != "Darwin":
if arch == "x86_64":
SConscript(['tools/lib/index_log/SConscript'])