diff options
author | Ying Wang <wangying@google.com> | 2014-10-08 14:48:07 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-10-08 15:23:24 -0700 |
commit | 62fb8a1f5591d1b664ba6ee3bad5bb8c83c5eaef (patch) | |
tree | f49cf72b2ae94271d2a34e3ccd96750e54ea4457 /core | |
parent | 1a856098ea819a75ad904ff6d6dcfac9545a02a6 (diff) | |
download | build-62fb8a1f5591d1b664ba6ee3bad5bb8c83c5eaef.zip build-62fb8a1f5591d1b664ba6ee3bad5bb8c83c5eaef.tar.gz build-62fb8a1f5591d1b664ba6ee3bad5bb8c83c5eaef.tar.bz2 |
Check $(built_dex) to determine if we can run dex-preopt.
Change-Id: Icfed37f50671ec041f2cfdcec9175cb094b572fc
Diffstat (limited to 'core')
-rw-r--r-- | core/dex_preopt_odex_install.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dex_preopt_odex_install.mk b/core/dex_preopt_odex_install.mk index 28282ec..741f9a3 100644 --- a/core/dex_preopt_odex_install.mk +++ b/core/dex_preopt_odex_install.mk @@ -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 |