New issue
Advanced search Search tips

Issue 597089 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 2016
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

gn args reports lists arguments multiple times

Project Member Reported by atotic@chromium.org, Mar 22 2016

Issue description

<b>Version: <Kenneth, what is the frequency?></b>
<b>OS: <please tell me it's not XP></b>

What steps will reproduce the problem?
(1) gn args out/Develop
(2) now add a bad flag to the args (for example gdbIndex=true)
(3) gn will report


What is the expected output?

A list of arguments gn would accept.

What do you see instead?

Same arguments are repeated over and over, instead of seeing ~100 possible variables, there are 1042, with many repeats. For example, current_os shows up ~20 times.

>>>>>
The variable "gdbIndex" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
Possible arguments: < a list of 1042 arguments>
<<<

 

Comment 1 by brettw@chromium.org, Aug 17 2016

Status: Fixed (was: Untriaged)
The error output from "args" no longer lists the args (which are too long to be useful in any case).

Sign in to add a comment