" That 's how America is going to free itself from our dependence on foreign oil--not through short-term gimmicks , but through a real long-term commitment to transform our energy sector , " Obama said .