diff options
| author | 2019-03-07 16:40:03 +0000 | |
|---|---|---|
| committer | 2019-03-07 16:40:03 +0000 | |
| commit | b496d6150c8d2c5bea199dc35c4b21e3f699e6f2 (patch) | |
| tree | 5c39c8e05a12edb91b37139d9c8455cb199f5508 /tools/aapt2/ResourceTable.cpp | |
| parent | e2060f2cd3ebf70e57d41d87fac94583de2098c8 (diff) | |
| parent | 2d34e76daceaac41a8c578d7fa02aca864019dbb (diff) | |
Merge "Add --trace_folder to aapt2"
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
| -rw-r--r-- | tools/aapt2/ResourceTable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt2/ResourceTable.cpp b/tools/aapt2/ResourceTable.cpp index dbd0a0ca1799..7c0619f33851 100644 --- a/tools/aapt2/ResourceTable.cpp +++ b/tools/aapt2/ResourceTable.cpp @@ -30,6 +30,7 @@ #include "NameMangler.h" #include "ResourceValues.h" #include "ValueVisitor.h" +#include "trace/TraceBuffer.h" #include "text/Unicode.h" #include "util/Util.h" @@ -79,6 +80,7 @@ ResourceTablePackage* ResourceTable::FindPackageById(uint8_t id) const { } ResourceTablePackage* ResourceTable::CreatePackage(const StringPiece& name, Maybe<uint8_t> id) { + TRACE_CALL(); ResourceTablePackage* package = FindOrCreatePackage(name); if (id && !package->id) { package->id = id; |