diff --git a/BUILD.gn b/BUILD.gn index 72497bc4e1492..f992b5701052e 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -200,7 +200,7 @@ config("angle_disable_pool_alloc") { } config("debug_annotations_config") { - if (is_debug || angle_enable_trace) { + if (is_debug) { defines = [ "ANGLE_ENABLE_DEBUG_ANNOTATIONS" ] } } diff --git a/src/libANGLE/LoggingAnnotator.cpp b/src/libANGLE/LoggingAnnotator.cpp index 966617004dbf2..cabf9cd39812e 100644 --- a/src/libANGLE/LoggingAnnotator.cpp +++ b/src/libANGLE/LoggingAnnotator.cpp @@ -16,11 +16,7 @@ namespace angle bool LoggingAnnotator::getStatus() { -#if defined(ANGLE_TRACE_ENABLED) - return true; -#else return false; -#endif } void LoggingAnnotator::beginEvent(const char *eventName, const char *eventMessage)