def generate_include_search_paths(hdr, extra_dirs):
 if (os.sep in hdr):
  paths = [hdr]
 else:
  arg_paths = itertools.chain(COMMON_HEADER_PATHS, extra_dirs)
  search_paths = unique_not_false_list(arg_paths)
  paths = path_joiner(hdr, search_paths)
 return paths

def generate_include_search_paths ( hdr , extra_dirs ) : if ( os . sep in hdr ) : paths = [ hdr ] else : arg_paths = itertools . chain ( COMMON_HEADER_PATHS , extra_dirs ) search_paths = unique_not_false_list ( arg_paths ) paths = path_joiner ( hdr , search_paths ) return paths
generate full paths of potential locations of a given header file based on common_header_paths .