GN: Harmonize ARM compiler settings with GYP
commitcc3a331e1bc91166a5d51fc1fa44fba49d1fb461
authormcgrathr <mcgrathr@chromium.org>
Tue, 22 Sep 2015 03:25:43 +0000 (21 20:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Sep 2015 03:26:20 +0000 (22 03:26 +0000)
tree5a34c1f250272a6229b6f6dcd0fd2749b123d8d6
parentc40e2eda4b7656f997e2255282098b0abba31224
GN: Harmonize ARM compiler settings with GYP

This changes various defaults about the ARM compiler setup so
that GN matches what GYP does today:
* Prefix for cross tools is arm-linux-gnueabihf- not arm-linux-gnueabi-
* arm_float_abi defaults to hard for non-Android ARMv7
* Non-CrOS ARM builds use the ARM sysroot by default
  (the one installed by install-build-deps.sh --arm)
* Define a clang_arm toolchain, pass it the -no-integrated and
  -target arm-linux-gnueabihf and switches as GYP does

R=dpranke@chromium.org, sbc@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#350100}
build/config/arm.gni
build/config/compiler/BUILD.gn
build/config/sysroot.gni
build/toolchain/linux/BUILD.gn