Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Issue 645253002: GN: Store parse error messages (so they aren't dropped due to races) (Closed)

Created:
6 years, 2 months ago by cjhopman
Modified:
6 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina, rginda+watch_chromium.org, yoshiki+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GN: Store parse error messages (so they aren't dropped due to races) Bad error messages remind me of working with gyp. This change just stores the parser error in the InputFileData so that we can actually report a useful error message from whichever thread first reports an error. Committed: https://crrev.com/86e95b3ce8e0e83f9d011e285b0a97313125cf1e Cr-Commit-Position: refs/heads/master@{#299953}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -14 lines) Patch
M tools/gn/input_file_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/input_file_manager.cc View 1 2 chunks +8 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
cjhopman
brettw: *
6 years, 2 months ago (2014-10-13 18:08:41 UTC) #2
brettw
lgtm https://codereview.chromium.org/645253002/diff/1/tools/gn/input_file_manager.cc File tools/gn/input_file_manager.cc (right): https://codereview.chromium.org/645253002/diff/1/tools/gn/input_file_manager.cc#newcode222 tools/gn/input_file_manager.cc:222: if (!data->parsed_root) { Remove {} https://codereview.chromium.org/645253002/diff/1/tools/gn/input_file_manager.h File tools/gn/input_file_manager.h ...
6 years, 2 months ago (2014-10-14 17:13:09 UTC) #3
cjhopman
https://codereview.chromium.org/645253002/diff/1/tools/gn/input_file_manager.cc File tools/gn/input_file_manager.cc (right): https://codereview.chromium.org/645253002/diff/1/tools/gn/input_file_manager.cc#newcode222 tools/gn/input_file_manager.cc:222: if (!data->parsed_root) { On 2014/10/14 17:13:09, brettw wrote: > ...
6 years, 2 months ago (2014-10-16 18:26:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645253002/60001
6 years, 2 months ago (2014-10-16 18:26:38 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:60001)
6 years, 2 months ago (2014-10-16 19:21:09 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 19:23:22 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/86e95b3ce8e0e83f9d011e285b0a97313125cf1e
Cr-Commit-Position: refs/heads/master@{#299953}

Powered by Google App Engine
This is Rietveld 408576698