blob: e5eea9d74c8aab9962ade56845e5f82e4aece873 [file] [log] [blame]
Raphael Moll2b53ba52012-01-26 15:09:14 -08001# Whitelist of SDK projects that can be built for the SDK on Windows
2
3# The Windows SDK cannot build all the projects from the SDK tree, typically
4# due to obvious compiler/architectures differences. When building the Windows
5# SDK, we only care about a subset of projects (e.g. generally the SDK tools
6# and a few platform-specific binaries.)
7#
8# This file defines a whitelist of projects that can be built in the Windows
9# SDK case. Note that whitelisting a project directory will NOT actually build
10# it -- it will only allow one to reference it as a make dependency.
11#
12# This file is included by build/core/main.mk.
13
14# Note that there are 2 flavors of this file:
15#
16# - The other file: sdk/build/sdk_only_whitelist.mk
17# must list all projects that are that are NOT specific to a given platform.
18# These binaries are the ones typically found in the SDK/tools directory.
19#
20# - This file: development/build/sdk_only_whitelist.mk
21# must list all projects that are specific to a given platform. These
22# projects generate files that are generally locates in SDK/platform-tools,
23# or SDK/platforms/, etc.
24
25# -----
26# Whitelist of platform specific projects that do NOT need Java (e.g. C libraries)
27
28subdirs += \
29 prebuilt \
30 prebuilts \
31 build/libs/host \
32 build/tools/zipalign \
33 dalvik/dexdump \
34 dalvik/libdex \
35 dalvik/tools/dmtracedump \
36 dalvik/tools/hprof-conv \
37 development/host \
38 development/tools/etc1tool \
39 development/tools/line_endings \
40 development/tools/emulator/opengl \
41 external/clang \
42 external/easymock \
43 external/expat \
44 external/libpng \
45 external/llvm \
46 external/sqlite/dist \
47 external/zlib \
48 frameworks/base \
49 frameworks/compile \
Ying Wang06f3f542012-03-09 10:04:22 -080050 frameworks/native \
Raphael Moll2b53ba52012-01-26 15:09:14 -080051 system/core/adb \
52 system/core/fastboot \
53 system/core/libcutils \
54 system/core/liblog \
Raphael Moll0a94feb2012-02-06 11:13:41 -080055 system/core/libzipfile \
56 system/extras/ext4_utils
Raphael Moll2b53ba52012-01-26 15:09:14 -080057
58# -----
59# Whitelist of platform specific projects that DO require Java
60
61ifneq (,$(shell which javac 2>/dev/null))
62subdirs += \
63 build/tools/signapk \
64 dalvik/dx \
65 libcore \
66 development/apps \
67 development/tools/mkstubs \
68 packages
69
70else
71$(warning SDK_ONLY: javac not available.)
72endif