blob: 8d6ac8fb72779aa3673bf412315237a35a9a2c47 [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#
Raphael Moll645a29c2013-03-13 15:29:55 -070016# - The other file: sdk/build/windows_sdk_whitelist.mk
Raphael Moll2b53ba52012-01-26 15:09:14 -080017# 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#
Raphael Moll645a29c2013-03-13 15:29:55 -070020# - This file: development/build/windows_sdk_whitelist.mk
Raphael Moll2b53ba52012-01-26 15:09:14 -080021# 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 \
Raphael Moll2b53ba52012-01-26 15:09:14 -080040 external/clang \
41 external/easymock \
42 external/expat \
43 external/libpng \
44 external/llvm \
45 external/sqlite/dist \
46 external/zlib \
47 frameworks/base \
48 frameworks/compile \
Ying Wang06f3f542012-03-09 10:04:22 -080049 frameworks/native \
Stephen Hines4483ade2013-07-30 16:47:56 -070050 frameworks/rs \
Raphael Moll2b53ba52012-01-26 15:09:14 -080051 system/core/adb \
52 system/core/fastboot \
53 system/core/libcutils \
54 system/core/liblog \
Colin Crossc52fe382012-06-08 18:06:38 -070055 system/core/libsparse \
Raphael Moll0a94feb2012-02-06 11:13:41 -080056 system/core/libzipfile \
57 system/extras/ext4_utils
Raphael Moll2b53ba52012-01-26 15:09:14 -080058
59# -----
60# Whitelist of platform specific projects that DO require Java
61
62ifneq (,$(shell which javac 2>/dev/null))
63subdirs += \
64 build/tools/signapk \
65 dalvik/dx \
66 libcore \
67 development/apps \
68 development/tools/mkstubs \
Raphael Mollcea9fb72013-07-22 12:45:59 -070069 frameworks/compile/libbcc \
Raphael Moll2b53ba52012-01-26 15:09:14 -080070 packages
71
72else
73$(warning SDK_ONLY: javac not available.)
74endif