OSDN Git Service

mock-ril: fix compiling an issue on Mac OS X
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 26 Jan 2011 09:13:56 +0000 (17:13 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 2 May 2011 10:54:13 +0000 (18:54 +0800)
commit4a76897b449a4eb71c486106ad36abf991c320af
treebc05df91ec392cba0619d5d87b7a66fb0a44793d
parent3b1530aef62476248825a2092c9aea800395c3b1
mock-ril: fix compiling an issue on Mac OS X

The $(src_java) and $(gen_src_java) are empty in mock-ril/Android.mk
if the architecuture is not arm, or the build is non-debug variants.
It results in a "find  -name ..." statement with an empty searching
directory by $(call all-java-files-under,...) of librilproto-java.
The BSD derived find on Mac OS X complains about that.

The patch tried to fix the issue in the ways:

* always defines $(src_java) and $(gen_src_java) no matter what TARGET_ARCH is.
* only defines module librilproto-java in debug variants build.

Change-Id: I8a04657d280abc8df1fc3cf95d7143c2225f6ef5

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
mock-ril/Android.mk