def BuildFileTargets(target_list, build_file):
  return [p for p in target_list if BuildFile(p) == build_file]
From a target_list, returns the subset from the specified build_file.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/common.py/BuildFileTargets