update_engine: Migrate build system to gyp.
This change migrates the SConstruct file to the platform2 gyp
infrastructure without changing the way UE is compiled. The
code is still compiled as a single static library shared
between delta_generator, update_engine and update_engine_client.
This patch adds two generic .gypi rules to generate bindings for
DBus glib and public keys using openssl.
update_engine_unittests requires to run the openssl version from the
board and not the one on the host. This changes does that by using
SYSROOT when possible.
BUG=chromium:393293
TEST=emerge-link update_engine; sudo emerge update_engine
TEST=cros_workon_make --reconf --test update_engine
TEST=cbuildbot link-release amd64-generic-full x86-generic-full
CQ-DEPEND=CL:207716
Change-Id: Ieb9e1cded41db4d5b2908763c442f0ce5bf553de
Reviewed-on: https://chromium-review.googlesource.com/207709
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
6 files changed