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

Issue 2116913002: Land v8-side changes to switch to v8_current_cpu in the GN build. (Closed)

Created:
4 years, 5 months ago by Dirk Pranke
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com, Nico
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Land v8-side changes to switch to v8_current_cpu in the GN build. This change makes the architecture that we target generated v8 code for a property of the current toolchain, rather than a global setting that applies to every toolchain. This will allow us to properly build two snapshots for two different architectures in a single build, which is needed for android webview/monochrome builds. R=brettw@chromium.org, jochen@chromium.org, michaelbai@chromium.org BUG=625383 Committed: https://crrev.com/6c3aaae96964f2605562a211e52fc9e0928fd6c7 Cr-Commit-Position: refs/heads/master@{#37805}

Patch Set 1 #

Patch Set 2 : for review #

Total comments: 5

Patch Set 3 : rework to use custom_toolchain, not buildconfig #

Total comments: 2

Patch Set 4 : remove print() calls #

Patch Set 5 : merge #

Total comments: 1

Patch Set 6 : remove incorrect assert #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -74 lines) Patch
M BUILD.gn View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M build_overrides/v8.gni View 1 2 3 4 1 chunk +5 lines, -5 lines 2 comments Download
M gni/v8.gni View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M snapshot_toolchain.gni View 1 2 3 4 5 2 chunks +24 lines, -31 lines 1 comment Download
M test/cctest/BUILD.gn View 1 2 chunks +14 lines, -14 lines 0 comments Download
M test/unittests/BUILD.gn View 1 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 46 (19 generated)
Dirk Pranke
Please take a look. This CL needs https://codereview.chromium.org/2116183002/ to land in Chromium first.
4 years, 5 months ago (2016-07-07 02:44:43 UTC) #3
Michael Achenbach
I have the feeling the first sentence of the CL description might miss a word. ...
4 years, 5 months ago (2016-07-07 07:26:27 UTC) #4
Michael Achenbach
lgtm ~ comment: https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni File snapshot_toolchain.gni (right): https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni#newcode55 snapshot_toolchain.gni:55: if ((host_os == "linux" && current_os ...
4 years, 5 months ago (2016-07-07 07:40:23 UTC) #6
Dirk Pranke
I updated the description subject, hopefully it's clearer now. https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni File snapshot_toolchain.gni (right): https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni#newcode55 snapshot_toolchain.gni:55: ...
4 years, 5 months ago (2016-07-07 17:19:16 UTC) #8
Nico
https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni File snapshot_toolchain.gni (right): https://codereview.chromium.org/2116913002/diff/20001/snapshot_toolchain.gni#newcode60 snapshot_toolchain.gni:60: } else if (host_os == "mac" && current_os == ...
4 years, 5 months ago (2016-07-07 17:28:06 UTC) #10
michaelbai
lgtm
4 years, 5 months ago (2016-07-07 19:05:01 UTC) #11
Michael Achenbach
> I updated the description subject, hopefully it's clearer now. Sorry for the misunderstanding, I ...
4 years, 5 months ago (2016-07-08 07:03:12 UTC) #13
Dirk Pranke
On 2016/07/08 07:03:12, Michael Achenbach wrote: > > I updated the description subject, hopefully it's ...
4 years, 5 months ago (2016-07-08 15:21:35 UTC) #14
Dirk Pranke
Updated to match https://codereview.chromium.org/2116183002/#ps60001 . Please take another look?
4 years, 5 months ago (2016-07-12 00:29:13 UTC) #17
michaelbai
lgtm LGTM https://codereview.chromium.org/2116913002/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2116913002/diff/40001/BUILD.gn#newcode2082 BUILD.gn:2082: print(current_toolchain) Remove them?
4 years, 5 months ago (2016-07-12 01:23:59 UTC) #18
Dirk Pranke
https://codereview.chromium.org/2116913002/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2116913002/diff/40001/BUILD.gn#newcode2082 BUILD.gn:2082: print(current_toolchain) On 2016/07/12 01:23:58, michaelbai wrote: > Remove them? ...
4 years, 5 months ago (2016-07-12 01:39:35 UTC) #19
Michael Achenbach
lgtm ~ remove prints
4 years, 5 months ago (2016-07-12 07:43:24 UTC) #20
brettw
lgtm
4 years, 5 months ago (2016-07-12 19:55:00 UTC) #21
Michael Achenbach
Can this land? Guess the chromium-side sticked. It would enable us to migrate our stand-alone ...
4 years, 5 months ago (2016-07-15 13:28:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116913002/60001
4 years, 5 months ago (2016-07-15 16:08:18 UTC) #25
Dirk Pranke
On 2016/07/15 13:28:26, Michael Achenbach wrote: > Can this land? Guess the chromium-side sticked. It ...
4 years, 5 months ago (2016-07-15 16:09:49 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/527) v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 5 months ago (2016-07-15 16:10:09 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116913002/80001
4 years, 5 months ago (2016-07-15 19:23:31 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/222011)
4 years, 5 months ago (2016-07-15 19:35:01 UTC) #33
Dirk Pranke
https://codereview.chromium.org/2116913002/diff/80001/snapshot_toolchain.gni File snapshot_toolchain.gni (right): https://codereview.chromium.org/2116913002/diff/80001/snapshot_toolchain.gni#newcode68 snapshot_toolchain.gni:68: "v8 target must match the regular target on this ...
4 years, 5 months ago (2016-07-15 20:47:21 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116913002/100001
4 years, 5 months ago (2016-07-15 20:47:34 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-15 22:33:05 UTC) #39
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/6c3aaae96964f2605562a211e52fc9e0928fd6c7 Cr-Commit-Position: refs/heads/master@{#37805}
4 years, 5 months ago (2016-07-15 22:35:30 UTC) #41
Michael Achenbach
https://codereview.chromium.org/2116913002/diff/100001/build_overrides/v8.gni File build_overrides/v8.gni (left): https://codereview.chromium.org/2116913002/diff/100001/build_overrides/v8.gni#oldcode19 build_overrides/v8.gni:19: v8_enable_gdbjit_default = true v8_enable_gdbjit_default got removed here by rebase, ...
4 years, 5 months ago (2016-07-18 14:47:06 UTC) #42
Dirk Pranke
https://codereview.chromium.org/2116913002/diff/100001/build_overrides/v8.gni File build_overrides/v8.gni (left): https://codereview.chromium.org/2116913002/diff/100001/build_overrides/v8.gni#oldcode19 build_overrides/v8.gni:19: v8_enable_gdbjit_default = true On 2016/07/18 14:47:06, Michael Achenbach wrote: ...
4 years, 5 months ago (2016-07-18 16:45:11 UTC) #43
lmilko
https://codereview.chromium.org/2116913002/diff/100001/snapshot_toolchain.gni File snapshot_toolchain.gni (right): https://codereview.chromium.org/2116913002/diff/100001/snapshot_toolchain.gni#newcode46 snapshot_toolchain.gni:46: current_cpu == "mipsel64", current_cpu should be mips64el not mipsel64 ...
4 years, 5 months ago (2016-07-20 12:00:00 UTC) #45
Dirk Pranke
4 years, 5 months ago (2016-07-20 22:24:03 UTC) #46
Message was sent while issue was closed.
On 2016/07/20 12:00:00, lmilko wrote:
> https://codereview.chromium.org/2116913002/diff/100001/snapshot_toolchain.gni
> File snapshot_toolchain.gni (right):
> 
>
https://codereview.chromium.org/2116913002/diff/100001/snapshot_toolchain.gni...
> snapshot_toolchain.gni:46: current_cpu == "mipsel64",
> current_cpu should be mips64el not mipsel64
> 
> Chromium Android mips64el GN gen is failing:
>
http://www.rt-rk.com/mips-buildbot/builders/Release_build_mips64/builds/698/s...

Thanks, fix posted to https://codereview.chromium.org/2167873002/# .

Powered by Google App Engine
This is Rietveld 408576698