commit | d3624d5f4850e4cb0676f4a9897fe77524403b8c | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Apr 10 12:28:56 2014 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Apr 10 15:49:32 2014 -0700 |
tree | c7924ad4b66510432d7dbe36a62b5ceda0c7b2fb | |
parent | 13eaf184f6e5c803f52f5003ace36bafe64671c9 [diff] |
build: fix TARGET_PREFER_32_BIT TARGET_PREFER_32_BIT can't assume that the 32-bit rule is allowed, it needs to try the 32-bit rule first, then fall back to the 64-bit rule in case the module specifies LOCAL_MODULE_TARGET_ARCH or LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH to disallow the 32-bit build. Also port TARGET_PREFER_32_BIT to package.mk. Change-Id: I07520b75c4ee11a1e95a82b3afa2a33d4907eb04