Run zipalign after classes.dex is removed from the apk

If LOCAL_DEX_PREOPT is enabled.

Change-Id: Ie2a706fbb77bc31c9fdb01c8435819c5de97ea28
CTS: work around ClassLoader limitation

Trying to use reflection on classes loaded from a different ClassLoader
than the system one caused SecurityException since you can't load
certain packages.

Adding them to the boot classpath forces them to be in the same
ClassLoader.

Change-Id: Id518ab0a99da6defac525c0ad430a63f600ce85f
Support gdb wrappers

Use gdbwrapper() for launching gdb.  This can be redefined to launch
one of the many gdb wrappers instead.

Example:
function gdbwrapper()
{
    ddd --debugger $ANDROID_TOOLCHAIN/$GDB -x "$@"
}

Change-Id: I3cce8a2ca1bae6d531e2388a93cb52075b21a42c
Duplicate libgcc.a in front of *so

Also see 6c7bc550adb917157a9f53ebf8898110e37294b2

Change-Id: Iade6cd6b40cd4840a148098e1d8fc7a0c97e2f66
Add OkHttp to the platform.

Change-Id: I18716683632249573295cb2eb5229a1188ed0f17
Use += to append to target-specific PRIVATE_CLEAN_FILES

Instead of incorrectly including global variable PRIVATE_CLEAN_FILES

Change-Id: I9b5e12448dad5001de051a566d8a94a89b20ecac
Don't install all host modules by default.

Instead we should explicitly set up the dependency, if the module will
be used in the build process; Use LOCAL_MODULE_TAGS with eng, debug or
tests if the module is for testing; or add to PRODUCT_PACKAGES if it's
required by a product.

Change-Id: Ic26319c26c1166bc1062dfbcfb4e006af185249a
We have to use := instead of +=

If we use +=, the right side may be deferred to evaluate,
if that target-specific variable is not defined yet.
That's a mistke.

Change-Id: I1635ee4791473f407866e010d612948c02cdebf6
Add a "nano" option to LOCAL_PROTOC_OPTIMIZE_TYPE.

Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
Track change to JSSE provider

Change-Id: I130b137f8ba62a3cf1b915dcf6a0cf3dc25043eb