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

Unified Diff: runtime/vm/timeline_analysis.cc

Issue 1678203002: Remove more feature in 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/timeline.cc ('k') | tests/standalone/no_profiler_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline_analysis.cc
diff --git a/runtime/vm/timeline_analysis.cc b/runtime/vm/timeline_analysis.cc
index 8a7c6fbd156ce2779e9c2b600f2f4a7a65a2f453..5360d2973cea476a410f4abba0227330d3648244 100644
--- a/runtime/vm/timeline_analysis.cc
+++ b/runtime/vm/timeline_analysis.cc
@@ -10,6 +10,8 @@
namespace dart {
+#ifndef PRODUCT
+
DECLARE_FLAG(bool, trace_timeline_analysis);
DECLARE_FLAG(bool, timing);
@@ -629,4 +631,6 @@ void TimelinePauseTrace::PrintPauseInfo(
MicrosecondsToMilliseconds(pause_info->max_exclusive_micros()));
}
+#endif // !PRODUCT
+
} // namespace dart
« no previous file with comments | « runtime/vm/timeline.cc ('k') | tests/standalone/no_profiler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698