Charges against the 20 defendants include first-degree murder and attempted murder with gang enhancements, prosecutors said.