Tyrese Long, 21, of Darby, and Khalid Brittingham, 25, of Folcroft were the two men ambushed near Marshall Road and Powell Lane at about 1 p.m.
[Ads /]
Police said they were in their vehicle when they were killed.
SEE ALSO: '100% targeted:' 2 men fatally shot during funeral procession in Upper Darby, Pennsylvania
The funeral was being held for the victim of a homicide in Philadelphia, police said.
Investigators said the shooting was not random.
"One hundred percent targeted, 100% ambushed. They were followed, and they were targeted, and they were assassinated and shot and killed," said Superintendent Timothy Bernhardt.
[Ads /]
Last week, police released photos of a man they are looking to speak with in connection with the shooting.
Anyone with information is asked to call Upper Darby police at 610-734-7693.