summaryrefslogtreecommitdiffstats
path: root/native/Android.mk
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-07-14 08:32:57 +0900
committersatok <satok@google.com>2011-07-14 08:32:57 +0900
commit787945bf1ef2e5449b5df16dfe15beeb0fd7cb71 (patch)
tree64beb0ea9366063c026b536d3f245dce58d4ab1b /native/Android.mk
parent6a6aad07589d7c321d53322ead950e47e8d09272 (diff)
downloadandroid_packages_inputmethods_LatinIME-787945bf1ef2e5449b5df16dfe15beeb0fd7cb71.tar.gz
android_packages_inputmethods_LatinIME-787945bf1ef2e5449b5df16dfe15beeb0fd7cb71.tar.bz2
android_packages_inputmethods_LatinIME-787945bf1ef2e5449b5df16dfe15beeb0fd7cb71.zip
Fix build for profiling
Change-Id: I39cd0fa37fb738dcbbcf82839b6bb030e3af606b
Diffstat (limited to 'native/Android.mk')
-rw-r--r--native/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/native/Android.mk b/native/Android.mk
index c22191319..f8cc45d0a 100644
--- a/native/Android.mk
+++ b/native/Android.mk
@@ -31,6 +31,10 @@ ifeq ($(FLAG_DBG), true)
TARGETING_UNBUNDLED_FROYO := false
endif
+ifeq ($(FLAG_DO_PROFILE), true)
+ TARGETING_UNBUNDLED_FROYO := false
+endif
+
ifeq ($(TARGETING_UNBUNDLED_FROYO), true)
LOCAL_NDK_VERSION := 4
LOCAL_SDK_VERSION := 8
@@ -43,6 +47,7 @@ LOCAL_MODULE_TAGS := user
ifeq ($(FLAG_DO_PROFILE), true)
$(warning Making profiling version of native library)
LOCAL_CFLAGS += -DFLAG_DO_PROFILE
+ LOCAL_SHARED_LIBRARIES := libcutils libutils
else # FLAG_DO_PROFILE
ifeq ($(FLAG_DBG), true)
$(warning Making debug version of native library)