Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 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 | # - This file: sdk/build/sdk_only_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/sdk_only_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 | |
| 28 | subdirs += \ |
| 29 | external/qemu \ |
| 30 | prebuilts/tools \ |
| 31 | sdk/avdlauncher \ |
| 32 | sdk/emulator/mksdcard \ |
Jesse Hall | ce6c338 | 2012-04-16 12:49:39 -0700 | [diff] [blame] | 33 | sdk/emulator/opengl \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 34 | sdk/find_java \ |
Raphael | b099a8c | 2012-02-01 15:06:44 -0800 | [diff] [blame] | 35 | sdk/find_lock \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 36 | sdk/sdklauncher |
| 37 | |
| 38 | # ----- |
| 39 | # Whitelist of SDK specific projects that DO require Java |
| 40 | |
| 41 | ifneq (,$(shell which javac 2>/dev/null)) |
| 42 | subdirs += \ |
Raphael Moll | 03ce80d | 2012-04-10 10:55:21 -0700 | [diff] [blame] | 43 | external/eclipse-windowbuilder/propertysheet \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 44 | sdk/archquery \ |
| 45 | sdk/androidprefs \ |
Xavier Ducrohet | 16234ae | 2012-01-27 12:01:27 -0800 | [diff] [blame] | 46 | sdk/annotations \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 47 | sdk/apkbuilder \ |
| 48 | sdk/assetstudio \ |
| 49 | sdk/common \ |
| 50 | sdk/ddms \ |
Raphael Moll | d9b2cbd | 2012-01-25 13:33:57 -0800 | [diff] [blame] | 51 | sdk/eclipse/scripts/rcp \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 52 | sdk/hierarchyviewer2 \ |
| 53 | sdk/ide_common \ |
| 54 | sdk/jarutils \ |
| 55 | sdk/layoutlib_api \ |
| 56 | sdk/manifmerger \ |
Raphael Moll | 5abe8b2 | 2012-03-30 15:50:45 -0700 | [diff] [blame^] | 57 | sdk/monitor \ |
Raphael Moll | 274f77f | 2012-01-26 15:10:33 -0800 | [diff] [blame] | 58 | sdk/ninepatch \ |
| 59 | sdk/rule_api \ |
| 60 | sdk/lint \ |
| 61 | sdk/sdkstats \ |
| 62 | sdk/sdkmanager \ |
| 63 | sdk/swtmenubar \ |
| 64 | sdk/traceview |
| 65 | |
| 66 | else |
| 67 | $(warning SDK_ONLY: javac not available.) |
| 68 | endif |