summaryrefslogtreecommitdiff
path: root/icu4c/source/stubdata/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'icu4c/source/stubdata/Android.mk')
-rw-r--r--icu4c/source/stubdata/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/icu4c/source/stubdata/Android.mk b/icu4c/source/stubdata/Android.mk
index 3dd824936..b3db1d9b7 100644
--- a/icu4c/source/stubdata/Android.mk
+++ b/icu4c/source/stubdata/Android.mk
@@ -35,7 +35,9 @@ LOCAL_SRC_FILES := $(dat_file)
LOCAL_IS_HOST_MODULE := true
include $(BUILD_PREBUILT)
-$(call dist-for-goals, layoutlib, $(LOCAL_MODULE_PATH)/$(dat_file):layoutlib_native/icu/$(dat_file))
+ifneq (,$(wildcard frameworks/layoutlib))
+ $(call dist-for-goals, layoutlib, $(LOCAL_MODULE_PATH)/$(dat_file):layoutlib_native/icu/$(dat_file))
+endif
# Module definition producing ICU .dat prebuilt files in
# /system/etc/icu for standalone ART testing purposes. This is a