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