Index: runtime/vm/timeline_test.cc |
diff --git a/runtime/vm/timeline_test.cc b/runtime/vm/timeline_test.cc |
index 2d9bb57097ef1462bab176e5bf960ac2394a023b..05c4abb4715e676390b7972d7bb895fd1f2558b8 100644 |
--- a/runtime/vm/timeline_test.cc |
+++ b/runtime/vm/timeline_test.cc |
@@ -15,6 +15,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
class TimelineRecorderOverride : public ValueObject { |
public: |
explicit TimelineRecorderOverride(TimelineEventRecorder* new_recorder) |
@@ -854,4 +856,6 @@ TEST_CASE(TimelinePauses_BeginEnd) { |
TimelineTestHelper::Clear(recorder); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |