summaryrefslogtreecommitdiff
path: root/tools/aapt2/compile/XmlIdCollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/compile/XmlIdCollector.cpp')
-rw-r--r--tools/aapt2/compile/XmlIdCollector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt2/compile/XmlIdCollector.cpp b/tools/aapt2/compile/XmlIdCollector.cpp
index 2199d003bccb..50541152f802 100644
--- a/tools/aapt2/compile/XmlIdCollector.cpp
+++ b/tools/aapt2/compile/XmlIdCollector.cpp
@@ -22,6 +22,7 @@
#include "ResourceUtils.h"
#include "ResourceValues.h"
#include "text/Unicode.h"
+#include "trace/TraceBuffer.h"
#include "xml/XmlDom.h"
namespace aapt {
@@ -72,6 +73,7 @@ struct IdCollector : public xml::Visitor {
} // namespace
bool XmlIdCollector::Consume(IAaptContext* context, xml::XmlResource* xmlRes) {
+ TRACE_CALL();
xmlRes->file.exported_symbols.clear();
SourcePathDiagnostics source_diag(xmlRes->file.source, context->GetDiagnostics());
IdCollector collector(&xmlRes->file.exported_symbols, &source_diag);