Fix ART build with host gcc >=4.7

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Use HOST_CC for host

Signed-off-by: Paul Beeler <sparksco@gmail.com>
New header fix for gcc 4.7 build.

Change-Id: I09b49368c19d3bfb3a81d8e23b0dacf596d3bda7
Include <sys/resource.h> for rlimit.

Change-Id: I0e487f8191e284052d8b82eb942d723147d780a1

Conflicts:
	runtime/native/dalvik_system_ZygoteHooks.cc
Move disassembler out of runtime.

Bug: 9877500.
Change-Id: Ica6d9f5ecfd20c86e5230a2213827bd78cd29a29
Change thread.h to thread-inl.h to pick up missing Thread::Currnet for debug build in master

Change-Id: I56a4dd18ec1c212f9dbb73b14c0c0623b23c87bd
Fix NewLocalRef, NewGlobalRef to handle cleared weak globals.

We were not checking for null after decoding the reference, this
meant that we incorrectly created null weak global references instead
of returning null.

Issue: 63929
Change-Id: I9159682e6edad8f415ef8144fc13b9aedd2cceb4
FIX LINKER ERRORS FOR pthread for real this time

Signed-off-by: Paul Beeler <sparksco@gmail.com>