Enable host multilib for ART testing.

Change-Id: I2e7a2a6e5fcc8621ad147e6bbe6069409121ad3c
Merge "Enable host multilib for ART testing."
Disable textrel warnings for build temporarily.

Bug: 14296739
Change-Id: Ic87a8b58652eb98abd2d79a4f21bab93b5fa0648
Merge "Disable textrel warnings for build temporarily."
Merge "Fix text relocation for x86"
Fix text relocation for x86

Cherry-pick of 6206682a35760eb6ddb25172df2ae9f03d12e594 from OpenSSL
repository.

Bug: 14296739
Change-Id: I629d2494c67570b78ba5a57ed6f6c556233d08e4
Revert "Disable textrel warnings for build temporarily."

This reverts commit 56d8f2d64607e86b1f3e82766fa6057a042e3d85.

Actual relocation fixed in commit fecc7e3af4ba5e6e5f4b6cd419c385daf04800b6

Change-Id: I857723cbfeb40507fb70775ffe31f3cbb26659bd
Merge "Revert "Disable textrel warnings for build temporarily.""
Fix log debugging includes

During makefile refactoring, these seem to have been lost.

Change-Id: I41a8187ee7bbc42119d4d4f2c7a7c5c4d01aa00c
Merge "Fix log debugging includes"
Retry sending record split fragment when SSL write fails

When the write size was exactly SSL3_RT_MAX_PLAIN_LENGTH+1 and record
splitting is needed, an extra byte would be added to the max size of the
message to be written. This would cause the requested size to not exceed
the max. If the SSL_WANT_WRITE error were returned, the next packet
would not get the extra byte added to the max packet size since
record_split_done is set. Since a different set of arguments
(SSL3_RT_MAX_PLAIN_LENGTH+1 vs SSL3_RT_MAX_PLAIN_LENGTH) would be passed
to do_ssl3_write, it would get an "SSL3_WRITE_PENDING:bad write retry"
error.

To avoid a failure in the opposite direction, the max variable increment
is removed as well. This can happen when SSL_MODE_ENABLE_PARTIAL_WRITE
is not enabled, the call to ssl3_write_bytes contains, e.g., buffer of
2*SSL3_RT_MAX_PLAIN_LENGTH where the first call into do_ssl3_write
succeeds writing the first SSL3_RT_MAX_PLAIN_LENGTH bytes, but the
writing the second SSL3_RT_MAX_PLAIN_LENGTH bytes fails. This means the
first time the the second section of SSL3_RT_MAX_PLAIN_LENGTH bytes has
called do_ssl3_write with "max" bytes, but next call to ssl3_write_bytes
in turn calls into do_ssl3_write with "max+1" bytes.

Bug: 16482963
Change-Id: I28a515a970d535a7fbba9c0ba325c9aed633d1cc
Merge "Retry sending record split fragment when SSL write fails"
Add flavor.mk to indicate that this is OpenSSL.

This makefile can be included from makefiles in other directories in
order to handle the transition to BoringSSL.

Change-Id: Iec4725ccd9bded8fcadee25474a29bdc8005fb41
Merge "Add flavor.mk to indicate that this is OpenSSL."
Add -no-integrated-as at local level.

Later we will enable integrated-as as default at the global level.

BUG: 17820427

Change-Id: I543492dabbdbe77ba1c9346880e5907314669e1a
Merge "Add -no-integrated-as at local level."