'''
if not target['type'].startswith('shared'):
return False
- if not target['installed']:
- return False
# Check if this output of that target is a shared library
if not SHAREDLIB_REG.search(filename):
return False
def is_binary_target_and_in_path(target, filename, bindir):
if target['type'] != 'executable':
return False
- if not target['installed']:
- return False
# Check if this file installed by this target is installed to bindir
for install_filename in listify(target['install_filename']):
if install_filename.endswith(os.path.basename(filename)):
for target in targets:
filenames = listify(target['filename'])
+ if not target['installed']:
+ continue
for filename in filenames:
root = os.path.dirname(filename)
if srcdir_path / "subprojects/gst-devtools/validate/plugins" in (srcdir_path / root).parents: