more apk cleanup (#20646)

* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 58dabdda00
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 8c2bec03af
commit 89720ef6ce
  1. 6
      SConstruct
  2. 2
      cereal
  3. 3
      selfdrive/debug/cpu_usage_stat.py
  4. 3
      selfdrive/manager/manager.py

@ -330,12 +330,8 @@ if GetOption("clazy"):
qt_env['CXX'] = 'clazy'
qt_env['ENV']['CLAZY_IGNORE_DIRS'] = qt_dirs[0]
qt_env['ENV']['CLAZY_CHECKS'] = ','.join(checks)
Export('qt_env')
# still needed for apks
zmq = 'zmq'
Export('env', 'arch', 'real_arch', 'zmq', 'SHARED', 'USE_WEBCAM', 'QCOM_REPLAY')
Export('env', 'qt_env', 'arch', 'real_arch', 'SHARED', 'USE_WEBCAM', 'QCOM_REPLAY')
# cereal and messaging are shared with the system
SConscript(['cereal/SConscript'])

@ -1 +1 @@
Subproject commit c803eddb33c05ac8e8704df90bf854e3dda600b3
Subproject commit 7d304cdd296cb90bc15ded22bc50556780ccef51

@ -31,9 +31,6 @@ PRINT_INTERVAL = 5
SLEEP_INTERVAL = 0.2
monitored_proc_names = [
# offroad APK
'ai.comma.plus.offroad',
# android procs
'SurfaceFlinger', 'sensors.qcom'
] + list(managed_processes.keys())

@ -133,6 +133,7 @@ def manager_thread():
msg.managerState.processes = [p.get_process_state_msg() for p in managed_processes.values()]
pm.send('managerState', msg)
# TODO: let UI handle this
# Exit main loop when uninstall is needed
if params.get_bool("DoUninstall"):
break
@ -143,7 +144,7 @@ def main():
manager_init()
# Start ui early so prepare can happen in the background
# Start UI early so prepare can happen in the background
if not prepare_only:
managed_processes['ui'].start()

Loading…
Cancel
Save