aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-17 12:37:21 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-18 11:58:45 -0700
commit035df5369e34fdb7bda954601800cd00b8d8ef8e (patch)
treeee8cb9aa9db265009bb8ae964bac0b51d7e7cbfe /mesonbuild/modules/python.py
parenta216de4898cc7b9aafaecf6ebbe19d79d1c5aea3 (diff)
downloadmeson-035df5369e34fdb7bda954601800cd00b8d8ef8e.zip
meson-035df5369e34fdb7bda954601800cd00b8d8ef8e.tar.gz
meson-035df5369e34fdb7bda954601800cd00b8d8ef8e.tar.bz2
backends/ninja: write depscan input files to json
Currently, we write each file to the command line, but this can result in situations where the number of files passed exceeds OS imposed command line limits. For compilers, we solve this with response files. For depscan I've chosen to use a JSON list instead. JSON has several advantages in that it's standardized, there's a built-in python module for it, and it's familiar. I've also chosen to always use the JSON file instead of having a heuristic to decide between JSON and not JSON, while there may be a small performance trade off here, keeping the implementation simple with only one path is wort it. Fixes #9129
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions