BootControlStub: New class used if CreateBootControl() fail.
This can happen if running update_engine on Brillo in the emulator or
other device lacking a boot_control HAL implementation. With this
change, the update_engine process continues to run but updates won't
work.
Bug: 25012817
Change-Id: I03d516c5e9a53c893c376885cd48068cd359e902
Test: update_engine no longer crashes on brilloemulator_arm.
diff --git a/update_engine.gyp b/update_engine.gyp
index acd6d19..5a87790 100644
--- a/update_engine.gyp
+++ b/update_engine.gyp
@@ -159,6 +159,7 @@
'sources': [
'action_processor.cc',
'boot_control_chromeos.cc',
+ 'boot_control_stub.cc',
'bzip.cc',
'bzip_extent_writer.cc',
'certificate_checker.cc',