diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-16 23:31:36 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-16 23:31:36 +0000 |
commit | b0d3ad5d934decf73838747387efc1c5348c8508 (patch) | |
tree | 0b107b8cbc50ebd18b805ce36a9be1b41a86e9c4 /tools/gn/parser_unittest.cc | |
parent | 3612f990aa4b0aeeb0660c2d483708b8c6f87a76 (diff) | |
download | chromium_src-b0d3ad5d934decf73838747387efc1c5348c8508.zip chromium_src-b0d3ad5d934decf73838747387efc1c5348c8508.tar.gz chromium_src-b0d3ad5d934decf73838747387efc1c5348c8508.tar.bz2 |
GN: Add logging for the location of an invocation.
I was working on the Windows build and having problems finding why a file was loaded that shouldn't have been. This adds the source of the invocation to the verbose logging so you can find this information.
I removed an assert which caused a debug assertion for random punctuation and isn't harmful (a real error will be reported).
I moved the location-to-string conversion code into the location class so I can share it for my new logging command, and moved a bunch of other logging functions to the new .cc file.
BUG=288991
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/23532076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/parser_unittest.cc')
0 files changed, 0 insertions, 0 deletions