diff --git a/media/mtp/Android.mk b/media/mtp/Android.mk index cb1c0d3b57a9c..7502f6e890adb 100644 --- a/media/mtp/Android.mk +++ b/media/mtp/Android.mk @@ -14,10 +14,10 @@ # limitations under the License. # -ifneq ($(TARGET_SIMULATOR),true) - LOCAL_PATH:= $(call my-dir) +ifneq ($(TARGET_SIMULATOR),true) + include $(CLEAR_VARS) LOCAL_SRC_FILES:= \