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

Issue 1750283003: Minor fixes to tools/gn. (Closed)

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

Description

Minor fixes to tools/gn. Fix incorrect array indexing in EnsureValidSourcesSubstitutions when reporting an invalid substitution usage (the code was using the index in another array to index in kSubstitutionNames). Remove declaration of CopyTargetGenerator::FillDestDir as the method is not implemented. Fix some typos in comments and in the name of IsValidToolSubstitution (was spelled out IsValidToolSubst*u*t*i*tion). BUG=297668 Committed: https://crrev.com/d1d65269209951e2e784682b47087d04e93a44bf Cr-Commit-Position: refs/heads/master@{#379256}

Patch Set 1 #

Patch Set 2 : Fix last reference to IsValidToolSubstutition. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -19 lines) Patch
M tools/gn/copy_target_generator.h View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/gn/function_toolchain.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/gn/substitution_list.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/substitution_type.h View 2 chunks +3 lines, -3 lines 0 comments Download
M tools/gn/substitution_type.cc View 5 chunks +6 lines, -6 lines 1 comment Download
M tools/gn/substitution_writer.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/substitution_writer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gn/toolchain.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/variables.cc View 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
sdefresne
Please take a look. This fix some minor issues (and some potential Undefined Behaviour) that ...
4 years, 9 months ago (2016-03-01 19:06:49 UTC) #2
tfarina
Looks like there are still some calls to IsValidToolSubstutition to be fixed. Looks fine and ...
4 years, 9 months ago (2016-03-01 19:16:50 UTC) #4
sdefresne
On 2016/03/01 at 19:16:50, tfarina wrote: > Looks like there are still some calls to ...
4 years, 9 months ago (2016-03-01 19:20:54 UTC) #5
sdefresne
brettw: ping?
4 years, 9 months ago (2016-03-03 17:57:25 UTC) #6
brettw
LGTM ! https://codereview.chromium.org/1750283003/diff/20001/tools/gn/substitution_type.cc File tools/gn/substitution_type.cc (left): https://codereview.chromium.org/1750283003/diff/20001/tools/gn/substitution_type.cc#oldcode130 tools/gn/substitution_type.cc:130: bool IsValidToolSubstutition(SubstitutionType type) { Wow, this is ...
4 years, 9 months ago (2016-03-03 19:09:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750283003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750283003/20001
4 years, 9 months ago (2016-03-04 08:54:10 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-04 09:35:58 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 09:37:16 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1d65269209951e2e784682b47087d04e93a44bf
Cr-Commit-Position: refs/heads/master@{#379256}

Powered by Google App Engine
This is Rietveld 408576698