move camera dump to gs-common
Bug: 240530709
Test: adb bugreport
Create empty files starting with the following prefix
/data/vendor/camera/profiler/session-ended-
/data/vendor/camera/profiler/high-drop-rate-
/data/vendor/camera/profiler/watchdog-
/data/vendor/camera/profiler/camera-ended-
and do adb bugreport and make sure they end up in dumpstate_board.bin
Change-Id: I2f9dfb74476af295db8a392ebf7757681404841e
diff --git a/camera/dump.mk b/camera/dump.mk
new file mode 100644
index 0000000..a3a5c7a
--- /dev/null
+++ b/camera/dump.mk
@@ -0,0 +1,4 @@
+BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/camera/sepolicy/
+
+PRODUCT_PACKAGES_DEBUG += dump_camera
+