summaryrefslogtreecommitdiffstats
path: root/dex2oat/Android.mk
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2013-08-12 17:28:49 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2013-08-13 13:53:12 -0700
commitb3733086ab415088b97fac20b3eea24433a7d2c5 (patch)
treead853d385e5c113e5d6248d0f7d198d7d9136865 /dex2oat/Android.mk
parent4baa8083ae0820f71cf0f03b94fd7f8d3b9bfa46 (diff)
downloadart-b3733086ab415088b97fac20b3eea24433a7d2c5.zip
art-b3733086ab415088b97fac20b3eea24433a7d2c5.tar.gz
art-b3733086ab415088b97fac20b3eea24433a7d2c5.tar.bz2
Add a systrace support for lock contention logging.
- Now several ART executables like oatdump need to link with libcutils as the mutex code is shared among them. - The blocking thread ID and lock owner thread ID are passed to ScopedContentionRecorder in the correct order. Bug: 9986464 Change-Id: Id766de23fbc4af1d8ba2de051595e365b04f5ae7
Diffstat (limited to 'dex2oat/Android.mk')
-rw-r--r--dex2oat/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/dex2oat/Android.mk b/dex2oat/Android.mk
index 5cfab51..05dcd7b 100644
--- a/dex2oat/Android.mk
+++ b/dex2oat/Android.mk
@@ -22,10 +22,10 @@ DEX2OAT_SRC_FILES := \
dex2oat.cc
ifeq ($(ART_BUILD_TARGET_NDEBUG),true)
- $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,art/compiler,target,ndebug))
+ $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libcutils libart-compiler,art/compiler,target,ndebug))
endif
ifeq ($(ART_BUILD_TARGET_DEBUG),true)
- $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,art/compiler,target,debug))
+ $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libcutils libartd-compiler,art/compiler,target,debug))
endif
ifeq ($(WITH_HOST_DALVIK),true)