Merge "Record the compilation reson in oat files for prebuilts" am: 87774191b3

am: 1697a9b6f0

Change-Id: Id4f91219fd5f3778bc32210f16ba9278fdd42388
This commit is contained in:
Calin Juravle 2018-02-16 03:27:05 +00:00 committed by android-build-merger
commit 92fc421d24
1 changed files with 4 additions and 0 deletions

View File

@ -260,6 +260,10 @@ ifeq (true, $(my_system_server_debug_info))
endif
endif
# Set the compiler reason to 'prebuilt' to identify the oat files produced
# during the build, as opposed to compiled on the device.
LOCAL_DEX_PREOPT_FLAGS += --compilation-reason=prebuilt
$(built_odex): PRIVATE_DEX_PREOPT_FLAGS := $(LOCAL_DEX_PREOPT_FLAGS)
$(built_vdex): $(built_odex)
$(built_art): $(built_odex)