Remove usage of pthread_cond_timedwait_monotonic_np.

Replaced with the posix compliant pthread_condattr_setclock.
Unfortunately, mac OS doesn't support CLOCK_MONOTONIC
or (pthread_condattr_setclock) so we fall back to using
the "default" pthread_condattr_t value like we did earlier.

Change-Id: I23475ef0d4e392d9e14402c6b5f8f658c5ed4063
Merge "Remove usage of pthread_cond_timedwait_monotonic_np."
Add native binding for isDexOptNeededInternal.

Dalvik has no profiler, so we can safely ignore the
"defer" argument.

Keeps dalvik functional on master.

Change-Id: I2ace9a215e7ff471294927aa870e55cf7c0327b1
Merge "Add native binding for isDexOptNeededInternal."
Transform incorrect invokevirtual ops to invokedirect.

bug: 12370565

Change-Id: I75de311912d3e620f95fbac712e799e64622e4ab
Merge "Transform incorrect invokevirtual ops to invokedirect."
Remove dx/tests/120-disable-extend-ops

Support for the target-api flag was removed in 2011.

Change-Id: Id50c53f759d4e3a59f550dbeb6e733b68df58dd3
Merge "Remove dx/tests/120-disable-extend-ops"
Script is using function(), which is bash specific.

Change-Id: I925d42d10e471fa25ca3e924b1db1db6911b5641
Changed dvmDexCacheStatus to check for odex file first.

This prevents the generation of a new dexfile when an odex file already
exists when switching between Art and Dalvik.

(cherry picked from commit 36e356c96640775f0a3f167bd2426ea0f0093b8b)

Change-Id: Ieafdca8453f70c96edb787b5a3a3ac7c7aeea021
Merge "Changed dvmDexCacheStatus to check for odex file first."
Merge "Script is using function(), which is bash specific."
dalvik: let 32-bit dalvik build on multilib targets

Set LOCAL_32_BIT_ONLY for all target modules
Use LOCAL_LDFLAGS_x86 instead of ifeq ($(TARGET_ARCH),x86)
Set dvm_arch to TARGET_2ND_ARCH instead of TARGET_ARCH on 64-bit
targets

This will allow "make checkbuild" to succeed on 64-bit platforms.

Change-Id: Idd51dda26b54855c0c8640f8fcfbf4274baf8845
Merge "dalvik: let 32-bit dalvik build on multilib targets"
dalvik: fix mips build

Fix typo in rule for libdvm_sv.  LOCAL_MODULE_UNSUPPORTED_ARCH
should be LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH.

Change-Id: Iada67cc93560938d2a82a320cb88b7560e7db1b4
Merge "dalvik: fix mips build"
Remove Zygote.fork

Currently unused. Note that ART does not have a native
definition of this function.

Change-Id: If75830ca231db7a597dfe726fb0968828fca9593
Merge "Remove Zygote.fork"
Move zygote initialization code to the framework.

The framework class com.android.internal.os.ZygoteInit
will call back to the runtime before / after the fork, so
that it can perform runtime specific bringup / teardown.

Change-Id: I9730e12da8b22f03397658b1bddc7fd73f4fbc7d
Merge "Move zygote initialization code to the framework."