android: export libcamera_metadata and libsync to sysroot
The patch makes the following modifications to the build tools in order
to export android libraries to sysroot:
1. Remove source and header files which are now provided by libcamera_metadata
or libsync.
2. Make android/ an independent build root. Originally it was a submodule
of arc-camera/. This is to strip dependency on libchrome. The android
libraries do not require libchrome to build.
3. Update the module.mk of hal_adapter/, usb/hal/, and camera3_test/
accordingly so that they link to the exported libcamera_metadata and
libsync.
BUG=b:36919374
CQ-DEPEND=CL:475313
TEST=emerge-<board> arc-camear3|arc-camera3-hal-usb|arc-camera3-test
Change-Id: Ic0fcfaf79b38d5417b9d1c859553f82d2fd28353
Reviewed-on: https://chromium-review.googlesource.com/484123
Commit-Ready: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Ricky Liang <jcliang@chromium.org>
19 files changed