Merge "Only compile device codegen for device architectures"
am: 07b74307c4

Change-Id: Ib8f6e355ea8413954408d4b41ed22accd41881bd