Upstreaming diffs in os_compat_android.cc

The original change description is:
Add mkdtemp() implementation.
The Android C library doesn't expose mkdtemp() through the NDK
(even though it implements it internally starting with ICS).
To avoid any problem in the future and keep everything strictly
compliant, provide our own implementation of the function.

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10696114

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146813 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 4870fe56f847b6f4c1508313a39ae291f6265e9f
4 files changed
tree: f66ef11d3491a4ce6e54ac37775ec2febbee44d2
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/