blob: bf04360f08c8afe0d6eff8ad029d22f6f1c3dcea [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 \
Adam Lesinski42aa7932014-10-20 16:09:56 -070043 external/gtest \
Stephen Hinesd7d603f2014-04-25 17:56:08 -070044 external/libcxx \
45 external/libcxxabi \
46 external/compiler-rt \
Raphael Moll2b53ba52012-01-26 15:09:14 -080047 external/libpng \
48 external/llvm \
Leandro Gracia Gil653fe8e2014-07-28 15:25:41 -070049 external/protobuf \
Raphael Moll2b53ba52012-01-26 15:09:14 -080050 external/sqlite/dist \
51 external/zlib \
Ying Wang43918532014-07-11 11:16:32 -070052 external/zopfli \
Raphael Moll2b53ba52012-01-26 15:09:14 -080053 frameworks/base \
54 frameworks/compile \
Ying Wang06f3f542012-03-09 10:04:22 -080055 frameworks/native \
Stephen Hines4483ade2013-07-30 16:47:56 -070056 frameworks/rs \
Mike Lockwoodcd104582013-08-29 08:38:13 -070057 frameworks/tools \
Raphael Moll2b53ba52012-01-26 15:09:14 -080058 system/core/adb \
Dan Albert23c2bb52015-03-19 22:40:12 -070059 system/core/base \
Raphael Moll2b53ba52012-01-26 15:09:14 -080060 system/core/fastboot \
61 system/core/libcutils \
62 system/core/liblog \
Colin Crossc52fe382012-06-08 18:06:38 -070063 system/core/libsparse \
Narayan Kamatha4ea4f12013-12-11 14:20:33 +000064 system/core/libziparchive \
Alex Ray8228c4e2013-08-02 11:26:03 -070065 system/core/libutils \
Raphael Moll0a94feb2012-02-06 11:13:41 -080066 system/extras/ext4_utils
Raphael Moll2b53ba52012-01-26 15:09:14 -080067
68# -----
69# Whitelist of platform specific projects that DO require Java
70
71ifneq (,$(shell which javac 2>/dev/null))
72subdirs += \
73 build/tools/signapk \
74 dalvik/dx \
75 libcore \
76 development/apps \
77 development/tools/mkstubs \
Raphael Moll2fdc05f2013-07-22 12:45:59 -070078 frameworks/compile/libbcc \
Raphael Moll2b53ba52012-01-26 15:09:14 -080079 packages
80
81else
82$(warning SDK_ONLY: javac not available.)
83endif