 Patients receive Hedgehog antagonist GDC-0449 orally PO once daily QD and erlotinib hydrochloride PO QD on days 1-28. Some patients also receive gemcitabine hydrochloride IV over 30 minutes on days 1, 8, and 15. Courses repeat every 28 days in the absence of disease progression or unacceptable toxicity. 