diff options
author | MÃ¥rten Kongstad <marten.kongstad@sony.com> | 2019-09-17 13:02:32 +0200 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2019-09-18 07:35:44 -0700 |
commit | 1d3b64855b0d4178d6d8cb7beba9156a39caecfa (patch) | |
tree | 090bdec67f570310906ba7f93b58e4ccb1027452 /startop/scripts/lib/print_utils.py | |
parent | 755f72686b2d596a043b2306d27796cbf80b56e5 (diff) |
aapt2: add 'dump overlayable' command
Add a command to print a resource table's <overlayable> resources. Given
the following input
<overlayable name="TestResources">
<policy type="system">
<item type="string" name="a" />
</policy>
<policy type="sytem|vendor">
<item type="string" name="b" />
<item type="string" name="c" />
</policy>
</overlayable>
aapt2 dump overlayable will produce
name="TestResources" actor=""
policies="system"
string/a
policies="system|vendor"
string/b
string/c
Bug: 120609160
Test: manual (aapt2 dump overlayable $(gettop)/frameworks/base/cmds/idmap2/tests/data/target/target.apk)
Change-Id: I21041e6169c62d01f1a469624911ce7cad3e18a8
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions