blob: d91dde5d11f2f3d3b4a9e17abbc0851e0aab9cc4 [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 \
49 external/sqlite/dist \
50 external/zlib \
Ying Wang43918532014-07-11 11:16:32 -070051 external/zopfli \
Raphael Moll2b53ba52012-01-26 15:09:14 -080052 frameworks/base \
53 frameworks/compile \
Ying Wang06f3f542012-03-09 10:04:22 -080054 frameworks/native \
Stephen Hines4483ade2013-07-30 16:47:56 -070055 frameworks/rs \
Mike Lockwoodcd104582013-08-29 08:38:13 -070056 frameworks/tools \
Raphael Moll2b53ba52012-01-26 15:09:14 -080057 system/core/adb \
58 system/core/fastboot \
59 system/core/libcutils \
60 system/core/liblog \
Colin Crossc52fe382012-06-08 18:06:38 -070061 system/core/libsparse \
Narayan Kamatha4ea4f12013-12-11 14:20:33 +000062 system/core/libziparchive \
Raphael Moll0a94feb2012-02-06 11:13:41 -080063 system/core/libzipfile \
Alex Ray8228c4e2013-08-02 11:26:03 -070064 system/core/libutils \
Raphael Moll0a94feb2012-02-06 11:13:41 -080065 system/extras/ext4_utils
Raphael Moll2b53ba52012-01-26 15:09:14 -080066
67# -----
68# Whitelist of platform specific projects that DO require Java
69
70ifneq (,$(shell which javac 2>/dev/null))
71subdirs += \
72 build/tools/signapk \
73 dalvik/dx \
74 libcore \
75 development/apps \
76 development/tools/mkstubs \
Raphael Moll2fdc05f2013-07-22 12:45:59 -070077 frameworks/compile/libbcc \
Raphael Moll2b53ba52012-01-26 15:09:14 -080078 packages
79
80else
81$(warning SDK_ONLY: javac not available.)
82endif