build: Only include source maps for test builds

Change-Id: I279f3313ffc524a53c2c987e292afa87c10690d5