OSDN Git Service

Cache resource ID lookups in aapt
authorChristopher Tate <ctate@google.com>
Fri, 16 Nov 2012 23:58:08 +0000 (15:58 -0800)
committerXavier Ducrohet <xav@android.com>
Wed, 28 Nov 2012 23:32:46 +0000 (15:32 -0800)
commit67b38c44e8b04b97e357664804d593823b2a34ed
tree9179968cfd7e832bb87ff45e8e053e4e31ba3f9c
parent23cc5d99fcb97c5a369b3ddf7f90505f6bb29363
Cache resource ID lookups in aapt

This speeds up certain workloads considerably, particularly
those involved in buildling apps via the SDK.  Windows-based
use should particularly benefit from the change.

(cherry picked from commit d8dde13a63565dcd72bcf03a5088407b737ba793)

Change-Id: I33835bc64ade77688d41e8bfcd371b0a5f59d8fd
tools/aapt/Android.mk
tools/aapt/ResourceIdCache.cpp [new file with mode: 0644]
tools/aapt/ResourceIdCache.h [new file with mode: 0644]
tools/aapt/ResourceTable.cpp