aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-01-17 18:19:59 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-06-26 13:10:33 -0400
commitb1ddfabf8fbb0561a584bd7cfe2bb712b4105da2 (patch)
tree6cd7047a090608705215608940af3f7a03ee2442 /test cases
parentc82305db0c5216f821e43bfc7ea3c8e314d0dccd (diff)
downloadmeson-b1ddfabf8fbb0561a584bd7cfe2bb712b4105da2.zip
meson-b1ddfabf8fbb0561a584bd7cfe2bb712b4105da2.tar.gz
meson-b1ddfabf8fbb0561a584bd7cfe2bb712b4105da2.tar.bz2
dependencies: defer importing a custom dependency until it is used
This lessens the amount of code imported at Meson startup by mapping each dependency to a dictionary entry and using a programmable import to dynamically return it. Minus 16 files and 6399 lines of code imported at startup.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/113 empty project/expected_mods.json18
1 files changed, 1 insertions, 17 deletions
diff --git a/test cases/unit/113 empty project/expected_mods.json b/test cases/unit/113 empty project/expected_mods.json
index 9ad84d4..e4c699c 100644
--- a/test cases/unit/113 empty project/expected_mods.json
+++ b/test cases/unit/113 empty project/expected_mods.json
@@ -201,24 +201,8 @@
"mesonbuild.coredata",
"mesonbuild.dependencies",
"mesonbuild.dependencies.base",
- "mesonbuild.dependencies.boost",
- "mesonbuild.dependencies.cmake",
- "mesonbuild.dependencies.coarrays",
- "mesonbuild.dependencies.configtool",
- "mesonbuild.dependencies.cuda",
"mesonbuild.dependencies.detect",
- "mesonbuild.dependencies.dev",
- "mesonbuild.dependencies.factory",
- "mesonbuild.dependencies.framework",
- "mesonbuild.dependencies.hdf5",
- "mesonbuild.dependencies.misc",
- "mesonbuild.dependencies.mpi",
"mesonbuild.dependencies.pkgconfig",
- "mesonbuild.dependencies.platform",
- "mesonbuild.dependencies.python",
- "mesonbuild.dependencies.qt",
- "mesonbuild.dependencies.scalapack",
- "mesonbuild.dependencies.ui",
"mesonbuild.depfile",
"mesonbuild.envconfig",
"mesonbuild.environment",
@@ -271,6 +255,6 @@
"mesonbuild.wrap",
"mesonbuild.wrap.wrap"
],
- "count": 97
+ "count": 81
}
}