Marco Nelissen
936e648ce9
Fix findunusedresources to handle package name different from path
...
Change-Id: Ia010d0f71e3e7141f762fc83ff34d3426bac85a0
2012-01-27 16:07:59 -08:00
Marco Nelissen
7d421c5b02
Update findunusedresources to know about integers and mipmaps
...
Change-Id: I10846ae4f876a325ce53e2c1522af2094493beba
2011-07-20 14:48:43 -07:00
Michael Chan
8d014167ec
Modified to work with Mac. Apparently the | operator doesn't work in sed.
...
Change-Id: I4d29f7f13e08b8daacc2aeb661774d4ba23ec2d1
2010-02-19 15:48:08 -08:00
Marco Nelissen
69b04ff53b
Add 's' option to grep so it doesn't complain about stuff under .git
2010-02-19 10:59:54 -08:00
Marco Nelissen
291bb9f468
Force LANG to C in the findunusedresources script, otherwise it takes forever to run.
2010-01-14 16:06:38 -08:00
Android (Google) Code Review
f7eee71bed
am 84c9d603: Merge change 5271 into donut
...
Merge commit '84c9d60322e4605d2d96eb8b058e21125f2ad7fe'
* commit '84c9d60322e4605d2d96eb8b058e21125f2ad7fe':
Script to strip out unused translations when you change the base strings.xml.
2009-07-24 16:09:15 -07:00
Marco Nelissen
4357bb8b8c
Add a 'removeunusedresources' script that goes through an app and removes
...
all the unused resources. It uses the 'findunusedresources' script to find
the resources, and the 'xmlstarlet' command to edit xml files. The
result is an uncommitted git change that you can verify, modify if
needed, and then check in.
Also put some more fixes in the findunusedresources script to keep
it from reporting false positives.
2009-06-26 09:36:32 -07:00
Marco Nelissen
d0a241c3e8
Make the findunusedresources script also find references to resources
...
when they have been broken up over multiple lines. This fixes a false
positive in the Browser.
2009-06-25 14:19:24 -07:00
Eric Fischer
50283d7666
Script to strip out unused translations when you change the base strings.xml.
...
It doesn't really know XML so it is reliant on the translation files
being straightforwardly formatted, but it seems to work.
2009-06-24 15:51:25 -07:00
Marco Nelissen
6b0277d59b
Tweak to findunusedresources so you can run it as "findunusedresources ." from within an application folder.
2009-06-24 09:11:51 -07:00
The Android Open Source Project
52d4c30ca5
auto import from //depot/cupcake/@135843
2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca
auto import from //depot/cupcake/@135843
2009-03-03 18:28:16 -08:00
The Android Open Source Project
e3c5766074
auto import from //branches/cupcake/...@130745
2009-02-10 15:43:58 -08:00
The Android Open Source Project
95cf464c5a
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:19 -08:00
The Android Open Source Project
e943f2fd8e
Code drop from //branches/cupcake/...@124589
2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110
Initial Contribution
2008-10-21 07:00:00 -07:00