New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 912393 link

Starred by 0 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 767517



Sign in to add a comment

need gnlint to replace gyplint

Project Member Reported by vapier@chromium.org, Dec 6

Issue description

we were supposed to have a gnlint script to make sure people were writing gn files correctly, but that seems to have been missed along the way.  gyplint can be used to see what kind of checks we should have.
 
Cc: yamaguchi@chromium.org nya@chromium.org hidehiko@chromium.org
adding a few more peeps who might be interested.  feel free to add more :).
Owner: yamaguchi@chromium.org
Assigning to yamaguchi@, who's actively working on gyp->gn migration now.
Labels: -Pri-2 Pri-1
can we please prioritize this ?  people are starting to reintroduce errors into the build that gyplint prevented.  i'm fairly certain i mentioned a gnlint long before we started landing actual gn migrations.
Project Member

Comment 4 by bugdroid1@chromium.org, Jan 7

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/4255009e419efe1057ffcfe8009b03fde5a500d0

commit 4255009e419efe1057ffcfe8009b03fde5a500d0
Author: Mike Frysinger <vapier@chromium.org>
Date: Mon Jan 07 20:07:56 2019

common-mk: tell people to stop using visibility_default

No package should be using this helper.  Add a note so hopefully
new code won't start and until we have a proper gnlint to flag it.

BUG=chromium:912393
TEST=precq passes

Change-Id: I34bc9189b5a3f8e84f9cb8257eebe0a4e206becd
Reviewed-on: https://chromium-review.googlesource.com/1393225
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>

[modify] https://crrev.com/4255009e419efe1057ffcfe8009b03fde5a500d0/common-mk/BUILD.gn

Status: Started (was: Available)

Sign in to add a comment