diff options
author | Joe Onorato <joeo@android.com> | 2010-06-10 18:34:55 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-06-10 18:36:57 -0700 |
commit | 74905e5b0a471f727ae5bed770c2c7441f5163a1 (patch) | |
tree | ba1f3dd11aa3bb841a9db8d0fd845ccf9aff71e2 /tools | |
parent | 75b6a6b972e6b18143fd629d3d9c824c442c5f4c (diff) | |
download | frameworks_base-74905e5b0a471f727ae5bed770c2c7441f5163a1.zip frameworks_base-74905e5b0a471f727ae5bed770c2c7441f5163a1.tar.gz frameworks_base-74905e5b0a471f727ae5bed770c2c7441f5163a1.tar.bz2 |
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
Change-Id: I9896b11a9b90cbbbe2170243c8bdbc40231dfbff
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aapt/Android.mk | 4 | ||||
-rw-r--r-- | tools/aidl/Android.mk | 5 |
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 |