update_engine: migrate the package to use GN.

TEST=USE="asan fuzzer" FEATURES=test emerge-$BOARD update_engine   # BOARD=amd64-generic
TEST=FEATURES=test emerge-$BOARD update_engine
TEST=USE="test binder dbus hwid_override chrome_kiosk_app chrome_network_proxy mtd dlc" ebuild-$BOARD ~/trunk/src/third_party/chromiumos-overlay/chromeos-base/update_engine/update_engine-9999.ebuild clean compile
BUG=chromium:953642
Cq-Depend:chromium:1608971

Change-Id: I3de939193797858006d64c1ddbf3fc8e6f48b1eb
Reviewed-on: https://chromium-review.googlesource.com/1608969
Commit-Ready: Keigo Oka <oka@chromium.org>
Tested-by: Keigo Oka <oka@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Keigo Oka <oka@chromium.org>
4 files changed
tree: dbed037704f1e1a2a63d96dae3924d3c3a2a8b0c
  1. .clang-format
  2. .gitignore
  3. Android.bp
  4. BUILD.gn
  5. COMMIT-QUEUE.ini
  6. CPPLINT.cfg
  7. MODULE_LICENSE_APACHE2
  8. NOTICE
  9. OWNERS
  10. PRESUBMIT.cfg
  11. PREUPLOAD.cfg
  12. UpdateEngine.conf
  13. binder_bindings/
  14. binder_service_android.cc
  15. binder_service_android.h
  16. binder_service_brillo.cc
  17. binder_service_brillo.h
  18. boot_control_android.cc
  19. boot_control_android.h
  20. boot_control_android_unittest.cc
  21. boot_control_chromeos.cc
  22. boot_control_chromeos.h
  23. boot_control_chromeos_unittest.cc
  24. certificate_checker.cc
  25. certificate_checker.h
  26. certificate_checker_unittest.cc
  27. chrome_browser_proxy_resolver.cc
  28. chrome_browser_proxy_resolver.h
  29. client_library/
  30. common/
  31. common_service.cc
  32. common_service.h
  33. common_service_unittest.cc
  34. connection_manager.cc
  35. connection_manager.h
  36. connection_manager_android.cc
  37. connection_manager_android.h
  38. connection_manager_interface.h
  39. connection_manager_unittest.cc
  40. connection_utils.cc
  41. connection_utils.h
  42. daemon.cc
  43. daemon.h
  44. daemon_state_android.cc
  45. daemon_state_android.h
  46. daemon_state_interface.h
  47. dbus_bindings/
  48. dbus_connection.cc
  49. dbus_connection.h
  50. dbus_service.cc
  51. dbus_service.h
  52. dbus_test_utils.h
  53. dlcservice_chromeos.cc
  54. dlcservice_chromeos.h
  55. dynamic_partition_control_android.cc
  56. dynamic_partition_control_android.h
  57. dynamic_partition_control_interface.h
  58. fake_file_writer.h
  59. fake_p2p_manager.h
  60. fake_p2p_manager_configuration.h
  61. fake_shill_proxy.cc
  62. fake_shill_proxy.h
  63. fake_system_state.cc
  64. fake_system_state.h
  65. fuzz/
  66. generate_pc_file.sh
  67. hardware_android.cc
  68. hardware_android.h
  69. hardware_chromeos.cc
  70. hardware_chromeos.h
  71. hardware_chromeos_unittest.cc
  72. image_properties.h
  73. image_properties_android.cc
  74. image_properties_android_unittest.cc
  75. image_properties_chromeos.cc
  76. image_properties_chromeos_unittest.cc
  77. init/
  78. libcurl_http_fetcher.cc
  79. libcurl_http_fetcher.h
  80. libupdate_engine-client-test.pc.in
  81. libupdate_engine-client.pc.in
  82. local_coverage_rate
  83. main.cc
  84. metrics_constants.h
  85. metrics_reporter_android.cc
  86. metrics_reporter_android.h
  87. metrics_reporter_interface.h
  88. metrics_reporter_omaha.cc
  89. metrics_reporter_omaha.h
  90. metrics_reporter_omaha_unittest.cc
  91. metrics_reporter_stub.cc
  92. metrics_reporter_stub.h
  93. metrics_utils.cc
  94. metrics_utils.h
  95. metrics_utils_unittest.cc
  96. mock_boot_control_hal.h
  97. mock_certificate_checker.h
  98. mock_connection_manager.h
  99. mock_dynamic_partition_control.h
  100. mock_file_writer.h
  101. mock_metrics_reporter.h
  102. mock_omaha_request_params.h
  103. mock_p2p_manager.h
  104. mock_payload_state.h
  105. mock_power_manager.h
  106. mock_service_observer.h
  107. mock_update_attempter.h
  108. network_selector.h
  109. network_selector_android.cc
  110. network_selector_android.h
  111. network_selector_interface.h
  112. network_selector_stub.cc
  113. network_selector_stub.h
  114. omaha_request_action.cc
  115. omaha_request_action.h
  116. omaha_request_action_fuzzer.cc
  117. omaha_request_action_unittest.cc
  118. omaha_request_builder_xml.cc
  119. omaha_request_builder_xml.h
  120. omaha_request_builder_xml_unittest.cc
  121. omaha_request_params.cc
  122. omaha_request_params.h
  123. omaha_request_params_unittest.cc
  124. omaha_response.h
  125. omaha_response_handler_action.cc
  126. omaha_response_handler_action.h
  127. omaha_response_handler_action_unittest.cc
  128. omaha_utils.cc
  129. omaha_utils.h
  130. omaha_utils_unittest.cc
  131. p2p_manager.cc
  132. p2p_manager.h
  133. p2p_manager_unittest.cc
  134. parcelable_update_engine_status.cc
  135. parcelable_update_engine_status.h
  136. parcelable_update_engine_status_unittest.cc
  137. payload_consumer/
  138. payload_generator/
  139. payload_state.cc
  140. payload_state.h
  141. payload_state_interface.h
  142. payload_state_unittest.cc
  143. power_manager_android.cc
  144. power_manager_android.h
  145. power_manager_chromeos.cc
  146. power_manager_chromeos.h
  147. power_manager_interface.h
  148. pylintrc
  149. real_system_state.cc
  150. real_system_state.h
  151. run_unittests
  152. sample_images/
  153. sample_omaha_v3_response.xml
  154. scripts/
  155. service_delegate_android_interface.h
  156. service_observer_interface.h
  157. shill_proxy.cc
  158. shill_proxy.h
  159. shill_proxy_interface.h
  160. sideload_main.cc
  161. system_state.h
  162. tar_bunzip2.gni
  163. test_http_server.cc
  164. test_subprocess.cc
  165. testrunner.cc
  166. unittest_key.pem
  167. unittest_key2.pem
  168. update_attempter.cc
  169. update_attempter.h
  170. update_attempter_android.cc
  171. update_attempter_android.h
  172. update_attempter_android_unittest.cc
  173. update_attempter_unittest.cc
  174. update_boot_flags_action.cc
  175. update_boot_flags_action.h
  176. update_boot_flags_action_unittest.cc
  177. update_engine-client.gyp
  178. update_engine.conf
  179. update_engine.rc
  180. update_engine/
  181. update_engine_client.cc
  182. update_engine_client_android.cc
  183. update_manager/
  184. update_metadata.proto
  185. update_payload_key/
  186. update_status_utils.cc
  187. update_status_utils.h