summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-06-15 14:24:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-06-15 14:24:51 -0700
commitd6e3b204286e64d6ec79a88e38f58c3d87978fb0 (patch)
tree3346819563aaacfb1a590d5de7541f497849cb70 /tools
parent3ff1a5928f2d5bdd911ac59f8064ba35114dc2ec (diff)
parent9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a (diff)
downloadframeworks_base-d6e3b204286e64d6ec79a88e38f58c3d87978fb0.zip
frameworks_base-d6e3b204286e64d6ec79a88e38f58c3d87978fb0.tar.gz
frameworks_base-d6e3b204286e64d6ec79a88e38f58c3d87978fb0.tar.bz2
am 9d71860e: 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
Merge commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a' into froyo-plus-aosp * commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a': The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
Diffstat (limited to 'tools')
-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 499a7ac..b339a2c 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 944aeb6..2ad0728 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