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

Issue 995393005: tools/gn: fix escaping of backslashes (Closed)

Created:
5 years, 9 months ago by mdempsky
Modified:
5 years, 8 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina, Dirk Pranke, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/gn: fix escaping of backslashes BUG=470217 Committed: https://crrev.com/4bf46ca929d17910fcf66cc25e886b986845ca59 Cr-Commit-Position: refs/heads/master@{#323161}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comments explaining escaping strategy #

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -10 lines) Patch
M tools/gn/value.cc View 1 2 1 chunk +21 lines, -9 lines 0 comments Download
M tools/gn/value_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
mdempsky
5 years, 9 months ago (2015-03-24 21:11:25 UTC) #2
mdempsky
https://codereview.chromium.org/995393005/diff/1/tools/gn/value_unittest.cc File tools/gn/value_unittest.cc (right): https://codereview.chromium.org/995393005/diff/1/tools/gn/value_unittest.cc#newcode16 tools/gn/value_unittest.cc:16: EXPECT_EQ("\"\\foo\\\\\\bar\\\\\"", strval2.ToString(true)); Without the corresponding value.cc change, this tests ...
5 years, 9 months ago (2015-03-24 21:14:56 UTC) #3
mdempsky
Ping?
5 years, 8 months ago (2015-03-30 20:09:37 UTC) #4
brettw
LGTM with clarification https://codereview.chromium.org/995393005/diff/1/tools/gn/value.cc File tools/gn/value.cc (right): https://codereview.chromium.org/995393005/diff/1/tools/gn/value.cc#newcode128 tools/gn/value.cc:128: bool escaped = false; The goal ...
5 years, 8 months ago (2015-03-31 23:01:51 UTC) #5
mdempsky
https://codereview.chromium.org/995393005/diff/1/tools/gn/value.cc File tools/gn/value.cc (right): https://codereview.chromium.org/995393005/diff/1/tools/gn/value.cc#newcode128 tools/gn/value.cc:128: bool escaped = false; On 2015/03/31 23:01:51, brettw wrote: ...
5 years, 8 months ago (2015-03-31 23:14:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995393005/40001
5 years, 8 months ago (2015-04-01 00:32:32 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-01 01:17:49 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/4bf46ca929d17910fcf66cc25e886b986845ca59 Cr-Commit-Position: refs/heads/master@{#323161}
5 years, 8 months ago (2015-04-01 01:18:37 UTC) #11
raymes
5 years, 8 months ago (2015-04-01 02:09:39 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1049963002/ by raymes@chromium.org.

The reason for reverting is: Speculatively reverting because of:
http://build.chromium.org/p/chromium.win/buildstatus?builder=Win8%20GN%20%28d...

ERROR at //third_party/WebKit/Source/bindings/scripts/scripts.gni:198:5: Unable
to write file.
    write_file(idl_files_list, rebase_path(invoker.sources, root_build_dir)).

Powered by Google App Engine
This is Rietveld 408576698