Replace ScopedFd with unique_fd

aidl-cpp will generate code using unique_fd in the near future.

While here, also make the binder intermediates library depend on
libbinder in order to obtain proper header include paths.

Bug: 27804373
Change-Id: Ia36dba111f3ff824d34612dedcb202612ed4ba35
Test: Compiles with accompanying changes.
9 files changed
tree: 93a655d4fed18fe3e5cc9554eef1dccc63e02f85
  1. client/
  2. common/
  3. daemon/
  4. example/
  5. hal/
  6. include/
  7. ipc/
  8. Android.mk
  9. MODULE_LICENSE_APACHE2
  10. NOTICE
  11. README