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

Issue 2066483002: gn: Make target_cpu=x86 v8_target_arch=arm builds generate build files. (Closed)

Created:
4 years, 6 months ago by Nico
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gn: Make target_cpu=x86 v8_target_arch=arm builds generate build files. First, it's v8_target_arch, not v8_target_cpu https://codereview.chromium.org/2006173002 got this wrong. With this changed, things don't gn (//build/config/arm.gni only sets arm_version if target_cpu is set to something arm-y for example). Also fix up things enough so that `gn gen` succeeds with the gn args that would be set on the target-x86-but-set-v8-target-arch-to-arm bot. BUG=619503, 605732

Patch Set 1 #

Patch Set 2 : also make it work #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M build/config/arm.gni View 1 1 chunk +15 lines, -0 lines 2 comments Download
M tools/mb/mb_config.pyl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
Nico
4 years, 6 months ago (2016-06-13 11:42:26 UTC) #3
Nico
+jochen since I touched //build/config/arm.gni to pacify v8's BUILD.gn
4 years, 6 months ago (2016-06-13 12:47:59 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2066483002/diff/20001/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/2066483002/diff/20001/build/config/arm.gni#newcode108 build/config/arm.gni:108: } why not just replace the if (current_cpu == ...
4 years, 6 months ago (2016-06-13 15:18:40 UTC) #9
Nico
https://codereview.chromium.org/2066483002/diff/20001/build/config/arm.gni File build/config/arm.gni (right): https://codereview.chromium.org/2066483002/diff/20001/build/config/arm.gni#newcode108 build/config/arm.gni:108: } On 2016/06/13 15:18:40, jochen (slow) wrote: > why ...
4 years, 6 months ago (2016-06-13 15:23:53 UTC) #10
Dirk Pranke
lgtm. I'd prefer it if the variable was called 'v8_target_cpu' for consistency w/ the other ...
4 years, 6 months ago (2016-06-13 16:14:22 UTC) #11
Nico
I talked to Jochen a bit. He says v8_target_arch is also used to test v8 ...
4 years, 6 months ago (2016-06-13 16:36:58 UTC) #12
Dirk Pranke
I definitely want //build to be useful for whatever v8 needs for standalone builds and ...
4 years, 6 months ago (2016-06-14 20:02:27 UTC) #13
Dirk Pranke
4 years, 3 months ago (2016-08-31 23:35:40 UTC) #14
I believe this got resolved in other CLs, so, closing.

Powered by Google App Engine
This is Rietveld 408576698