summaryrefslogtreecommitdiffstats
path: root/tools/aidl/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aidl/Android.mk')
-rw-r--r--tools/aidl/Android.mk5
1 files changed, 4 insertions, 1 deletions
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