am 5c7039fb: Merge "Remove dead code."
* commit '5c7039fb069c040759df0a5a15241dd7f8b2f9b7': Remove dead code.
This commit is contained in:
commit
16ae8b4dd1
|
@ -398,36 +398,6 @@ define add-dependency
|
||||||
$(1): $(2)
|
$(1): $(2)
|
||||||
endef
|
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
|
## The intermediates directory. Where object files go for
|
||||||
## a given target. We could technically get away without
|
## a given target. We could technically get away without
|
||||||
|
|
Loading…
Reference in New Issue