Descriptiontools/gn: Give a better informative message if user uses apostrophe.
Since most most gn users come from gyp and that apostrophe
works as a string delimiter in both gyp and python, it is pretty common
that they use an apostrophe (') instead of a double one (").
So lets try to give them a more helpful error message that could save people
some time the first time.
BUG=469097
TEST=edit any BUILD.gn and change any " by '. regenerate the ninja files
by running gn gen out-gn. See the error message.
R=brettw@chromium.org
Committed: https://crrev.com/dd495008e9a6652a7147d91fe3bdf52c5325de55
Cr-Commit-Position: refs/heads/master@{#321813}
Patch Set 1 #
Total comments: 2
Patch Set 2 : bratell #Messages
Total messages: 9 (2 generated)
|