aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorkeunyoung <keunyoung@google.com>2013-03-13 15:12:31 -0700
committerkeunyoung <keunyoung@google.com>2013-03-13 15:15:57 -0700
commita0f3a809d88e871ca5298b3c7aea2f4b5fc43839 (patch)
tree3de75ce9a2aa02ec185a4eac699200d889d0f8cc /Android.mk
parentb037a8706d394afd803af6a20fe7cae0d9248e30 (diff)
downloadandroid_frameworks_opt_telephony-a0f3a809d88e871ca5298b3c7aea2f4b5fc43839.tar.gz
android_frameworks_opt_telephony-a0f3a809d88e871ca5298b3c7aea2f4b5fc43839.tar.bz2
android_frameworks_opt_telephony-a0f3a809d88e871ca5298b3c7aea2f4b5fc43839.zip
fix PDK no-java build
- As this component is in PDK, it should not be built when necessary frameworks libraries are not available. - For full platform source tree, the ...JAVA_SUPPORT_LEVEL is platform. Change-Id: I6d37970ab7a3e5183d3a04b003ec3f81f907abc8
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index eb359bc76..b0ab1d042 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# enable this build only when platform library is available
+ifeq ($(TARGET_BUILD_JAVA_SUPPORT_LEVEL),platform)
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -31,3 +34,4 @@ include $(BUILD_JAVA_LIBRARY)
# ============================================================
include $(call all-makefiles-under,$(LOCAL_PATH))
+endif # JAVA platform