San Diego County spent almost $12 million in federal entitlement money on affordable housing, community infrastructure, helping the homeless, and housing or services to people living with HIV/AIDS, according to a report presented Wednesday to the Board of Supervisors.