summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2021-04-13 12:00:52 -0700
committerGarfield Tan <xutan@google.com>2021-04-13 20:43:49 +0000
commitd23762799b889765fbf33ef43e2373551c90f687 (patch)
treeb04797fc714d127a3ed9bf5d7a268da95a60e41c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent001bc116aedd6f41ce0a7df2ec994dcb9946eeb7 (diff)
libhwui: Use wc instead of du to monitor file write
du returns the disk space a file occupies, which isn't guaranteed to be 0 even if the file is empty on all file systems. Use "wc -c" instead to obtain the file size. Bug: 184878226 Test: The script waits for the file to have content on file system that uses disk space to store empty files. Test: Skia capture still works for Pixel. Change-Id: Ib5f75b6712b476fc521a531fba029f91f4b281b5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions