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

Unified Diff: runtime/vm/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
« no previous file with comments | « runtime/vm/report.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/report_test.cc
diff --git a/runtime/vm/report_test.cc b/runtime/vm/report_test.cc
index 08fbe703faad56cc6c5f4a5b055691fefe20ef0f..d939dd2353fe002cd3b540067aba949efabbaefe 100644
--- a/runtime/vm/report_test.cc
+++ b/runtime/vm/report_test.cc
@@ -8,6 +8,8 @@
namespace dart {
+#ifndef PRODUCT
+
TEST_CASE(TraceJSWarning) {
Zone* zone = thread->zone();
Isolate* isolate = thread->isolate();
@@ -77,4 +79,6 @@ TEST_CASE(TraceJSWarning) {
delete trace_buffer;
}
+#endif // !PRODUCT
+
} // namespace dart
« no previous file with comments | « runtime/vm/report.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698