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

Issue 2648233006: Use default_args for configuring V8 (Closed)

Created:
3 years, 11 months ago by brettw
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use default_args for configuring V8. Removes the values in build_overrides/v8.gni and uses the new default_args in the "//.gn" file to set these arguments. Once all places are updated, we can remove build_overrides/v8.gni. BUG=684096 Review-Url: https://codereview.chromium.org/2648233006 Cr-Commit-Position: refs/heads/master@{#446124} Committed: https://chromium.googlesource.com/chromium/src/+/04a0e487ece54c7e1568f53e3dc8b247dcf6ca74

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -22 lines) Patch
M .gn View 1 chunk +26 lines, -0 lines 2 comments Download
M build_overrides/v8.gni View 1 chunk +3 lines, -22 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
brettw
3 years, 11 months ago (2017-01-25 20:19:30 UTC) #2
Michael Achenbach
lgtm
3 years, 11 months ago (2017-01-25 21:15:26 UTC) #6
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/2648233006/1
3 years, 11 months ago (2017-01-25 21:20:31 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/04a0e487ece54c7e1568f53e3dc8b247dcf6ca74
3 years, 11 months ago (2017-01-25 21:33:38 UTC) #12
Adam Rice
https://codereview.chromium.org/2648233006/diff/1/.gn File .gn (right): https://codereview.chromium.org/2648233006/diff/1/.gn#newcode27 .gn:27: "//third_party/WebKit/Source/core/streams/CommonStrings.js", Is it safe to assume that nothing is ...
3 years, 11 months ago (2017-01-26 03:59:01 UTC) #14
Michael Achenbach
https://codereview.chromium.org/2648233006/diff/1/.gn File .gn (right): https://codereview.chromium.org/2648233006/diff/1/.gn#newcode27 .gn:27: "//third_party/WebKit/Source/core/streams/CommonStrings.js", On 2017/01/26 03:59:01, Adam Rice wrote: > Is ...
3 years, 11 months ago (2017-01-26 07:49:21 UTC) #15
sdefresne
On 2017/01/26 07:49:21, Michael Achenbach wrote: > https://codereview.chromium.org/2648233006/diff/1/.gn > File .gn (right): > > https://codereview.chromium.org/2648233006/diff/1/.gn#newcode27 ...
3 years, 11 months ago (2017-01-26 11:06:26 UTC) #16
mef
3 years, 10 months ago (2017-01-26 22:30:55 UTC) #17
Message was sent while issue was closed.
On 2017/01/26 11:06:26, sdefresne wrote:
> On 2017/01/26 07:49:21, Michael Achenbach wrote:
> > https://codereview.chromium.org/2648233006/diff/1/.gn
> > File .gn (right):
> > 
> > https://codereview.chromium.org/2648233006/diff/1/.gn#newcode27
> > .gn:27: "//third_party/WebKit/Source/core/streams/CommonStrings.js",
> > On 2017/01/26 03:59:01, Adam Rice wrote:
> > > Is it safe to assume that nothing is going to come along and sort this
list?
> > 
> > good question. Deferring to Brett
> 
> This is causing errors when target_os is set to "ios" as those variables are
not
> used. It appears to be a non-failure error though:
> 
> $ gn gen --args='target_os="ios"' out/xxx
> ERROR at //.gn:24:28: Build argument has no effect.
>   v8_extra_library_files = [
>                            ^
> The variable "v8_extra_library_files" was set as a build argument
> but never appeared in a declare_args() block in any buildfile.
> 
> To view all possible args, run "gn args --list <builddir>"
> Done. Made 2833 targets from 577 files in 1191ms

I'm getting the same error while generating cronet project:

gn gen out/Debug-iphonesimulator --args='is_cronet_build=true
is_component_build=false  target_cpu="x64" target_os="ios"
enable_websockets=false disable_file_support=true disable_ftp_support=true
use_platform_icu_alternatives=true disable_brotli_filter=true
is_component_build=false ignore_elf32_limitations=true
use_partition_alloc=false' --ide=xcode 
ERROR at //.gn:34:41: Build argument has no effect.
  v8_experimental_extra_library_files = [
                                        ^
The variable "v8_experimental_extra_library_files" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

Interestingly it didn't trigger failures on Cronet FYI builder:
https://build.chromium.org/p/chromium.fyi/builders/ios-simulator-cronet

Powered by Google App Engine
This is Rietveld 408576698