summaryrefslogtreecommitdiffstats
path: root/device.mk
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2011-07-19 18:43:54 -0700
committerGuang Zhu <guangzhu@google.com>2011-07-20 14:06:43 -0700
commit68069cb2ad04922f119ccafc0034a79c95ccfd07 (patch)
treef92feb861a765f0f67d07aae9480866755ce5d58 /device.mk
parentadd80144ba826f1f36fe7f9ab222c7c9ca383cef (diff)
downloaddevice_samsung_tuna-68069cb2ad04922f119ccafc0034a79c95ccfd07.zip
device_samsung_tuna-68069cb2ad04922f119ccafc0034a79c95ccfd07.tar.gz
device_samsung_tuna-68069cb2ad04922f119ccafc0034a79c95ccfd07.tar.bz2
scripts for emailing bugreports after capture
first script calls dumpsys to generate the bugreport, second script launches a cmd line tool that queries account manager for possible accounts to set as "to:" field and launches an intent to mail the bugreport out Change-Id: I3802c499a43d22906217330a46c2c9a50f3a33c9
Diffstat (limited to 'device.mk')
-rw-r--r--device.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 119df97..0ed7721 100644
--- a/device.mk
+++ b/device.mk
@@ -128,6 +128,14 @@ PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
+# for bugmailer
+ifneq ($(TARGET_BUILD_VARIANT),user)
+ PRODUCT_PACKAGES += send_bug
+ PRODUCT_COPY_FILES += \
+ system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
+ system/extras/bugmailer/send_bug:system/bin/send_bug
+endif
+
# XXX: should be including hd-phone-dalvik-heap.mk or something?
$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)