summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
author Dehao Chen <dehao@google.com> 2014-11-13 14:13:58 -0800
committer Dehao Chen <dehao@google.com> 2014-11-20 23:47:55 +0000
commit6c36a8bc6c514664ad91ce377df33de839342a8d (patch)
tree735cf8dc77e270b8d26a80af2992780a798d6cae /compiler
parent0c45167f110ddd4912b228c6ea04965f10de5873 (diff)
Restrict FDO to only apply to target build.
Change-Id: I0ef4199b34c123a17eaf2c2f18bc8a1496e03cf8
Diffstat (limited to 'compiler')
-rw-r--r--compiler/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/Android.mk b/compiler/Android.mk
index 3e0378ce2f..eb9ad475b4 100644
--- a/compiler/Android.mk
+++ b/compiler/Android.mk
@@ -207,7 +207,9 @@ define build-libart-compiler
ifeq ($$(art_ndebug_or_debug),ndebug)
LOCAL_MODULE := libart-compiler
LOCAL_SHARED_LIBRARIES += libart
- LOCAL_FDO_SUPPORT := true
+ ifeq ($$(art_target_or_host),target)
+ LOCAL_FDO_SUPPORT := true
+ endif
else # debug
LOCAL_MODULE := libartd-compiler
LOCAL_SHARED_LIBRARIES += libartd