Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2755)

Unified Diff: runtime/vm/source_report_test.cc

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698