update_engine: Remove GPIO support.
We have not used GPIO since Jan 2013. This CL removes the GPIO handling code.
As a side effect, it also removes dependency on libudev.
BUG=chromium:221725
CQ-DEPEND=CL:199683
TEST=unittest
TEST=AU end2end test on real device from older version to a version that
has CL applied, then from that to another newer version (need not have
this CL applied).
Change-Id: I4352488ec360b44a44b137c40a3ae4ec35c6fe9d
Reviewed-on: https://chromium-review.googlesource.com/199626
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Nam Nguyen <namnguyen@chromium.org>
Tested-by: Nam Nguyen <namnguyen@chromium.org>
diff --git a/main.cc b/main.cc
index 9d2a869..ccf4efa 100644
--- a/main.cc
+++ b/main.cc
@@ -175,9 +175,7 @@
GMainLoop* loop = g_main_loop_new(g_main_context_default(), FALSE);
chromeos_update_engine::RealSystemState real_system_state;
- // TODO(garnold) s/false/true/ once we decide to activate actual GPIO-based
- // protocol for testing of MP-signed images (chromium-os:25400).
- LOG_IF(ERROR, !real_system_state.Initialize(false))
+ LOG_IF(ERROR, !real_system_state.Initialize())
<< "Failed to initialize system state.";
chromeos_update_engine::UpdateAttempter *update_attempter =
real_system_state.update_attempter();