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

Issue 1723613003: GN: fix a DCHECK() when generating Visual Studio solution files (Closed)

Created:
4 years, 10 months ago by NGG
Modified:
4 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: fix a DCHECK() when generating Visual Studio solution files VisualStudioWriter::WriteSolutionFileContents() used RebasePath() with |source_root| = "/" which is forbidden. It always uses system absolute paths, thus we can use |source_root| = "". R=brettw@chromium.org BUG= Committed: https://crrev.com/bbe9c04f0889293cea85b6806145e26e1670a223 Cr-Commit-Position: refs/heads/master@{#377258}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M tools/gn/visual_studio_writer.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
NGG
4 years, 10 months ago (2016-02-23 15:22:27 UTC) #1
brettw
LGTM with parameters just removed. https://codereview.chromium.org/1723613003/diff/1/tools/gn/visual_studio_writer.cc File tools/gn/visual_studio_writer.cc (right): https://codereview.chromium.org/1723613003/diff/1/tools/gn/visual_studio_writer.cc#newcode609 tools/gn/visual_studio_writer.cc:609: << ")\", \"" << ...
4 years, 10 months ago (2016-02-23 19:07:41 UTC) #2
NGG
https://codereview.chromium.org/1723613003/diff/1/tools/gn/visual_studio_writer.cc File tools/gn/visual_studio_writer.cc (right): https://codereview.chromium.org/1723613003/diff/1/tools/gn/visual_studio_writer.cc#newcode609 tools/gn/visual_studio_writer.cc:609: << ")\", \"" << RebasePath(folder->path, solution_dir, "") << "\", ...
4 years, 10 months ago (2016-02-24 09:43:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723613003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723613003/20001
4 years, 10 months ago (2016-02-24 09:44:41 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-24 10:18:55 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 10:20:45 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bbe9c04f0889293cea85b6806145e26e1670a223
Cr-Commit-Position: refs/heads/master@{#377258}

Powered by Google App Engine
This is Rietveld 408576698