Move hardware and boot_control implementation to libupdate_engine.

The implementations of the BootControlInterface and HardwareInterface
are specific to the platform and use case. The delta_generator uses the
DeltaPerformer in the libpayload_consumer to apply a payload to a set
of partitions defined as local files, for example.

This patch move the platform implementations, not available when
building for the host back to the libupdate_engine.

Bug: 24619596
TEST=mma

Change-Id: I16ab06c2e53dfd046e693bdb7310ec26a2d69054
10 files changed
tree: 748be77673163ad977d171a19e567cfd1681ac93
  1. binder_bindings/
  2. client_library/
  3. common/
  4. dbus_bindings/
  5. include/
  6. init/
  7. payload_consumer/
  8. payload_generator/
  9. sample_images/
  10. update_manager/
  11. update_payload_key/
  12. .gitignore
  13. Android.mk
  14. binder_main.cc
  15. binder_service.cc
  16. binder_service.h
  17. boot_control_android.cc
  18. boot_control_android.h
  19. boot_control_chromeos.cc
  20. boot_control_chromeos.h
  21. chrome_browser_proxy_resolver.cc
  22. chrome_browser_proxy_resolver.h
  23. chrome_browser_proxy_resolver_unittest.cc
  24. connection_manager.cc
  25. connection_manager.h
  26. connection_manager_interface.h
  27. connection_manager_unittest.cc
  28. daemon.cc
  29. daemon.h
  30. dbus_service.cc
  31. dbus_service.h
  32. dbus_service_unittest.cc
  33. dbus_test_utils.h
  34. fake_file_writer.h
  35. fake_p2p_manager.h
  36. fake_p2p_manager_configuration.h
  37. fake_shill_proxy.cc
  38. fake_shill_proxy.h
  39. fake_system_state.cc
  40. fake_system_state.h
  41. generate_pc_file.sh
  42. hardware_android.cc
  43. hardware_android.h
  44. hardware_chromeos.cc
  45. hardware_chromeos.h
  46. image_properties.h
  47. image_properties_android.cc
  48. image_properties_chromeos.cc
  49. libcros_proxy.cc
  50. libcros_proxy.h
  51. libupdate_engine-client-test.pc.in
  52. libupdate_engine-client.pc.in
  53. local_coverage_rate
  54. main.cc
  55. metrics.cc
  56. metrics.h
  57. metrics_utils.cc
  58. metrics_utils.h
  59. metrics_utils_unittest.cc
  60. mock_action.h
  61. mock_action_processor.h
  62. mock_connection_manager.h
  63. mock_file_writer.h
  64. mock_omaha_request_params.h
  65. mock_p2p_manager.h
  66. mock_payload_state.h
  67. mock_update_attempter.h
  68. MODULE_LICENSE_APACHE2
  69. NOTICE
  70. omaha_request_action.cc
  71. omaha_request_action.h
  72. omaha_request_action_unittest.cc
  73. omaha_request_params.cc
  74. omaha_request_params.h
  75. omaha_request_params_unittest.cc
  76. omaha_response.h
  77. omaha_response_handler_action.cc
  78. omaha_response_handler_action.h
  79. omaha_response_handler_action_unittest.cc
  80. OWNERS
  81. p2p_manager.cc
  82. p2p_manager.h
  83. p2p_manager_unittest.cc
  84. payload_state.cc
  85. payload_state.h
  86. payload_state_interface.h
  87. payload_state_unittest.cc
  88. PRESUBMIT.cfg
  89. proxy_resolver.cc
  90. proxy_resolver.h
  91. real_system_state.cc
  92. real_system_state.h
  93. run_unittests
  94. sample_omaha_v3_response.xml
  95. shill_proxy.cc
  96. shill_proxy.h
  97. shill_proxy_interface.h
  98. system_state.h
  99. tar_bunzip2.gypi
  100. test_http_server.cc
  101. testrunner.cc
  102. unittest_key.pem
  103. unittest_key2.pem
  104. update_attempter.cc
  105. update_attempter.h
  106. update_attempter_unittest.cc
  107. update_engine-client.gyp
  108. update_engine.conf
  109. update_engine.gyp
  110. update_engine.rc
  111. update_engine_client.cc
  112. update_metadata.proto
  113. update_status_utils.cc
  114. update_status_utils.h
  115. UpdateEngine.conf
  116. WATCHLISTS