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

Issue 719482 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

gn doesn't print the path to the BUILD.gn file listing a non-existent build file

Project Member Reported by thakis@chromium.org, May 8 2017

Issue description

I deleted some file and forgot to remove it from a BUILD.gn file. Trybots gave me this error message:

ERROR at //build/config/BUILDCONFIG.gn:630:3: Source file not found.
  target(_component_mode, target_name) {
  ^-------------------------------------
The target:
  //third_party/WebKit/Source/platform/wtf:wtf
has a source file:
  //third_party/WebKit/Source/platform/wtf/InstanceCounter.cpp
which was not found.
___________________
ERROR at //build/config/BUILDCONFIG.gn:630:3: Source file not found.
  target(_component_mode, target_name) {
  ^-------------------------------------
The target:
  //third_party/WebKit/Source/platform/wtf:wtf
has a source file:
  //third_party/WebKit/Source/platform/wtf/InstanceCounter.h
which was not found.




build/config/BUILDCONFIG.gn is useless to me here, it should've printed third_party/WebKit/Source/platform/wtf/BUILD.gn somewhere instead (or in addition), since that's the file I needed to edit to fix.
 

Comment 1 Deleted

Components: Build

Sign in to add a comment