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

Issue 2308113002: Fix printing of directory name on gn clean failure (Closed)

Created:
4 years, 3 months ago by brucedawson
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke, brettw
CC:
chromium-reviews, Dirk Pranke, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix printing of directory name on gn clean failure The 'gn clean' code that detects whether something is a build directory was, on Windows, printing a wchar_t* string using %s with a char* format string. This means that only the drive letter gets printed. Fixed by using FilePathToUTF8(). Running /analyze on gn confirmed that this is the only bug of its type and found a few other more minor glitches, filed as part of the referenced bug. BUG=643842 Committed: https://crrev.com/e17ac37d6c181f2d4ec5ac51eda4717af3505596 Cr-Commit-Position: refs/heads/master@{#416651}

Patch Set 1 #

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

Messages

Total messages: 16 (10 generated)
brucedawson
4 years, 3 months ago (2016-09-02 22:27:14 UTC) #4
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-06 00:57:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2308113002/1
4 years, 3 months ago (2016-09-06 16:38:39 UTC) #11
brettw
lgtm
4 years, 3 months ago (2016-09-06 17:29:29 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-06 17:44:20 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 17:48:10 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e17ac37d6c181f2d4ec5ac51eda4717af3505596
Cr-Commit-Position: refs/heads/master@{#416651}

Powered by Google App Engine
This is Rietveld 408576698