Bug 1009753 - Check for TARGET_DEVICE r=gsvelto