storage: turn off pixel storage debugging code on user builds

The debugging code introduces too much performance overhead for random I/O operations.
Only enable the debugging feature on non-user builds.

Bug: 284231590
Test: boot device
Change-Id: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Merged-In: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-08-07 13:19:27 +08:00
parent 2850ae9e7f
commit 4bc0db5369
3 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@ package {
sh_binary {
name: "dump_storage.sh",
src: "dump_storage.sh",
init_rc: ["init.storage.rc"],
vendor: true,
sub_dir: "dump",
}