Add missing reporting of some methods tried to find the dependency

Make us report 'system' and 'framework' when we tried those methods to
locate the dependency.
pull/4152/head
Jon Turney 6 years ago committed by Jussi Pakkanen
parent 593de37474
commit 39d87269b3
  1. 6
      mesonbuild/dependencies/dev.py
  2. 2
      mesonbuild/dependencies/misc.py
  3. 3
      mesonbuild/dependencies/platform.py
  4. 5
      mesonbuild/dependencies/ui.py

@ -80,6 +80,9 @@ class GTestDependency(ExternalDependency):
else:
return 'building self'
def log_tried(self):
return 'system'
@classmethod
def _factory(cls, environment, kwargs):
methods = cls._process_method_kw(kwargs)
@ -161,6 +164,9 @@ class GMockDependency(ExternalDependency):
else:
return 'building self'
def log_tried(self):
return 'system'
@classmethod
def _factory(cls, environment, kwargs):
methods = cls._process_method_kw(kwargs)

@ -397,6 +397,8 @@ class Python3Dependency(ExternalDependency):
else:
return [DependencyMethods.PKGCONFIG]
def log_tried(self):
return 'sysconfig'
class PcapDependency(ExternalDependency):

@ -34,3 +34,6 @@ class AppleFrameworks(ExternalDependency):
self.link_args += ['-framework', f]
self.is_found = mesonlib.is_osx()
def log_tried(self):
return 'framework'

@ -72,6 +72,8 @@ class GLDependency(ExternalDependency):
else:
return [DependencyMethods.PKGCONFIG]
def log_tried(self):
return 'system'
class GnuStepDependency(ConfigToolDependency):
@ -612,3 +614,6 @@ class VulkanDependency(ExternalDependency):
@staticmethod
def get_methods():
return [DependencyMethods.PKGCONFIG, DependencyMethods.SYSTEM]
def log_tried(self):
return 'system'

Loading…
Cancel
Save