Revert "Bug 903913 - [Flatfish]Need script to detect device type for reuse in shared folder" for breaking the build

This reverts commit 8d38c52846818b0cf6f16fed7fcc4eae47c940b1.