OSDN Git Service

Let get-prebuilt-src-arch return empty if the input is empty
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 4 Oct 2015 16:28:47 +0000 (00:28 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 09:24:37 +0000 (17:24 +0800)
commit01ef075bbe51223278b428da040a6ced8fd2e595
treefeef42d792b663fc2100caf06aac423a45e23bcd
parent4410ee01f00cb9e0efd01d457ac2300953f7e09f
Let get-prebuilt-src-arch return empty if the input is empty

The list of archs of a pure java apk (no native libs) is empty.
In this case get-prebuilt-src-arch still return 'none'.
If it's set to LOCAL_MODULE_TARGET_ARCH, it makes the apk
be incompatible with the building target. It's not good.

Just return empty in this case.

Change-Id: Ide75cdb08c8480c8e7d3a0ac59f41831fbc18bd5
core/definitions.mk