am ded6640d: Merge "Don\'t set up the prebuilt apk rule twice."

* commit 'ded6640d970d83cb18ce2585565c11799064f5e0':
  Don't set up the prebuilt apk rule twice.
This commit is contained in:
Ying Wang
2014-12-02 17:45:44 +00:00
committed by Android Git Automerger

View File

@@ -25,6 +25,10 @@ include $(BUILD_SYSTEM)/prebuilt_internal.mk
ifneq ($(my_module_multilib),both)
my_skip_non_preferred_arch := true
endif # $(my_module_multilib)
# For apps, we don't want to set up the prebuilt apk rule twice even if "LOCAL_MULTILIB := both".
ifeq (APPS,$(LOCAL_MODULE_CLASS))
my_skip_non_preferred_arch := true
endif
endif # $(my_module_arch_supported)
ifndef my_skip_non_preferred_arch