startop: Copy clock and calendar traces to /product/iorap-trace/ for
crosshatch devices.

Test: make
Bug: 139831359
Bug: 137401660
Change-Id: Ie6da9efdddb7615c614f1ccf0411920c868b7ead
diff --git a/device.mk b/device.mk
index f4e7f60..8c7ccfa 100644
--- a/device.mk
+++ b/device.mk
@@ -868,3 +868,10 @@
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true
+
+# Add iorap trace file for clock and calendar. This is for temporary test purpose and should be
+# removed after the test is done (b/139831359).
+CALENDAR_TRACE := com.android.calendar.compiled_trace.pb
+PRODUCT_COPY_FILES += system/iorap/traces/$(CALENDAR_TRACE):product/iorap-trace/$(CALENDAR_TRACE)
+CLOCK_TRACE := com.android.deskclock.compiled_trace.pb
+PRODUCT_COPY_FILES += system/iorap/traces/$(CLOCK_TRACE):product/iorap-trace/$(CLOCK_TRACE)