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

Issue 1879723002: Quote flags in GN. (Closed)

Created:
4 years, 8 months ago by brettw
Modified:
4 years, 8 months ago
Reviewers:
brucedawson
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

Quote flags in GN. Previously cflags/ldflags/etc. were not automatically quoted by GN. The original intention was to support having multiple flags in one string which we don in GYP in some cases (e.g. "-foo -bar"). But this ends up not being necessary and we never do it. Furthermore, GN still escapes quote characters in these flags, making it impossible to manually quote them. The result is the old policy actively prevents using spaces or quotes in flags. This change automatically quotes flags like defines and file names already were. Committed: https://crrev.com/d923cf82900e3c26ab4f989cff62bf2bd6c2810f Cr-Commit-Position: refs/heads/master@{#386490}

Patch Set 1 #

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

Messages

Total messages: 12 (5 generated)
brettw
4 years, 8 months ago (2016-04-11 21:04:05 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879723002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879723002/1
4 years, 8 months ago (2016-04-11 21:05:09 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 21:48:10 UTC) #6
brucedawson
That fixes the problem I was having with /MANIFESTUAC. Thanks. lgtm.
4 years, 8 months ago (2016-04-11 21:58:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879723002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879723002/1
4 years, 8 months ago (2016-04-11 21:59:59 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-11 22:07:52 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 22:09:31 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d923cf82900e3c26ab4f989cff62bf2bd6c2810f
Cr-Commit-Position: refs/heads/master@{#386490}

Powered by Google App Engine
This is Rietveld 408576698