diff options
Diffstat (limited to 'tools/aapt2/xml/XmlDom.cpp')
-rw-r--r-- | tools/aapt2/xml/XmlDom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt2/xml/XmlDom.cpp b/tools/aapt2/xml/XmlDom.cpp index acd07c2876c8..9a725fad8727 100644 --- a/tools/aapt2/xml/XmlDom.cpp +++ b/tools/aapt2/xml/XmlDom.cpp @@ -26,6 +26,7 @@ #include "android-base/logging.h" #include "ResourceUtils.h" +#include "trace/TraceBuffer.h" #include "XmlPullParser.h" #include "util/Util.h" @@ -264,6 +265,7 @@ static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPoo } std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { + TRACE_CALL(); // We import the android namespace because on Windows NO_ERROR is a macro, not // an enum, which causes errors when qualifying it with android:: using namespace android; |