[Android] strip memdump and ps_ext tools.

This change adds a strip step to the memdump and ps_ext gyp targets
and makes them more adb push friendly.

BUG=340294

Review URL: https://codereview.chromium.org/153883004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250411 0039d316-1c4b-4281-b951-d872f2087c98
gin: Only use primitive types for creating function templates

Otherwise, the function template will keep the context alive it was
created in.

BUG=342272
R=dcarney@chromium.org,aa@chromium.org,haraken@chromium.org

Review URL: https://codereview.chromium.org/141143012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250412 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250411
SVN changes up to revision 250412
MSan: temporarily blacklist one more function.

BUG=178409
TBR=eugenis@chromium.org

Review URL: https://codereview.chromium.org/143403010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250413 0039d316-1c4b-4281-b951-d872f2087c98
Better clobbering of instrumented libraries.

Delete the pre-existing source tree of an instrumented library before building
it. With this change we'll no longer fail trying to apply a patch to an already
patched tree.

BUG=313751
TBR=glider@chromium.org

Review URL: https://codereview.chromium.org/148493014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250414 0039d316-1c4b-4281-b951-d872f2087c98
Use endianness detection from build/build_config.h

The file build/build_config.h already do the endianness detection
based on the cpu, so remove duplication by directly using the macro
ARCH_CPU_{LITTLE,BIG}_ENDIAN to detect endiannes.

This is required to fix the compilation to arm64 for iOS as it does
not define the ARCH_CPU_ARMEL macro (the instruction set is not
compatible between armv7 and arm64).

BUG=314720
R=wtc@chromium.org

Review URL: https://codereview.chromium.org/135123015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250415 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250415