aboutsummaryrefslogtreecommitdiffstats
path: root/build/sdk_only_whitelist.mk
blob: f8451f0809b3e09a28caeafab1bc359e88a8a8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Whitelist of SDK projects that can be built for the SDK on Windows

# The Windows SDK cannot build all the projects from the SDK tree, typically
# due to obvious compiler/architectures differences. When building the Windows
# SDK, we only care about a subset of projects (e.g. generally the SDK tools
# and a few platform-specific binaries.)
#
# This file defines a whitelist of projects that can be built in the Windows
# SDK case. Note that whitelisting a project directory will NOT actually build
# it -- it will only allow one to reference it as a make dependency.
#
# This file is included by build/core/main.mk.

# Note that there are 2 flavors of this file:
#
# - This file: sdk/build/sdk_only_whitelist.mk
#   must list all projects that are that are NOT specific to a given platform.
#   These binaries are the ones typically found in the SDK/tools directory.
#
# - The other file: development/build/sdk_only_whitelist.mk
#   must list all projects that are specific to a given platform. These
#   projects generate files that are generally locates in SDK/platform-tools,
#   or SDK/platforms/, etc.

# -----
# Whitelist of SDK specific projects that do NOT need Java (e.g. C libraries)

subdirs += \
	external/openssl \
	external/qemu \
	prebuilts/tools \
	sdk/avdlauncher \
	sdk/emulator/mksdcard \
	sdk/emulator/opengl \
	sdk/find_java \
	sdk/find_lock \
	sdk/sdklauncher

# -----
# Whitelist of SDK specific projects that DO require Java

ifneq (,$(shell which javac 2>/dev/null))
subdirs += \
	external/eclipse-windowbuilder/propertysheet \
	external/ant-glob \
	sdk/archquery \
	sdk/annotations \
	sdk/apkbuilder \
	sdk/assetstudio \
	sdk/common \
	sdk/ddms \
	sdk/device_validator \
	sdk/eclipse/scripts/rcp \
	sdk/hierarchyviewer2 \
	sdk/sdk_common \
	sdk/jarutils \
	sdk/layoutlib_api \
	sdk/manifmerger \
	sdk/monitor \
	sdk/ninepatch \
	sdk/rule_api \
	sdk/lint \
	sdk/sdkstats \
	sdk/sdkmanager \
	sdk/swtmenubar \
	sdk/testutils \
	sdk/traceview \
	sdk/uiautomatorviewer

else
$(warning SDK_ONLY: javac not available.)
endif