diff options
author | Roland Levillain <rpl@google.com> | 2018-11-16 15:03:47 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2018-12-14 15:43:51 +0000 |
commit | 04e83d150f87df740259aaec4bcb49f5aa0050e9 (patch) | |
tree | c7979b6bdb5e19e5efcf9d11bb8b7f42be03e9ac /compiler/optimizing/graph_visualizer.cc | |
parent | c2f685a64f819193fb563d33924d233872b8970a (diff) |
Refine art/build/apex/runtests.sh's pretty printing options.
- Rename option `-l, --list-files` as `-t, --print-tree` to better
reflect its action.
- Make option `-t, --print-tree` also display file sizes.
- Only check for the presence of `tree` if option `-t, --print-tree`
is used.
- Introduce a new option `-l, --list-files`, using `find` to display
the image's contents.
- Refactor this logic into a function (`maybe_list_apex_contents`),
so that it can be reused for all APEX packages.
Test: art/build/apex/runtests.sh -t
Test: art/build/apex/runtests.sh -l
Bug: 113373927
Change-Id: I31fefe0161dc4e4d166baa76bb5e6611bf5940dc
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions