docs: def process_prop(prop_type: PT, value, build_context):
      """Return a cachable representation of the prop `value` given its type."""
      if prop_type in (PT.Target, PT.TargetList):
          return hashify_targets(value, build_context)
      elif prop_type in (PT.File, PT.FileList):
          return hashify_files(value)
      return value