OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a85609
)
Check $(built_dex) to determine if we can run dex-preopt.
author
Ying Wang
<wangying@google.com>
Wed, 8 Oct 2014 21:48:07 +0000
(14:48 -0700)
committer
Ying Wang
<wangying@google.com>
Wed, 8 Oct 2014 22:23:24 +0000
(15:23 -0700)
Change-Id: Icfed37f50671ec041f2cfdcec9175cb094b572fc
core/dex_preopt_odex_install.mk
patch
|
blob
|
history
diff --git
a/core/dex_preopt_odex_install.mk
b/core/dex_preopt_odex_install.mk
index
28282ec
..
741f9a3
100644
(file)
--- 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