From b3733086ab415088b97fac20b3eea24433a7d2c5 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Mon, 12 Aug 2013 17:28:49 -0700 Subject: 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 --- oatdump/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oatdump') diff --git a/oatdump/Android.mk b/oatdump/Android.mk index bf5c41b74e..a63b229846 100644 --- a/oatdump/Android.mk +++ b/oatdump/Android.mk @@ -22,10 +22,10 @@ OATDUMP_SRC_FILES := \ include art/build/Android.executable.mk ifeq ($(ART_BUILD_TARGET_NDEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,ndebug)) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),libcutils,,target,ndebug)) endif ifeq ($(ART_BUILD_TARGET_DEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,debug)) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),libcutils,,target,debug)) endif ifeq ($(WITH_HOST_DALVIK),true) -- cgit v1.2.3