Merge commit '66b8b530187b129934a685bf0c4349eef00e4b0c' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master. Change-Id: I7594bb72dd7e847292eb502edd918e41318aac29 Merged-In: Ide82473d358719f7e01cd2a4a85db954f3722f14
This commit is contained in:
13
core/java.mk
13
core/java.mk
@@ -369,6 +369,19 @@ include $(BUILD_SYSTEM)/java_common.mk
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_HAS_RS_SOURCES := $(if $(renderscript_sources),true)
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_RS_SOURCE_INTERMEDIATES_DIR := $(intermediates.COMMON)/renderscript
|
||||
|
||||
# Set the profile source so that the odex / profile code included from java.mk
|
||||
# can find it.
|
||||
#
|
||||
# TODO: b/64896089, this is broken when called from package_internal.mk, since the file
|
||||
# we preopt from is a temporary file. This will be addressed in a follow up, possibly
|
||||
# by disabling stripping for profile guided preopt (which may be desirable for other
|
||||
# reasons anyway).
|
||||
#
|
||||
# Note that we set this only when called from package_internal.mk and not in other cases.
|
||||
ifneq (,$(called_from_package_internal)
|
||||
dex_preopt_profile_src_file := $(LOCAL_BUILT_MODULE)
|
||||
endif
|
||||
|
||||
#######################################
|
||||
# defines built_odex along with rule to install odex
|
||||
include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk
|
||||
|
Reference in New Issue
Block a user