ninja: Expand comment on shell-unquoted ninja variables

pull/5309/head
Jon Turney 6 years ago
parent e4d4ac773a
commit 091459cbdf
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 5
      mesonbuild/backend/ninjabackend.py

@ -158,7 +158,10 @@ class NinjaBuildElement:
line = line.replace('\\', '/')
outfile.write(line)
# All the entries that should remain unquoted
# ninja variables whose value should remain unquoted. The value of these
# ninja variables (or variables we use them in) is interpreted directly
# by ninja (e.g. the value of the depfile variable is a pathname that
# ninja will read from, etc.), so it must not be shell quoted.
raw_names = {'DEPFILE', 'DESC', 'pool', 'description'}
for e in self.elems:

Loading…
Cancel
Save