mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
replay: build on devices (#22632)
* there is no QThread::create on device * add files to files_common * modify SConscript * no memory_resouce on device * #define HAS_MEMORY_RESOURCE * fix hangs on shutdown * build on device with the --extra flag * delete later * setup -> extras Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: d70e49dca5687c3a26d4b67a7a3dbf04c224e04f
This commit is contained in:
@@ -61,13 +61,13 @@ qt_env.Program("_ui", qt_src + [asset_obj], LIBS=qt_libs)
|
||||
|
||||
|
||||
# setup and factory resetter
|
||||
if arch != 'aarch64' and GetOption('setup'):
|
||||
if arch != 'aarch64' and GetOption('extras'):
|
||||
qt_env.Program("qt/setup/reset", ["qt/setup/reset.cc"], LIBS=qt_libs)
|
||||
qt_env.Program("qt/setup/setup", ["qt/setup/setup.cc", asset_obj],
|
||||
LIBS=qt_libs + ['curl', 'common', 'json11'])
|
||||
|
||||
|
||||
if GetOption('setup'):
|
||||
if GetOption('extras'):
|
||||
# buidl updater UI
|
||||
qt_env.Program("qt/setup/updater", ["qt/setup/updater.cc", asset_obj], LIBS=qt_libs)
|
||||
|
||||
@@ -107,7 +107,7 @@ if GetOption('setup'):
|
||||
|
||||
|
||||
# build headless replay
|
||||
if arch in ['x86_64', 'Darwin'] and os.path.exists(Dir("#tools/").get_abspath()):
|
||||
if arch in ['x86_64', 'Darwin'] or GetOption('extras'):
|
||||
qt_env['CXXFLAGS'] += ["-Wno-deprecated-declarations"]
|
||||
|
||||
replay_lib_src = ["replay/replay.cc", "replay/camera.cc", "replay/logreader.cc", "replay/framereader.cc", "replay/route.cc", "replay/util.cc"]
|
||||
|
||||
Reference in New Issue
Block a user