Skip to content

Commit 9d71860

Browse files
Joe OnoratoAndroid (Google) Code Review
authored andcommitted
Merge "The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them." into froyo
2 parents 457738e + 74905e5 commit 9d71860

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tools/aapt/Android.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Android Asset Packaging Tool
55
#
66

7+
# This tool is prebuilt if we're doing an app-only build.
8+
ifeq ($(TARGET_BUILD_APPS),)
9+
710
LOCAL_PATH:= $(call my-dir)
811
include $(CLEAR_VARS)
912

@@ -53,3 +56,4 @@ LOCAL_MODULE := aapt
5356

5457
include $(BUILD_HOST_EXECUTABLE)
5558

59+
endif # TARGET_BUILD_APPS

tools/aidl/Android.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# Copies files into the directory structure described by a manifest
44

5+
# This tool is prebuilt if we're doing an app-only build.
6+
ifeq ($(TARGET_BUILD_APPS),)
7+
58
LOCAL_PATH:= $(call my-dir)
69
include $(CLEAR_VARS)
710

@@ -21,4 +24,4 @@ LOCAL_MODULE := aidl
2124

2225
include $(BUILD_HOST_EXECUTABLE)
2326

24-
27+
endif # TARGET_BUILD_APPS

0 commit comments

Comments
 (0)