Use fdatasync() to improve performance.

Linux has a working fdatasync() so we should use it!
This change alone improves performance by around 20% by reducing
the number of synchronous I/O writes of irrelevant metadata
changes.

Change-Id: Iebe0c32a7e018ec0ced2347b7d62b2b7dc5aa376
2 files changed
tree: 03e1c3c261d71b1f0c18a0e785cbb311de8ab0c0
  1. android/
  2. dist/
  3. CleanSpec.mk
  4. ThirdPartyProject.prop