forked from openkylin/platform_build
am edb9df24: Merge "Check to determine if we can run dex-preopt." into lmp-dev
* commit 'edb9df24d00091a5206ba36d7f32ed75d6c462b9': Check $(built_dex) to determine if we can run dex-preopt.
This commit is contained in:
commit
c206b0671f
|
@ -25,7 +25,7 @@ endif
|
|||
ifdef LOCAL_UNINSTALLABLE_MODULE
|
||||
LOCAL_DEX_PREOPT :=
|
||||
endif
|
||||
ifeq (,$(strip $(all_java_sources)$(full_static_java_libs)$(my_prebuilt_src_file))) # contains no java code
|
||||
ifeq (,$(strip $(built_dex)$(my_prebuilt_src_file))) # contains no java code
|
||||
LOCAL_DEX_PREOPT :=
|
||||
endif
|
||||
# if module oat file requested in data, disable LOCAL_DEX_PREOPT, will default location to dalvik-cache
|
||||
|
|
Loading…
Reference in New Issue