summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-03-20 17:06:26 -0700
committerRichard Uhler <ruhler@google.com>2015-03-23 08:57:57 -0700
commit3296f4cb397f75044e7bd5f9b345f4b29d0275f3 (patch)
treef7738e2878b6a7390bfd6b77646a806ecd915a88 /dex2oat
parentf5988cf0c47ff935bb19c89ed0398be5fbe44bb6 (diff)
downloadart-3296f4cb397f75044e7bd5f9b345f4b29d0275f3.zip
art-3296f4cb397f75044e7bd5f9b345f4b29d0275f3.tar.gz
art-3296f4cb397f75044e7bd5f9b345f4b29d0275f3.tar.bz2
Host dex2oat and patchoat require libcutils.
When atrace_* functions are defined for both target and host, host dex2oat and patchoat require libcutils. Change-Id: I89397e83986686a2b6a6f245c25017eb379081b1
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/dex2oat/Android.mk b/dex2oat/Android.mk
index 3f15964..321cd75 100644
--- a/dex2oat/Android.mk
+++ b/dex2oat/Android.mk
@@ -46,8 +46,8 @@ endif
# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since they are used to cross compile for the target.
ifeq ($(ART_BUILD_HOST_NDEBUG),true)
- $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler libziparchive-host,art/compiler,host,ndebug,$(dex2oat_host_arch)))
+ $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libcutils libart-compiler libziparchive-host,art/compiler,host,ndebug,$(dex2oat_host_arch)))
endif
ifeq ($(ART_BUILD_HOST_DEBUG),true)
- $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler libziparchive-host,art/compiler,host,debug,$(dex2oat_host_arch)))
+ $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libcutils libartd-compiler libziparchive-host,art/compiler,host,debug,$(dex2oat_host_arch)))
endif