AArch64: Error checking of temporary file handling

Failures in the posix::FOpen call in the String GetCapturedString() method
of the CapturedStream class were ignored: the file variable was passed to
ReadEntireFile(file), causing a segmentation violation without indication
as to cause. In this commit GTEST_CHECK_ is now used to provide an indication
of the reason for failure.

Change-Id: Id419f4fa1f05b5c3ca09a19551747bb5f0ee635f
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Merge "AArch64: Error checking of temporary file handling"
Upgrade to gtest 1.7.0.

This is part of an attempt to get us back in sync with upstream. They
currently have Android support, but it's different from what we've got.

Change-Id: I2749ef426a441c0573fbaa5e0e50fd627df75551
Merge "Upgrade to gtest 1.7.0."
Clean up a little after the gtest 1.7.0 upgrade.

Change-Id: I320c7159131cb782ede1a3c5cd539b956f77f521
Merge "Clean up a little after the gtest 1.7.0 upgrade."
Clean up the gtest tests.

There are more tests now, and a lot of the old ones are conveniently gathered
into a single .cc file.

Change-Id: If0735979ab64ccd082d2b4a3af78e0eab0d2c0d5
Merge "Clean up the gtest tests."
Build gtest with NDK 9 for all architectures.

That gives us real regular expressions on all architectures, which lets us
pass more of gtest's own unit tests.

Change-Id: I05f0232ba9cac485018e3764fa7e8910d19bd8f3
Merge "Build gtest with NDK 9 for all architectures."
Creates gtest libs linked against libc++

Change-Id: I7d71e1aac072258e62eba7b2bfba9f1ff6f98c82
Merge "Creates gtest libs linked against libc++"
Don't build libc++ libs for ub branches

Change-Id: Ib73f6d38ed7d2bcb759a0f3e4ee44010b552fddc
Merge "Don't build libc++ libs for ub branches"
Fixes gtest_libc++ on Mac by moving to clang

The version of g++ that was being used on Mac was unable to properly resolve
some of the template functions.

Change-Id: Ieab2c0938638ee0438602e49ac171e58ada2902b
Merge "Fixes gtest_libc++ on Mac by moving to clang"
Add LOCAL_MULTILIB := both for host targets.

Change-Id: Iaded56bc87bdc59058b4d7064eb97fc321d497a0
Merge "Add LOCAL_MULTILIB := both for host targets."