]> git.saurik.com Git - android/aapt.git/blobdiff - Android.mk
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don...
[android/aapt.git] / Android.mk
index 499a7aca59323ff47a72c2724f28d12a20dea09c..b339a2cd2eb024809bf9de0081fe4fe9160a8ccc 100644 (file)
@@ -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