|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by Michael Achenbach Modified:
4 years, 5 months ago CC:
chromium-reviews, ulan, vogelheim Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptiongn: Default to softfp for V8 arm simulator builds
V8 stand-alone arm simulator builds defaulted to softfp in
GYP before.
This prepares to switch v8 arm simulators to GN:
https://codereview.chromium.org/2172193002/
BUG=chromium:474921
Committed: https://crrev.com/bbc92f86178b7f65237bfc19d32caefa11caeba4
Cr-Commit-Position: refs/heads/master@{#407518}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 17 (10 generated)
Description was changed from ========== gn: Default to softfp for V8 arm simulator builds BUG= ========== to ========== gn: Default to softfp for V8 arm simulator builds BUG=chromium:474921 ==========
machenbach@chromium.org changed reviewers: + dpranke@chromium.org, jochen@chromium.org
Description was changed from ========== gn: Default to softfp for V8 arm simulator builds BUG=chromium:474921 ========== to ========== gn: Default to softfp for V8 arm simulator builds V8 stand-alone arm simulator builds defaulted to softfp in GYP before. This prepares to switch v8 arm simulators to GN: https://codereview.chromium.org/2172193002/ BUG=chromium:474921 ==========
The CQ bit was checked by machenbach@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
PTAL. I don't see an easy way to change the default for v8-standalone only (and also there's no good reason I think).
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni#newcode58 build/config/arm.gni:58: if (current_os == "android" || target_os == "android") { why not if (current_os == "chromeos" || target_os == "chromeos") { arm_float_abi = "hardfp" } else { arm_float_abi = "softfp" }
https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni#newcode58 build/config/arm.gni:58: if (current_os == "android" || target_os == "android") { On 2016/07/25 15:00:32, jochen wrote: > why not if (current_os == "chromeos" || target_os == "chromeos") { > arm_float_abi = "hardfp" > } else { > arm_float_abi = "softfp" > } When s/hardfp/hard this should be the same according to my assumptions. But I don't trust my assumptions and I wanted to avoid flipping something that shouldn't be flipped. So the other version is a bit more defensive. What about linux builds with arm? Dirk, any thoughts?
lgtm. https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/2182473002/diff/1/build/config/arm.gni#newcode58 build/config/arm.gni:58: if (current_os == "android" || target_os == "android") { On 2016/07/25 15:17:58, Michael Achenbach (slow) wrote: > On 2016/07/25 15:00:32, jochen wrote: > > why not if (current_os == "chromeos" || target_os == "chromeos") { > > arm_float_abi = "hardfp" > > } else { > > arm_float_abi = "softfp" > > } > > When s/hardfp/hard this should be the same according to my assumptions. But I > don't trust my assumptions and I wanted to avoid flipping something that > shouldn't be flipped. So the other version is a bit more defensive. What about > linux builds with arm? > > Dirk, any thoughts? > I think the current_cpu != v8_current_cpu check should be enough, so this change should be fine. I'm a little reluctant to have linux not match CrOS by default, since the main reason we support linux arm is to be closer to CrOS.
The CQ bit was checked by machenbach@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== gn: Default to softfp for V8 arm simulator builds V8 stand-alone arm simulator builds defaulted to softfp in GYP before. This prepares to switch v8 arm simulators to GN: https://codereview.chromium.org/2172193002/ BUG=chromium:474921 ========== to ========== gn: Default to softfp for V8 arm simulator builds V8 stand-alone arm simulator builds defaulted to softfp in GYP before. This prepares to switch v8 arm simulators to GN: https://codereview.chromium.org/2172193002/ BUG=chromium:474921 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== gn: Default to softfp for V8 arm simulator builds V8 stand-alone arm simulator builds defaulted to softfp in GYP before. This prepares to switch v8 arm simulators to GN: https://codereview.chromium.org/2172193002/ BUG=chromium:474921 ========== to ========== gn: Default to softfp for V8 arm simulator builds V8 stand-alone arm simulator builds defaulted to softfp in GYP before. This prepares to switch v8 arm simulators to GN: https://codereview.chromium.org/2172193002/ BUG=chromium:474921 Committed: https://crrev.com/bbc92f86178b7f65237bfc19d32caefa11caeba4 Cr-Commit-Position: refs/heads/master@{#407518} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/bbc92f86178b7f65237bfc19d32caefa11caeba4 Cr-Commit-Position: refs/heads/master@{#407518} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
