dumpstate: touch: Add touch_predump for gti
go/touch_predump
Test: b/318578275
Test: Locally flash and check dump logs on dogfood device
Bug: 287907308
Change-Id: I4a35a9a57c1331d67dfcd1863b57d75a9b804c32
diff --git a/touch/gti/Android.bp b/touch/gti/Android.bp
index 7f2eb66..d22a5a4 100644
--- a/touch/gti/Android.bp
+++ b/touch/gti/Android.bp
@@ -33,3 +33,19 @@
],
vendor: true,
}
+
+sh_binary {
+ name: "predump_gti0.sh",
+ src: "dump_gti0.sh",
+ init_rc: ["init.touch.gti0.rc"],
+ vendor: true,
+ sub_dir: "dump_touch",
+}
+
+sh_binary {
+ name: "predump_gti1.sh",
+ src: "dump_gti1.sh",
+ init_rc: ["init.touch.gti1.rc"],
+ vendor: true,
+ sub_dir: "dump_touch",
+}