Fix the toolchain used to build the snapshots in GN.
authordpranke <dpranke@chromium.org>
Wed, 11 Mar 2015 21:55:41 +0000 (14:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Mar 2015 21:55:57 +0000 (21:55 +0000)
commitad5630db87be2da6865ff17989b455791b6c152d
tree15195d7b5f0350ac91b0ae649d07267e17e8924a
parent6d0677d845c47ab9fa297de61d0e3d8e5480a02a
Fix the toolchain used to build the snapshots in GN.

We need the v8 snapshot to be compiled on the host cpu (the
machine doing the build), but using generated code that has the
same pointer size as the target_arch; i.e., for 32-bit arm builds,
we need to use a 32-bit x86 host binary, not a 64-bit host binary.

The easiest way to ensure that this happens is to just specify
a custom toolchain in GN to use to build the snapshot.

R=jochen@chromium.org, cjhopman@chromium.org
BUG=465456, 395249
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#27142}
BUILD.gn