Fix broken copy of kl/kcm/idc files to system image

Bug: 10633915
Change-Id: I244b85dc92d50bf8bdcfdf0fe32556eff8c5d279
This commit is contained in:
Michael Wright
2013-09-05 15:10:20 -07:00
parent 56960fbd39
commit 37ad207edc
2 changed files with 6 additions and 3 deletions

View File

@@ -176,6 +176,9 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framew
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates/src/core/java/android/os/IBattery*)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/usr/idc/frameworks)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/usr/keylayout/frameworks)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/usr/keychars/frameworks)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

View File

@@ -17,10 +17,10 @@
include $(LOCAL_PATH)/common.mk
PRODUCT_COPY_FILES := $(foreach file,$(framework_keylayouts),\
$(file):system/usr/keylayout/$(file))
$(file):system/usr/keylayout/$(notdir $(file)))
PRODUCT_COPY_FILES += $(foreach file,$(framework_keycharmaps),\
$(file):system/usr/keychars/$(file))
$(file):system/usr/keychars/$(notdir $(file)))
PRODUCT_COPY_FILES += $(foreach file,$(framework_keyconfigs),\
$(file):system/usr/idc/$(file))
$(file):system/usr/idc/$(notdir $(file)))