build fix for vts_arm64 target
Change-Id: I0ef7df2975809de0cfde0df78e85ce068168cbf9
diff --git a/hals/light/bullhead/Android.mk b/hals/light/bullhead/Android.mk
index 8a4568f..190ca9e 100644
--- a/hals/light/bullhead/Android.mk
+++ b/hals/light/bullhead/Android.mk
@@ -51,6 +51,8 @@
LOCAL_COMPATIBILITY_SUITE := vts
+VTS_GCNO_MODULE := $(LOCAL_MODULE)
+
include $(BUILD_SHARED_LIBRARY)
include $(LOCAL_PATH)/../../../tools/build/Android.packaging_sharedlib.mk
diff --git a/tools/build/Android.packaging_gcno.mk b/tools/build/Android.packaging_gcno.mk
index a270451..6e6d493 100644
--- a/tools/build/Android.packaging_gcno.mk
+++ b/tools/build/Android.packaging_gcno.mk
@@ -18,8 +18,9 @@
vts_framework_lib_gcno_file := $(VTS_TESTCASES_OUT)/${LOCAL_MODULE}_${VTS_GCNO_FILE}.gcno
-$(vts_framework_lib_gcno_file): $(call intermediates-dir-for,SHARED_LIBRARIES,$(LOCAL_MODULE))/${VTS_GCNO_FILE}.gcno | $(ACP)
+$(vts_framework_lib_gcno_file): $(call intermediates-dir-for,SHARED_LIBRARIES,$(VTS_GCNO_MODULE))/${VTS_GCNO_FILE}.gcno | $(ACP)
$(hide) mkdir -p $(VTS_TESTCASES_OUT)
$(hide) $(ACP) -fp $< $@
vts: $(vts_framework_lib_gcno_file)
+