summaryrefslogtreecommitdiffstats
path: root/core/executable_prefer_symlink.mk
Commit message (Collapse)AuthorAgeFilesLines
* Improved nothing-to-do-buildYing Wang2015-02-261-1/+4
| | | | | | | | | | | | | - Removed unnecessary dependency of "$(my_symlink) : $(LOCAL_INSTALLED_MODULE)" We can generate symlink to nonexistent file. Actually in multilib build $(LOCAL_INSTALLED_MODULE) points to file that may not be the target file of the symlink and leads to always obsolete $(my_symlink) in the above dependnecy. - Touch by-product in the dummy rule, to make sure the by-product is newer than the main-product. Change-Id: I2f0e0cc197c49f920fa1f6794083b21cdc333c20
* Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"Nicolas Geoffray2014-11-251-18/+25
| | | | | | | | This breaks our build-art-host and build-art-target. I think we need to rewrite those rules as well. This reverts commit 29f0a487b05f87cc3a6c9fbb7e7ae885064e27be. Change-Id: I2e6674e01a2042e9d53e28ecd3e6bdf76fa806a3
* Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mkYing Wang2014-11-241-25/+18
| | | | Change-Id: I4a2827b2cdbb0bf5a8ca960561fbe17cc80cc275
* Fix broken comparison in executable_prefer_symlink.mkNarayan Kamath2014-08-141-1/+1
| | | | | bug: 17024634 Change-Id: Ie9fdcbca1cbd6d204be57636864bb8074cd19732
* resolved conflicts for merge of da92aef7 to masterBrian Carlstrom2014-06-281-18/+29
|\ | | | | | | Change-Id: I70b608d48b0e7cfea3d970101769c156a211f861
| * Host support for prefer symlinkIan Rogers2014-06-271-9/+21
| | | | | | | | | | | | | | We need a host symlink for dalvik, our *-dalvik-host build targets are failing. Change-Id: I6045de20c948b456a150033deb3459895aff83c6
* | Fix issue in symlinking 64 bit executables.Narayan Kamath2014-06-171-1/+12
|/ | | | | | | | | | We were not inspecting the value of TARGET_SUPPORTS_{32,64}_BIT_APPS so we'd sometimes create the wrong symlink if TARGET_IS_64_BIT was true. bug: 15661143 Change-Id: I2a6eb3278445fcd14bc9dc9312f41f972ea77971
* Fix executable symlinks.Narayan Kamath2014-05-141-1/+9
| | | | | | | 32 bit targets will leave TARGET_PREFER_{32,64}_BIT_APPS unset so adjust accordingly. Also clean up an explanatory comment. Change-Id: I1f6faa640e4e862631fff49f7c565766ef2c567f
* executable_prefer_symlink: add makefile for creating symlink to prefer versionYongqin Liu2014-05-091-0/+25
For a 64bit target, we can have support for both 32bit and 64bit version binary(like app_process, dalvikvm), and there are some commands like am/pm will call these commands to implement it's function. In some targets it will prefer to use the 32bit version, and in other targets it will prefer to use the 64bit version. So this change is to add the common work for creating the symlink to the prefer version binary,and avoid the change on the caller commands side like am/pm. In this change, it uses TARGET_PREFER_32_BIT_APPS to decide linking to 32bit version or 64bit version. Change-Id: I96f041c0e0ededd953feead30ec63ad63e945a6f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>