diff options
Diffstat (limited to 'platform_tools')
-rw-r--r-- | platform_tools/android/gyp_gen/tool_makefile_writer.py | 13 | ||||
-rw-r--r-- | platform_tools/android/tests/expectations/tool/Android.mk | 13 |
2 files changed, 10 insertions, 16 deletions
diff --git a/platform_tools/android/gyp_gen/tool_makefile_writer.py b/platform_tools/android/gyp_gen/tool_makefile_writer.py index ac00be8e1c..2fef11009d 100644 --- a/platform_tools/android/gyp_gen/tool_makefile_writer.py +++ b/platform_tools/android/gyp_gen/tool_makefile_writer.py @@ -16,14 +16,11 @@ import vars_dict_lib SKIA_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 := - +# Store skia's resources in the directory structure that the Android testing +# infrastructure expects. This requires that Skia maintain a symlinked +# subdirectory in the DATA folder that points to the top level skia resources... +# i.e. external/skia/DATA/skia_resources --> ../resources +LOCAL_PICKUP_FILES := $(LOCAL_PATH)/../DATA """ ) diff --git a/platform_tools/android/tests/expectations/tool/Android.mk b/platform_tools/android/tests/expectations/tool/Android.mk index 8c0389d483..b5ecbe4195 100644 --- a/platform_tools/android/tests/expectations/tool/Android.mk +++ b/platform_tools/android/tests/expectations/tool/Android.mk @@ -40,12 +40,9 @@ LOCAL_MODULE := \ local_module -# 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 := - +# Store skia's resources in the directory structure that the Android testing +# infrastructure expects. This requires that Skia maintain a symlinked +# subdirectory in the DATA folder that points to the top level skia resources... +# i.e. external/skia/DATA/skia_resources --> ../resources +LOCAL_PICKUP_FILES := $(LOCAL_PATH)/../DATA include $(BUILD_NATIVE_TEST) |