summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-02-12 17:38:46 -0800
committerYing Wang <wangying@google.com>2014-02-12 17:38:46 -0800
commitdc6bb0477d924c6054d161b990fe6dc80d373c50 (patch)
tree81c7cbb8bca701d0a810ef6e357686948503bb58 /core
parent7cd7bd65fd2e81b8c05787fd7f0b8c91b6033239 (diff)
downloadbuild-dc6bb0477d924c6054d161b990fe6dc80d373c50.zip
build-dc6bb0477d924c6054d161b990fe6dc80d373c50.tar.gz
build-dc6bb0477d924c6054d161b990fe6dc80d373c50.tar.bz2
Remove dead code.
Change-Id: Ia36a04037e15cbf296f375f3ece9a7e977fdca1e
Diffstat (limited to 'core')
-rw-r--r--core/definitions.mk30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index cb324dd..0ba0f75 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -399,36 +399,6 @@ $(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
## the "_intermediates" suffix on the directory, but it's