vr: Use project pathmap

Change-Id: Ibbb0dc70cc8ad3aff5d6652a675d7c58ddce3271
diff --git a/Android.mk b/Android.mk
index c449f3c..7d47999 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,6 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+ifeq ($(call my-dir),$(call project-path-for,qcom-vr))
+
 LOCAL_PATH := $(call my-dir)
 
 include $(CLEAR_VARS)
@@ -35,3 +37,5 @@
 LOCAL_CFLAGS += -Wno-unused-parameter
 
 include $(BUILD_SHARED_LIBRARY)
+
+endif