|
|
@ -3489,8 +3489,12 @@ external dependencies (including libraries) must go to "dependencies".''') |
|
|
|
raise DependencyException(m.format(display_name)) |
|
|
|
raise DependencyException(m.format(display_name)) |
|
|
|
return DependencyHolder(cached_dep, self.subproject) |
|
|
|
return DependencyHolder(cached_dep, self.subproject) |
|
|
|
else: |
|
|
|
else: |
|
|
|
m = 'Subproject {} did not override dependency {}' |
|
|
|
if required: |
|
|
|
raise DependencyException(m.format(subproj_path, display_name)) |
|
|
|
m = 'Subproject {} did not override dependency {}' |
|
|
|
|
|
|
|
raise DependencyException(m.format(subproj_path, display_name)) |
|
|
|
|
|
|
|
mlog.log('Dependency', mlog.bold(display_name), 'from subproject', |
|
|
|
|
|
|
|
mlog.bold(subproj_path), 'found:', mlog.red('NO')) |
|
|
|
|
|
|
|
return self.notfound_dependency() |
|
|
|
if subproject.found(): |
|
|
|
if subproject.found(): |
|
|
|
self.verify_fallback_consistency(dirname, varname, cached_dep) |
|
|
|
self.verify_fallback_consistency(dirname, varname, cached_dep) |
|
|
|
dep = self.subprojects[dirname].get_variable_method([varname], {}) |
|
|
|
dep = self.subprojects[dirname].get_variable_method([varname], {}) |
|
|
|