From dc6bb0477d924c6054d161b990fe6dc80d373c50 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 12 Feb 2014 17:38:46 -0800 Subject: [PATCH] Remove dead code. Change-Id: Ia36a04037e15cbf296f375f3ece9a7e977fdca1e --- core/definitions.mk | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/core/definitions.mk b/core/definitions.mk index cb324dda9..0ba0f750d 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -398,36 +398,6 @@ define add-dependency $(1): $(2) endef -########################################################### -## Set up the dependencies for a prebuilt target -## $(call add-prebuilt-file, srcfile, [targetclass]) -########################################################### - -define add-prebuilt-file - $(eval $(include-prebuilt)) -endef - -define include-prebuilt - include $$(CLEAR_VARS) - LOCAL_SRC_FILES := $(1) - LOCAL_BUILT_MODULE_STEM := $(1) - LOCAL_MODULE_SUFFIX := $$(suffix $(1)) - LOCAL_MODULE := $$(basename $(1)) - LOCAL_MODULE_CLASS := $(2) - include $$(BUILD_PREBUILT) -endef - -########################################################### -## do multiple prebuilts -## $(call target class, files ...) -########################################################### - -define add-prebuilt-files - $(foreach f,$(2),$(call add-prebuilt-file,$f,$(1))) -endef - - - ########################################################### ## The intermediates directory. Where object files go for ## a given target. We could technically get away without