Move Windows SDK whitelist out of main.mk

This replaces the list maintained in build/core/main.mk
by 2 makefiles in sdk.git and development.git.

Pre-requisite CLs: Change Ifa8111dbae for sdk.git
and Change Ie6f728bee for development.git

Change-Id: Id6178b000c464c989da2c7f22977986a60de1f44
This commit is contained in:
Raphael Moll 2012-01-26 15:11:46 -08:00
parent 512ce9cb42
commit 347f305181
1 changed files with 2 additions and 69 deletions

View File

@ -394,75 +394,8 @@ SDK_ONLY := true
endif
ifeq ($(SDK_ONLY),true)
# ----- SDK for Windows ------
# These configure the build targets that are available for the SDK under Windows.
# The first section defines all the C/C++ tools that can be compiled in C/C++,
# the second section defines all the Java ones (assuming javac is available.)
subdirs := \
prebuilt \
prebuilts \
build/libs/host \
build/tools/zipalign \
dalvik/dexdump \
dalvik/libdex \
dalvik/tools/dmtracedump \
dalvik/tools/hprof-conv \
development/host \
development/tools/etc1tool \
development/tools/line_endings \
development/tools/emulator/opengl \
external/clang \
external/easymock \
external/expat \
external/libpng \
external/llvm \
external/qemu \
external/sqlite/dist \
external/zlib \
frameworks/base \
frameworks/compile \
sdk/avdlauncher \
sdk/emulator/mksdcard \
sdk/sdklauncher \
system/core/adb \
system/core/fastboot \
system/core/libcutils \
system/core/liblog \
system/core/libzipfile
# The following can only be built if "javac" is available.
# This check is used when building parts of the SDK under Cygwin.
ifneq (,$(shell which javac 2>/dev/null))
subdirs += \
build/tools/signapk \
dalvik/dx \
libcore \
sdk/archquery \
sdk/androidprefs \
sdk/apkbuilder \
sdk/assetstudio \
sdk/common \
sdk/ddms \
sdk/hierarchyviewer2 \
sdk/ide_common \
sdk/jarutils \
sdk/layoutlib_api \
sdk/manifmerger \
sdk/ninepatch \
sdk/rule_api \
sdk/lint \
sdk/sdkstats \
sdk/sdkmanager \
sdk/swtmenubar \
sdk/traceview \
development/apps \
development/tools/mkstubs \
packages
else
$(warning SDK_ONLY: javac not available.)
endif
include $(TOPDIR)sdk/build/sdk_only_whitelist.mk
include $(TOPDIR)development/build/sdk_only_whitelist.mk
# Exclude tools/acp when cross-compiling windows under linux
ifeq ($(findstring Linux,$(UNAME)),)