summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joe Onorato <joeo@android.com> 2010-06-15 13:58:33 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-06-15 13:58:33 -0700
commit9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a (patch)
treefda58a5e640bfa76cfa3a44b7bf3b56f52530d58
parent457738e628ee4d165014996bcf4e8d1983ac5929 (diff)
parent74905e5b0a471f727ae5bed770c2c7441f5163a1 (diff)
Merge "The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them." into froyo
-rw-r--r--tools/aapt/Android.mk4
-rw-r--r--tools/aidl/Android.mk5
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk
index 499a7aca5932..b339a2cd2eb0 100644
--- a/tools/aapt/Android.mk
+++ b/tools/aapt/Android.mk
@@ -4,6 +4,9 @@
# Android Asset Packaging Tool
#
+# This tool is prebuilt if we're doing an app-only build.
+ifeq ($(TARGET_BUILD_APPS),)
+
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -53,3 +56,4 @@ LOCAL_MODULE := aapt
include $(BUILD_HOST_EXECUTABLE)
+endif # TARGET_BUILD_APPS
diff --git a/tools/aidl/Android.mk b/tools/aidl/Android.mk
index 944aeb60da91..2ad0728c2218 100644
--- a/tools/aidl/Android.mk
+++ b/tools/aidl/Android.mk
@@ -2,6 +2,9 @@
#
# Copies files into the directory structure described by a manifest
+# This tool is prebuilt if we're doing an app-only build.
+ifeq ($(TARGET_BUILD_APPS),)
+
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -21,4 +24,4 @@ LOCAL_MODULE := aidl
include $(BUILD_HOST_EXECUTABLE)
-
+endif # TARGET_BUILD_APPS