diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-04-22 17:11:17 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-04-27 15:57:01 +0100 |
commit | 091459cbdf6261f677b29eb27e04666a331ad996 (patch) | |
tree | 18e79421ec7bb855f489d51f2cd45392f1cead35 /mesonbuild/backend/ninjabackend.py | |
parent | e4d4ac773adcae257c9dd17753a6f3f132356759 (diff) | |
download | meson-091459cbdf6261f677b29eb27e04666a331ad996.zip meson-091459cbdf6261f677b29eb27e04666a331ad996.tar.gz meson-091459cbdf6261f677b29eb27e04666a331ad996.tar.bz2 |
ninja: Expand comment on shell-unquoted ninja variables
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 977bcdd..968fcf9 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/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: |