Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Issue 874393007: Use target_cpu instead of cpu_arch in BUILD.gn (Closed)

Created:
5 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use target_cpu instead of cpu_arch in BUILD.gn Also add missing defines for arm simulator build BUG=v8:3841 R=machenbach@chromium.org LOG=n Committed: https://crrev.com/6b8428748ebcb13c262e40f53d5b77cdc9f7f516 Cr-Commit-Position: refs/heads/master@{#27164}

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +34 lines, -27 lines 3 comments Download

Messages

Total messages: 14 (2 generated)
jochen (gone - plz use gerrit)
5 years, 11 months ago (2015-01-27 08:39:34 UTC) #1
jochen (gone - plz use gerrit)
apparently, the chromium gn config isn't up for this yet...
5 years, 11 months ago (2015-01-27 08:45:27 UTC) #2
Michael Achenbach
Generally lg, no idea what's missing.
5 years, 11 months ago (2015-01-27 12:43:28 UTC) #3
jochen (gone - plz use gerrit)
ptal
5 years, 10 months ago (2015-02-23 20:23:56 UTC) #5
Dirk Pranke
Can this wait until after https://codereview.chromium.org/946023002/ lands, or do you want me to abandon my ...
5 years, 10 months ago (2015-02-23 20:25:50 UTC) #6
jochen (gone - plz use gerrit)
closing this CL as discussed
5 years, 10 months ago (2015-02-24 10:27:16 UTC) #7
jochen (gone - plz use gerrit)
ptal
5 years, 9 months ago (2015-03-12 12:27:46 UTC) #8
Yang
On 2015/03/12 12:27:46, jochen (slow) wrote: > ptal lgtm.
5 years, 9 months ago (2015-03-12 15:18:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874393007/60001
5 years, 9 months ago (2015-03-12 15:26:31 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-12 15:39:45 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6b8428748ebcb13c262e40f53d5b77cdc9f7f516 Cr-Commit-Position: refs/heads/master@{#27164}
5 years, 9 months ago (2015-03-12 15:39:54 UTC) #13
Dirk Pranke
5 years, 9 months ago (2015-03-12 17:53:03 UTC) #14
Message was sent while issue was closed.
lgtm

a few comments below; feel free to ignore them.

https://codereview.chromium.org/874393007/diff/60001/BUILD.gn
File BUILD.gn (right):

https://codereview.chromium.org/874393007/diff/60001/BUILD.gn#newcode37
BUILD.gn:37: assert(host_os == "linux")
This is definitely simpler and an improvement.

https://codereview.chromium.org/874393007/diff/60001/BUILD.gn#newcode128
BUILD.gn:128: if (arm_fpu == "vfpv3") {
nit: I'd probably write lines 128 and 134 as 'else if' to make it a little more
obvious that these choices are mutually exclusive (though it's obviously not
actually necessary), and put a blank line between lines 124 and 125 to make it
clearer that these are two different sets of conditionals.

https://codereview.chromium.org/874393007/diff/60001/BUILD.gn#newcode142
BUILD.gn:142: defines += [
We only get into this branch when building mksnapshot (and its deps) in the host
toolchain, right?

It might be helpful to put a comment to that effect in here, something like:

# these defines are used in the ARM snapshot_toolchain.

Powered by Google App Engine
This is Rietveld 408576698