summaryrefslogtreecommitdiff
path: root/test/buildtool/build_engine/expression/expression.test.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-03-22 10:23:12 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-03-22 18:58:22 +0100
commitdf07927f2837986fe7d9c6a9313fa8b759870b1b (patch)
treed4a151b5fff555ab5cb9adc71d03bf9e43c73c22 /test/buildtool/build_engine/expression/expression.test.cpp
parent833dc67563c01442eebb246a5f4316685d2eb17c (diff)
downloadjustbuild-df07927f2837986fe7d9c6a9313fa8b759870b1b.tar.gz
Avoid unnecessary calls to serve for export targets
For export targets, we know ahead of time the effective configuration; so, if the current configuration is not the effective anyway, we can simply analyse the effective configuration and take that result. In this way, we can avoid calls to serve if a target is analysed in two configurations that coincide on the flexible variables.
Diffstat (limited to 'test/buildtool/build_engine/expression/expression.test.cpp')
0 files changed, 0 insertions, 0 deletions