diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-12-28 06:28:35 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-01-01 01:14:03 +0530 |
commit | 851475db9b8772930276a29320a14714d3a4da92 (patch) | |
tree | 9adb16e9b7577fdb262c8729d52255cccec0abce /mesonbuild/modules/gnome.py | |
parent | dd3f49af0d8c94033e6db68b25c23ea9e63e9c5c (diff) | |
download | meson-851475db9b8772930276a29320a14714d3a4da92.zip meson-851475db9b8772930276a29320a14714d3a4da92.tar.gz meson-851475db9b8772930276a29320a14714d3a4da92.tar.bz2 |
intrp: Consolidate subproject dep checking and logging
If a dep is not found on the system and a fallback is specified, we
have two cases:
1. Look for the dependency in a pre-initialized subproject
2. Initialize the subproject and look for the dependency
Both these require version comparing, ensuring the fetched variable
is a dependency, and printing a success message, erroring out, etc.
Now we share the relevant code instead of duplicating it. It already
diverged, so this is a good thing.
As a side-effect, we now log fallback dependencies in the same format
as system dependencies:
Dependency libva found: YES
Dependency libva found: YES (cached)
Dependency glib-2.0 from subproject subprojects/glib found: YES
Dependency glib-2.0 from subproject subprojects/glib found: YES (cached)
Diffstat (limited to 'mesonbuild/modules/gnome.py')
0 files changed, 0 insertions, 0 deletions