diff options
-rw-r--r-- | tools/aapt/Android.mk | 4 | ||||
-rw-r--r-- | tools/aidl/Android.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk index 2949f8ecb521..806f8ff7a0d8 100644 --- a/tools/aapt/Android.mk +++ b/tools/aapt/Android.mk @@ -5,7 +5,7 @@ # # This tool is prebuilt if we're doing an app-only build. -ifeq ($(TARGET_BUILD_APPS),) +ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),) aapt_src_files := \ @@ -101,4 +101,4 @@ LOCAL_STATIC_LIBRARIES := \ include $(BUILD_EXECUTABLE) endif -endif # TARGET_BUILD_APPS +endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK diff --git a/tools/aidl/Android.mk b/tools/aidl/Android.mk index 77d46abf4881..efd60a2cda99 100644 --- a/tools/aidl/Android.mk +++ b/tools/aidl/Android.mk @@ -3,7 +3,7 @@ # 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),) +ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -26,4 +26,4 @@ LOCAL_MODULE := aidl include $(BUILD_HOST_EXECUTABLE) -endif # TARGET_BUILD_APPS +endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK |