blob: ea29f11f7a9836c57815ad7131e9ff4e67900e16 [file] [log] [blame]
Raphael Mollbc982e52013-03-12 13:20:59 -07001# 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# - This file: sdk/build/windows_sdk_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# - The other file: development/build/windows_sdk_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 SDK specific projects that do NOT need Java (e.g. C libraries)
27
28subdirs += \
29 external/openssl \
Xavier Ducrohet1130ca42014-05-09 10:49:38 -070030# external/qemu \
31# prebuilts/tools \
32# sdk/avdlauncher \
33# sdk/emulator/mksdcard \
34# sdk/emulator/opengl \
35# sdk/find_java \
36# sdk/find_lock \
37# sdk/sdklauncher
Raphael Mollbc982e52013-03-12 13:20:59 -070038
39# -----
40# Whitelist of SDK specific projects that DO require Java
41
42ifneq (,$(shell which javac 2>/dev/null))
43subdirs += \
Xavier Ducrohet1130ca42014-05-09 10:49:38 -070044# external/ant-glob \
45# external/eclipse-windowbuilder/propertysheet \
46# external/hamcrest \
47# external/junit \
48# sdk/apkbuilder \
49# sdk/eclipse/scripts/rcp \
50# sdk/testutils
Raphael Mollbc982e52013-03-12 13:20:59 -070051
52else
53$(warning SDK_ONLY: javac not available.)
54endif