]> git.saurik.com Git - android/aapt.git/commitdiff
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don...
authorJoe Onorato <joeo@android.com>
Fri, 11 Jun 2010 01:34:55 +0000 (18:34 -0700)
committerJoe Onorato <joeo@android.com>
Fri, 11 Jun 2010 01:36:57 +0000 (18:36 -0700)
Change-Id: I9896b11a9b90cbbbe2170243c8bdbc40231dfbff

Android.mk

index 499a7aca59323ff47a72c2724f28d12a20dea09c..b339a2cd2eb024809bf9de0081fe4fe9160a8ccc 100644 (file)
@@ -4,6 +4,9 @@
 # Android Asset Packaging Tool
 #
 
 # 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)
 
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -53,3 +56,4 @@ LOCAL_MODULE := aapt
 
 include $(BUILD_HOST_EXECUTABLE)
 
 
 include $(BUILD_HOST_EXECUTABLE)
 
+endif # TARGET_BUILD_APPS