DescriptionQuote 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 #
Messages
Total messages: 12 (5 generated)
|