Index: runtime/vm/source_report_test.cc |
diff --git a/runtime/vm/source_report_test.cc b/runtime/vm/source_report_test.cc |
index b213a20311406ac4ae9ac50ce016d0c6f03ee953..ca02001b0f162bb70d0d9e16e62ddbda3a9e5d9f 100644 |
--- a/runtime/vm/source_report_test.cc |
+++ b/runtime/vm/source_report_test.cc |
@@ -8,6 +8,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
static RawObject* ExecuteScript(const char* script) { |
Dart_Handle h_lib = TestCase::LoadTestScript(script, NULL); |
EXPECT_VALID(h_lib); |
@@ -503,4 +505,6 @@ TEST_CASE(SourceReport_PossibleBreakpoints_Simple) { |
buffer); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |