dumpstate: touch: Init touch_predump service
go/touch_predump
Test: b/318578275
Test: Locally flash to check dump_touch logs on dogfood devices
Bug: 287907308
Change-Id: Ibc9df367549dd69c83936a7fd08465f7bb53ce80
diff --git a/touch/predump/Android.bp b/touch/predump/Android.bp
new file mode 100644
index 0000000..7d2adda
--- /dev/null
+++ b/touch/predump/Android.bp
@@ -0,0 +1,17 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+sh_binary {
+ name: "predump_touch.sh",
+ src: "predump_touch.sh",
+ init_rc: ["init.touch.predump.rc"],
+ vendor: true,
+}
+
+sh_binary {
+ name: "dump_touch.sh",
+ src: "dump_touch.sh",
+ vendor: true,
+ sub_dir: "dump",
+}