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
Test: Compiles with accompanying changes.

Change-Id: I6098e63f179ac81096fa4775cc11e59e87a962c9
9 files changed
tree: 58d61f075d8ac6d9de291cb03621c7eae1ca8c2e
  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