code: def compute_invalidation_globs(bootstrap_options):
      
      buildroot = get_buildroot()
      invalidation_globs = []
      globs = bootstrap_options.pythonpath + \
        bootstrap_options.pants_config_files + \
        bootstrap_options.pantsd_invalidation_globs
  
      for glob in globs:
        glob_relpath = os.path.relpath(glob, buildroot)
        if glob_relpath and (not glob_relpath.startswith("../")):
          invalidation_globs.extend([glob_relpath, glob_relpath + '/**'])
        else:
          logging.getLogger(__name__).warning("Changes to {}, outside of the buildroot"
                                              ", will not be invalidated.".format(glob))
  
      return invalidation_globs
docs: Combine --pythonpath and --pants_config_files(pants.ini) files that are in {buildroot} dir
      with those invalidation_globs provided by users
      :param bootstrap_options:
      :return: A list of invalidation_globs