Index: platform_tools/android/tests/expectations/tool/Android.mk |
diff --git a/platform_tools/android/tests/expectations/tool/Android.mk b/platform_tools/android/tests/expectations/tool/Android.mk |
index 7cb3e83ec02212c25316b9559a5343bf786f6d15..8c0389d483fe2d29e1ebae6d99735b216416ae63 100644 |
--- a/platform_tools/android/tests/expectations/tool/Android.mk |
+++ b/platform_tools/android/tests/expectations/tool/Android.mk |
@@ -39,7 +39,13 @@ LOCAL_MODULE_TAGS := \ |
LOCAL_MODULE := \ |
local_module |
-LOCAL_PICKUP_FILES := \ |
- $(LOCAL_PATH)/../resources |
+ |
+# Setup directory to store skia's resources in the directory structure that |
+# the Android testing infrastructure expects |
+skia_res_dir := $(call intermediates-dir-for,PACKAGING,skia_resources)/DATA |
+$(shell mkdir -p $(skia_res_dir)) |
+$(shell cp -r $(LOCAL_PATH)/../resources/. $(skia_res_dir)/skia_resources) |
+LOCAL_PICKUP_FILES := $(skia_res_dir) |
+skia_res_dir := |
include $(BUILD_NATIVE_TEST) |