1PRODUCT_PACKAGES += \ 2 sscoredump \ 3 4PRODUCT_PACKAGES_DEBUG += \ 5 dump_ramdump \ 6 ramdump \ 7 8# When neither AOSP nor factory targets 9ifeq (,$(filter aosp_% factory_%, $(TARGET_PRODUCT))) 10 PRODUCT_PACKAGES += SSRestartDetector 11 PRODUCT_PACKAGES_DEBUG += RamdumpUploader 12endif 13 14BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/ramdump_and_coredump/sepolicy 15 16# sscoredump 17PRODUCT_PROPERTY_OVERRIDES += vendor.debug.ssrdump.type=sscoredump 18PRODUCT_SOONG_NAMESPACES += vendor/google/tools/subsystem-coredump 19