Permalink
Browse files

am 3e0d206: Let VoiceDialer.apk depend on libsrec_jni and srec data f…

…iles.

* commit '3e0d206155efe1ecb1b5da9c7ed4a068ba07c8d9':
  Let VoiceDialer.apk depend on libsrec_jni and srec data files.
  • Loading branch information...
2 parents 89b4742 + 3e0d206 commit eebfc84a3c8baa6914ab48a1fe88db2efeb12ac1 @wangying1015 wangying1015 committed with Android Git Automerger Jun 18, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 Android.mk
View
@@ -7,8 +7,15 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \
LOCAL_PACKAGE_NAME := VoiceDialer
+LOCAL_REQUIRED_MODULES := libsrec_jni
include $(BUILD_PACKAGE)
+# Install the srec data files if VoiceDialer.apk is installed to system image.
+include external/srec/config/en.us/config.mk
+$(LOCAL_INSTALLED_MODULE) : | $(SREC_CONFIG_TARGET_FILES)
+# SREC_CONFIG_TARGET_FILES is from external/srec/config/en.us/config.mk and now can be cleaned up.
+SREC_CONFIG_TARGET_FILES :=
+
# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))

0 comments on commit eebfc84

Please sign in to comment.