summaryrefslogtreecommitdiffstats
path: root/core/dex_preopt_odex_install.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-01-22 16:50:21 -0800
committerYing Wang <wangying@google.com>2014-01-24 13:37:11 -0800
commit5c7fed28f2c06e80182a08e36318d66e494a5a33 (patch)
tree972cb4ed9ff2dcf5f312151b7af63f7d709858b5 /core/dex_preopt_odex_install.mk
parentdd814bf8c20c4bbc641cc7cb71685c53e92977e1 (diff)
downloadbuild-5c7fed28f2c06e80182a08e36318d66e494a5a33.zip
build-5c7fed28f2c06e80182a08e36318d66e494a5a33.tar.gz
build-5c7fed28f2c06e80182a08e36318d66e494a5a33.tar.bz2
Make sure to install the .odex when running "make <module_name>"
Change-Id: I64195294dad15b7d379d667f4c4738c2808fd384
Diffstat (limited to 'core/dex_preopt_odex_install.mk')
-rw-r--r--core/dex_preopt_odex_install.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dex_preopt_odex_install.mk b/core/dex_preopt_odex_install.mk
index e0932a9..b0b73af 100644
--- a/core/dex_preopt_odex_install.mk
+++ b/core/dex_preopt_odex_install.mk
@@ -65,4 +65,7 @@ endif
# Add the installed_odex to the list of installed files for this module.
ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(installed_odex)
+# Make sure to install the .odex when you run "make <module_name>"
+$(my_register_name): $(installed_odex)
+
endif # LOCAL_DEX_PREOPT