Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 4c309710ed3e2c942a918b6950b6f15a15dc42ef..55149b2bd04227ebde0bc963e0df68ab2b54017f 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -13,6 +13,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
DECLARE_FLAG(bool, background_compilation); |
DECLARE_FLAG(bool, profile_vm); |
DECLARE_FLAG(int, max_profile_depth); |
@@ -1657,5 +1659,6 @@ TEST_CASE(Profiler_ChainedSamples) { |
} |
} |
-} // namespace dart |
+#endif // !PRODUCT |
+} // namespace dart |