summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-02-19 18:47:49 -0800
committerYing Wang <wangying@google.com>2010-03-02 09:36:33 -0800
commitc882ddacc8b3085a51f8ae18d89d8fd1d055141f (patch)
treea0dc4328f367ebd4ff70eb150feb1e53eb924ccb /packages
parent43242d02e931c116d7f334cda2b0d677bedfdd97 (diff)
downloadframeworks_base-c882ddacc8b3085a51f8ae18d89d8fd1d055141f.zip
frameworks_base-c882ddacc8b3085a51f8ae18d89d8fd1d055141f.tar.gz
frameworks_base-c882ddacc8b3085a51f8ae18d89d8fd1d055141f.tar.bz2
Fix Proguard flags.
Diffstat (limited to 'packages')
-rw-r--r--packages/TtsService/Android.mk2
-rw-r--r--packages/TtsService/proguard.flags5
2 files changed, 7 insertions, 0 deletions
diff --git a/packages/TtsService/Android.mk b/packages/TtsService/Android.mk
index 5eb6b9c..75b26a2 100644
--- a/packages/TtsService/Android.mk
+++ b/packages/TtsService/Android.mk
@@ -8,6 +8,8 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files) \
LOCAL_PACKAGE_NAME := TtsService
LOCAL_CERTIFICATE := platform
+LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
+
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/packages/TtsService/proguard.flags b/packages/TtsService/proguard.flags
new file mode 100644
index 0000000..e8bee6b
--- /dev/null
+++ b/packages/TtsService/proguard.flags
@@ -0,0 +1,5 @@
+-keep class android.tts.SynthProxy {
+ int mJniData;
+ # keep all declarations for native methods
+ <methods>;
+}