OSDN Git Service

Filter unneeded assets from additional resource directories
authorBryan Mawhinney <bryanmawhinney@google.com>
Fri, 24 Jan 2014 16:18:13 +0000 (16:18 +0000)
committerAdam Lesinski <adamlesinski@google.com>
Mon, 27 Jan 2014 18:31:10 +0000 (10:31 -0800)
commit9ab9b93eae8b2fc747d6101cf0e4c19b2218715f
tree8ed4f335641575ca4a207e2deafedb70515b5238
parentebcef6b896b3b1693862aad9c5000c450ba598a5
Filter unneeded assets from additional resource directories

This change ensures that assets that are not needed for the
preferred density are stripped from additional directories
specified by the -S flag

For simplicity, the logic for deciding which assets are not
needed is still applied per directory, rather than globally,
which may still result in some unneeded assets being included
in the final output.

Bug: 12604267
Change-Id: Ic1378570c2d9cd1c854c507e784233818c19efca
tools/aapt/AaptAssets.cpp