Fix LOCAL_PATH in tests.
Currently blocking large-scale-change to add NOTICE file.
Test: m all
Bug: 151177513
Change-Id: I646fdc193cc927445b80867de8b4e61cb58c1943
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 2bc2e8b7..aeda32e 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -17,6 +17,8 @@
# Build rules are excluded from Mac, since we can not run ART tests there in the first place.
ifneq ($(HOST_OS),darwin)
+LOCAL_PATH := $(call my-dir)
+
###################################################################################################
# Create module in testcases to hold all common data and tools needed for ART host tests.