The gn args out/Realse command does not respond.

74 views
Skip to first unread message

Nancy wang

unread,
Jan 15, 2025, 1:58:15 AMJan 15
to gn-dev
Hi,
I downloaded the latest chromium code and downloaded related dependencies. The execution of gn args out/Realse did not respond or report an error. The latest gn replacement downloaded from the official code repository still did not respond. Do you know the reason for this problem? Do you need to configure any environment variables?

Dirk Pranke

unread,
Jan 15, 2025, 12:54:49 PMJan 15
to Nancy wang, gn-dev
Hi,

What do you mean by "did not respond"? Did the command hang? In theory the command should open a text editor window (either in a terminal or as a separate GUI window, depending on how you have things configured), and then wait for you to close that window, so if it was hanging, I suspect maybe you had an editor window open somewhere that you didn't see.

As an alternative, you can just create and edit an `args.gn` file in your out/Release directory, and then run `gn gen`. That will use the existing file and generate the ninja files.

-- Dirk

On Tue, Jan 14, 2025 at 10:58 PM Nancy wang <nancy...@163.com> wrote:
Hi,
I downloaded the latest chromium code and downloaded related dependencies. The execution of gn args out/Realse did not respond or report an error. The latest gn replacement downloaded from the official code repository still did not respond. Do you know the reason for this problem? Do you need to configure any environment variables?

To unsubscribe from this group and stop receiving emails from it, send an email to gn-dev+un...@chromium.org.
Reply all
Reply to author
Forward
0 new messages