• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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# - The other 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# - This 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 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 \
40	external/clang \
41	external/easymock \
42	external/expat \
43	external/gtest \
44	external/libcxx \
45	external/libcxxabi \
46	external/compiler-rt \
47	external/libpng \
48	external/llvm \
49	external/protobuf \
50	external/sqlite/dist \
51	external/zlib \
52	external/zopfli \
53	frameworks/base \
54	frameworks/compile \
55	frameworks/native \
56	frameworks/rs \
57	frameworks/tools \
58	system/core/adb \
59	system/core/base \
60	system/core/fastboot \
61	system/core/libcutils \
62	system/core/liblog \
63	system/core/libsparse \
64	system/core/libziparchive \
65	system/core/libutils \
66	system/extras/ext4_utils
67
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 \
78	frameworks/compile/libbcc \
79	packages
80
81else
82$(warning SDK_ONLY: javac not available.)
83endif
84